Make OpenMP optional instead of default dependency
This commit is contained in:
parent
82679b0125
commit
d51ee9967a
2 changed files with 1 additions and 5 deletions
4
.github/workflows/pr.yml
vendored
4
.github/workflows/pr.yml
vendored
|
|
@ -72,9 +72,5 @@ jobs:
|
||||||
with:
|
with:
|
||||||
toolchain: ${{ matrix.rust-version }}
|
toolchain: ${{ matrix.rust-version }}
|
||||||
|
|
||||||
- name: Install OpenMP
|
|
||||||
run: brew install libomp
|
|
||||||
if: contains(matrix.os, 'macos')
|
|
||||||
|
|
||||||
- name: Check build
|
- name: Check build
|
||||||
run: cargo build -F whisper-cpp-log,whisper-cpp-tracing --verbose --examples
|
run: cargo build -F whisper-cpp-log,whisper-cpp-tracing --verbose --examples
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ hound = "3.5.0"
|
||||||
rand = "0.8.4"
|
rand = "0.8.4"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["openmp"]
|
default = []
|
||||||
|
|
||||||
raw-api = []
|
raw-api = []
|
||||||
coreml = ["whisper-rs-sys/coreml"]
|
coreml = ["whisper-rs-sys/coreml"]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue