Skip to content

Commit

Permalink
Fix expression
Browse files Browse the repository at this point in the history
  • Loading branch information
streamer45 committed Oct 29, 2024
1 parent 8585973 commit 34937cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/prepare_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ wget https://github.com/ggerganov/whisper.cpp/archive/refs/tags/v${WHISPER_VERSI
echo "${WHISPER_SHA} v${WHISPER_VERSION}.tar.gz" | sha256sum --check && \
tar xf v${WHISPER_VERSION}.tar.gz && \
cd whisper.cpp-${WHISPER_VERSION} && \
if [ "$TARGET_ARCH" == "amd64" ] && [ "$IS_BUILD" == "true" ]; then echo "Patching Whisper.CPP Makefile to control CPU extensions" && patch -p1 Makefile /src/build/whisper.patch; fi && \
([[ "$TARGET_ARCH" == "amd64" ]] && [[ "$IS_BUILD" == "true" ]] && echo "Patching Whisper.CPP Makefile" && patch -p1 Makefile /src/build/whisper.patch) || true && \
for model in ${MODELS}; do ./models/download-ggml-model.sh "${model}"; done && \
make -j4 libwhisper.a UNAME_M=${UNAME_M} && \
cd /tmp && \
Expand Down

0 comments on commit 34937cd

Please sign in to comment.