From 3dc934011e0e8233d877550269573e1510d271e5 Mon Sep 17 00:00:00 2001 From: Meng Zhang Date: Fri, 26 May 2023 12:31:37 -0700 Subject: [PATCH] remove submodule rust-cxx-cmake-bridge --- crates/ctranslate2-bindings/build.rs | 2 ++ crates/rust-cxx-cmake-bridge | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 160000 crates/rust-cxx-cmake-bridge diff --git a/crates/ctranslate2-bindings/build.rs b/crates/ctranslate2-bindings/build.rs index 2d8fa26c0ea3..31cd6e0e54fc 100644 --- a/crates/ctranslate2-bindings/build.rs +++ b/crates/ctranslate2-bindings/build.rs @@ -16,6 +16,8 @@ fn main() { .define("WITH_MKL", "OFF") .define("OPENMP_RUNTIME", "NONE") .define("WITH_RUY", "ON"); + + println!("cargo:rustc-link-lib=framework=Accelerate") } else if cfg!(target_os = "linux") { config .define("WITH_CUDA", "ON") diff --git a/crates/rust-cxx-cmake-bridge b/crates/rust-cxx-cmake-bridge deleted file mode 160000 index 2236064d88a1..000000000000 --- a/crates/rust-cxx-cmake-bridge +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 2236064d88a1e72897f77b2ecbeecab3402c4c6d