Download patches/tikv-jemalloc-sys_dependency_flags.patch from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 1.51 kB
-
https://huggingface.co/SaylorTwift/codex/resolve/main/patches/tikv-jemalloc-sys_dependency_flags.patch
- Command line
-
hf download hf://SaylorTwift/codex/patches/tikv-jemalloc-sys_dependency_flags.patch
-
curl -L -o tikv-jemalloc-sys_dependency_flags.patch https://huggingface.co/SaylorTwift/codex/resolve/main/patches/tikv-jemalloc-sys_dependency_flags.patch
1.51 kB
| diff --git a/jemalloc/Makefile.in b/jemalloc/Makefile.in | |
| --- a/jemalloc/Makefile.in | |
| +++ b/jemalloc/Makefile.in | |
| @mkdir -p $(@D) | |
| $(CC) $(CFLAGS) -c $(CPPFLAGS) $(CTARGET) $< | |
| ifdef CC_MM | |
| - @$(CC) -MM $(CPPFLAGS) -MT $@ -o $(@:%.$(O)=%.d) $< | |
| + @$(CC) $(CFLAGS) -MM $(CPPFLAGS) -MT $@ -o $(@:%.$(O)=%.d) $< | |
| endif | |
| $(C_SYMS): %.sym: | |
| @mkdir -p $(@D) | |
| $(CXX) $(CXXFLAGS) -c $(CPPFLAGS) $(CTARGET) $< | |
| ifdef CC_MM | |
| - @$(CXX) -MM $(CPPFLAGS) -MT $@ -o $(@:%.$(O)=%.d) $< | |
| + @$(CXX) $(CXXFLAGS) -MM $(CPPFLAGS) -MT $@ -o $(@:%.$(O)=%.d) $< | |
| endif | |
| ifneq ($(SOREV),$(SO)) | |
| @mkdir -p $(@D) | |
| $(CC) $(CFLAGS) -c $(CPPFLAGS) -DJEMALLOC_STRESS_TEST -I$(srcroot)test/include -I$(objroot)test/include $(CTARGET) $< | |
| ifdef CC_MM | |
| - @$(CC) -MM $(CPPFLAGS) -DJEMALLOC_STRESS_TEST -I$(srcroot)test/include -I$(objroot)test/include -MT $@ -o $(@:%.$(O)=%.d) $< | |
| + @$(CC) $(CFLAGS) -MM $(CPPFLAGS) -DJEMALLOC_STRESS_TEST -I$(srcroot)test/include -I$(objroot)test/include -MT $@ -o $(@:%.$(O)=%.d) $< | |
| endif | |
| $(objroot)test/stress/pa/%.$(O): $(srcroot)test/stress/pa/%.cpp | |
| @mkdir -p $(@D) | |
| $(CXX) $(CXXFLAGS) -c $(CPPFLAGS) -I$(srcroot)test/include -I$(objroot)test/include $(CTARGET) $< | |
| ifdef CC_MM | |
| - @$(CXX) -MM $(CPPFLAGS) -I$(srcroot)test/include -I$(objroot)test/include -MT $@ -o $(@:%.$(O)=%.d) $< | |
| + @$(CXX) $(CXXFLAGS) -MM $(CPPFLAGS) -I$(srcroot)test/include -I$(objroot)test/include -MT $@ -o $(@:%.$(O)=%.d) $< | |
| endif | |
| build_lib_shared: $(DSOS) | |