From 47a15115ae3975ee5f455c3d223d30b75dec2a94 Mon Sep 17 00:00:00 2001 From: ColinLee Date: Thu, 16 Jul 2026 16:05:11 +0800 Subject: [PATCH] C++: enable SIMD by default --- cpp/CLAUDE.md | 2 +- cpp/CMakeLists.txt | 2 +- cpp/pom.xml | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/CLAUDE.md b/cpp/CLAUDE.md index 674771759e..5ae5bbd2ec 100644 --- a/cpp/CLAUDE.md +++ b/cpp/CLAUDE.md @@ -64,7 +64,7 @@ All `ON` by default unless noted: | `ENABLE_SNAPPY` / `ENABLE_LZ4` / `ENABLE_LZOKAY` / `ENABLE_ZLIB` | Compression libraries | | `ENABLE_THREADS` | Multi-threaded read/write via pthreads | | `ENABLE_ASAN` | AddressSanitizer (`OFF` by default) | -| `ENABLE_SIMDE` | SIMD Everywhere (`OFF` by default) | +| `ENABLE_SIMD` | SIMD acceleration | ## Source Structure diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 75cc55a4fc..5b5fe52491 100755 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -256,7 +256,7 @@ if (ENABLE_THREADS) link_libraries(Threads::Threads) endif() -option(ENABLE_SIMD "Enable SIMDe (SIMD Everywhere)" OFF) +option(ENABLE_SIMD "Enable SIMD acceleration" ON) message("cmake using: ENABLE_SIMD=${ENABLE_SIMD}") if (ENABLE_SIMD) diff --git a/cpp/pom.xml b/cpp/pom.xml index 153e75dc21..c4ea285d47 100644 --- a/cpp/pom.xml +++ b/cpp/pom.xml @@ -40,7 +40,7 @@ ON ON ON - OFF + ON ${project.basedir} @@ -87,7 +87,7 @@ - +