File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -335,13 +335,16 @@ grammar-parser.o: examples/grammar-parser.cpp examples/grammar-parser.h
335
335
$(CXX ) $(CXXFLAGS ) -c $< -o $@
336
336
expose.o : expose.cpp expose.h
337
337
$(CXX ) $(CXXFLAGS ) -c $< -o $@
338
- gpttype_adapter_failsafe.o : gpttype_adapter.cpp
338
+
339
+ # idiotic "for easier compilation"
340
+ GPTTYPE_ADAPTER = gpttype_adapter.cpp otherarch/llama_v2.cpp llama.cpp otherarch/utils.cpp otherarch/gptj_v1.cpp otherarch/gptj_v2.cpp otherarch/gptj_v3.cpp otherarch/gpt2_v1.cpp otherarch/gpt2_v2.cpp otherarch/gpt2_v3.cpp otherarch/rwkv_v2.cpp otherarch/rwkv_v3.cpp otherarch/neox_v2.cpp otherarch/neox_v3.cpp otherarch/mpt_v3.cpp ggml.h ggml-cuda.h llama.h llama-util.h
341
+ gpttype_adapter_failsafe.o : $(GPTTYPE_ADAPTER )
339
342
$(CXX ) $(CXXFLAGS ) $(FAILSAFE_FLAGS ) -c $< -o $@
340
- gpttype_adapter.o : gpttype_adapter.cpp
343
+ gpttype_adapter.o : $( GPTTYPE_ADAPTER )
341
344
$(CXX ) $(CXXFLAGS ) -c $< -o $@
342
- gpttype_adapter_clblast.o : gpttype_adapter.cpp
345
+ gpttype_adapter_clblast.o : $( GPTTYPE_ADAPTER )
343
346
$(CXX ) $(CXXFLAGS ) $(CLBLAST_FLAGS ) -c $< -o $@
344
- gpttype_adapter_cublas.o : gpttype_adapter.cpp
347
+ gpttype_adapter_cublas.o : $( GPTTYPE_ADAPTER )
345
348
$(CXX ) $(CXXFLAGS ) $(CUBLAS_FLAGS ) -c $< -o $@
346
349
347
350
clean :
You can’t perform that action at this time.
0 commit comments