From d51ee9967a91d5a01069d28e5d704ae452b5df17 Mon Sep 17 00:00:00 2001 From: Kodai Aoyama Date: Fri, 1 Nov 2024 10:02:21 +0900 Subject: [PATCH] Make OpenMP optional instead of default dependency --- .github/workflows/pr.yml | 4 ---- Cargo.toml | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 448fffb..43a8abf 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index a555a8c..c7a6c45 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ hound = "3.5.0" rand = "0.8.4" [features] -default = ["openmp"] +default = [] raw-api = [] coreml = ["whisper-rs-sys/coreml"]