mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	Call sh on build-info.sh (#1294)
This commit is contained in:
		
							
								
								
									
										2
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								Makefile
									
									
									
									
									
								
							| @@ -213,7 +213,7 @@ save-load-state: examples/save-load-state/save-load-state.cpp build-info.h ggml. | |||||||
| 	$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS) | 	$(CXX) $(CXXFLAGS) $(filter-out %.h,$^) -o $@ $(LDFLAGS) | ||||||
|  |  | ||||||
| build-info.h: $(wildcard .git/index) scripts/build-info.sh | build-info.h: $(wildcard .git/index) scripts/build-info.sh | ||||||
| 	@scripts/build-info.sh > $@.tmp | 	@sh scripts/build-info.sh > $@.tmp | ||||||
| 	@if ! cmp -s $@.tmp $@; then \ | 	@if ! cmp -s $@.tmp $@; then \ | ||||||
| 		mv $@.tmp $@; \ | 		mv $@.tmp $@; \ | ||||||
| 	else \ | 	else \ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 DannyDaemonic
					DannyDaemonic