Skip to content

Commit 9fb86b5

Browse files
authored
Disable AVX2 by default
1 parent 0b97de3 commit 9fb86b5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

chdb/build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ elif [ "$(uname)" == "Linux" ]; then
5757
PYINIT_ENTRY="-Wl,-ePyInit_${CHDB_PY_MOD}"
5858
ICU="-DENABLE_ICU=1"
5959
SED_INPLACE="sed -i"
60-
# only x86_64, enable AVX and AVX2, enable embedded compiler
60+
# only x86_64, enable AVX, enable embedded compiler
6161
if [ "$(uname -m)" == "x86_64" ]; then
62-
CPU_FEATURES="-DENABLE_AVX=1 -DENABLE_AVX2=1"
62+
CPU_FEATURES="-DENABLE_AVX=1 -DENABLE_AVX2=0"
6363
LLVM="-DENABLE_EMBEDDED_COMPILER=1 -DENABLE_DWARF_PARSER=1"
6464
else
6565
CPU_FEATURES="-DENABLE_AVX=0 -DENABLE_AVX2=0 -DNO_ARMV81_OR_HIGHER=1"

0 commit comments

Comments
 (0)