Skip to content

Commit fda3c49

Browse files
author
Daniele Briggi
committed
fix(makefile): build before submodules but not trigger rebuild
1 parent a5f859d commit fda3c49

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -165,17 +165,17 @@ test: $(TARGET)
165165
$(SQLITE3) ":memory:" -cmd ".bail on" ".load ./dist/ai" "SELECT ai_version();"
166166

167167
# Build submodules (only after successful compilation)
168-
build/llama.cpp.stamp: compile
168+
build/llama.cpp.stamp: | compile
169169
cmake -B $(BUILD_LLAMA) $(LLAMA_OPTIONS) $(LLAMA_DIR)
170170
cmake --build $(BUILD_LLAMA) --config Release -- -j$(CPUS)
171171
touch $@
172172

173-
build/whisper.cpp.stamp: compile
173+
build/whisper.cpp.stamp: | compile
174174
cmake -B $(BUILD_WHISPER) $(WHISPER_OPTIONS) $(WHISPER_DIR)
175175
cmake --build $(BUILD_WHISPER) --config Release -- -j$(CPUS)
176176
touch $@
177177

178-
build/miniaudio.stamp: compile
178+
build/miniaudio.stamp: | compile
179179
cmake -B $(BUILD_MINIAUDIO) -DMINIAUDIO_BUILD_EXAMPLES=OFF -DMINIAUDIO_BUILD_TESTS=OFF $(MINIAUDIO_DIR)
180180
cmake --build $(BUILD_MINIAUDIO) --config Release -- -j$(CPUS)
181181
touch $@

0 commit comments

Comments
 (0)