Merge pull request #184 from solaoi/fix/make-openmp-optional

Make OpenMP optional instead of default dependency
This commit is contained in:
Niko 2024-11-01 01:30:38 +00:00 committed by GitHub
commit dd0c3af408
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 5 deletions

View file

@ -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

View file

@ -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"]