Make OpenMP optional instead of default dependency

This commit is contained in:
Kodai Aoyama 2024-11-01 10:02:21 +09:00
parent 82679b0125
commit d51ee9967a
2 changed files with 1 additions and 5 deletions

View file

@ -72,9 +72,5 @@ jobs:
with:
toolchain: ${{ matrix.rust-version }}
- name: Install OpenMP
run: brew install libomp
if: contains(matrix.os, 'macos')
- name: Check build
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"
[features]
default = ["openmp"]
default = []
raw-api = []
coreml = ["whisper-rs-sys/coreml"]