diff --git a/chdb/build.sh b/chdb/build.sh index 329a9fa2fe1..958fd710216 100755 --- a/chdb/build.sh +++ b/chdb/build.sh @@ -43,7 +43,7 @@ elif [ "$(uname)" == "Linux" ]; then GLIBC_COMPATIBILITY="-DGLIBC_COMPATIBILITY=1" UNWIND="-DUSE_UNWIND=1" PYINIT_ENTRY="-Wl,-ePyInit_${CHDB_PY_MOD}" - AVX_SUPPORT="-DENABLE_AVX=1 -DENABLE_AVX2=1" + AVX_SUPPORT="-DENABLE_AVX=1 -DENABLE_AVX2=0" EMBEDDED_COMPILER="-DENABLE_EMBEDDED_COMPILER=1" else echo "OS not supported" diff --git a/src/Common/setThreadName.cpp b/src/Common/setThreadName.cpp index a8c1f001dcc..5e2177d450a 100644 --- a/src/Common/setThreadName.cpp +++ b/src/Common/setThreadName.cpp @@ -45,7 +45,7 @@ void setThreadName(const char * name) #else if (0 != prctl(PR_SET_NAME, name, 0, 0, 0)) #endif - DB::throwFromErrno("Cannot set thread name with prctl(PR_SET_NAME, ...)", DB::ErrorCodes::PTHREAD_ERROR); +// DB::throwFromErrno("Cannot set thread name with prctl(PR_SET_NAME, ...)", DB::ErrorCodes::PTHREAD_ERROR); memcpy(thread_name, name, 1 + strlen(name)); }