Skip to content

Commit

Permalink
Update build.rs
Browse files Browse the repository at this point in the history
Drop SIMD
  • Loading branch information
kazuki0824 authored Nov 21, 2023
1 parent 0aabc43 commit 7d4ea7e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions b25-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ fn prep_cmake() -> cmake::Config {
let mut cm = cmake::Config::new("./externals/libaribb25");
cm.very_verbose(true);

// Enable AVX2 for x64
// Disable AVX2 for x64
// NEON SIMD is also supported, but not all ARM SoCs support it, so build without it.
if cfg!(target_arch = "x86_64") {
cm.define("USE_AVX2", "ON");
}
cm.define("USE_AVX2", "OFF");

if cfg!(windows) {
if cfg!(target_env = "gnullvm") {
Expand Down

0 comments on commit 7d4ea7e

Please sign in to comment.