Skip to content

Commit

Permalink
Make OpenMP optional instead of default dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
solaoi committed Nov 1, 2024
1 parent 82679b0 commit d51ee99
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ hound = "3.5.0"
rand = "0.8.4"

[features]
default = ["openmp"]
default = []

raw-api = []
coreml = ["whisper-rs-sys/coreml"]
Expand Down

0 comments on commit d51ee99

Please sign in to comment.