This is an automated email from the ASF dual-hosted git repository.
ColinLeeo pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/tsfile.git
The following commit(s) were added to refs/heads/develop by this push:
new 466895099 C++: enable SIMD by default (#867)
466895099 is described below
commit 4668950997e57bf76a5914f4b1f8fd7a826010bb
Author: Colin Lee <[email protected]>
AuthorDate: Fri Jul 17 09:23:12 2026 +0800
C++: enable SIMD by default (#867)
---
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 674771759..5ae5bbd2e 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 75cc55a4f..5b5fe5249 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 153e75dc2..c4ea285d4 100644
--- a/cpp/pom.xml
+++ b/cpp/pom.xml
@@ -40,7 +40,7 @@
<enable.lzokay>ON</enable.lzokay>
<enable.zlib>ON</enable.zlib>
<enable.antlr4>ON</enable.antlr4>
- <enable.simde>OFF</enable.simde>
+ <enable.simd>ON</enable.simd>
</properties>
<build>
<sourceDirectory>${project.basedir}</sourceDirectory>
@@ -87,7 +87,7 @@
<option>-DENABLE_LZ4=${enable.lz4}</option>
<option>-DENABLE_LZOKAY=${enable.lzokay}</option>
<option>-DENABLE_ZLIB=${enable.zlib}</option>
- <option>-DENABLE_SIMDE=${enable.simde}</option>
+ <option>-DENABLE_SIMD=${enable.simd}</option>
<!--
The Visual Studio generator additionally
needs -DCMAKE_GENERATOR_PLATFORM (and