mirror of
https://github.com/chidiwilliams/buzz.git
synced 2026-03-14 22:55:46 +01:00
Build adjustment
This commit is contained in:
parent
5c94b1e888
commit
40c089a99c
1 changed files with 4 additions and 4 deletions
8
Makefile
8
Makefile
|
|
@ -31,20 +31,20 @@ endif
|
|||
|
||||
COVERAGE_THRESHOLD := 75
|
||||
|
||||
test: buzz/whisper_cpp translation_mo
|
||||
test: buzz/whisper_cpp
|
||||
pytest -s -vv --cov=buzz --cov-report=xml --cov-report=html --benchmark-skip --cov-fail-under=${COVERAGE_THRESHOLD} --cov-config=.coveragerc
|
||||
|
||||
benchmarks: buzz/whisper_cpp translation_mo
|
||||
benchmarks: buzz/whisper_cpp
|
||||
pytest -s -vv --benchmark-only --benchmark-json benchmarks.json
|
||||
|
||||
dist/Buzz dist/Buzz.app: buzz/whisper_cpp translation_mo
|
||||
dist/Buzz dist/Buzz.app: buzz/whisper_cpp
|
||||
pyinstaller --noconfirm Buzz.spec
|
||||
|
||||
version:
|
||||
poetry version ${version}
|
||||
echo "VERSION = \"${version}\"" > buzz/__version__.py
|
||||
|
||||
buzz/whisper_cpp:
|
||||
buzz/whisper_cpp: translation_mo
|
||||
ifeq ($(OS), Windows_NT)
|
||||
# Build Whisper with Vulkan support.
|
||||
# The _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR is needed to prevent mutex lock issues on Windows
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue