From c043ee3de9492b5dad2ead67ae4e5f929d24c321 Mon Sep 17 00:00:00 2001 From: wudidapaopao Date: Wed, 25 Jun 2025 11:03:30 +0800 Subject: [PATCH] fix: fix crash on macos x86 platform --- .github/workflows/build_macos_x86_wheels.yml | 5 +++++ chdb/build.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_macos_x86_wheels.yml b/.github/workflows/build_macos_x86_wheels.yml index ebb0f3bc89a..e76655a97cb 100644 --- a/.github/workflows/build_macos_x86_wheels.yml +++ b/.github/workflows/build_macos_x86_wheels.yml @@ -13,6 +13,11 @@ on: - main paths-ignore: - '**/*.md' + pull_request: + branches: + - main + paths-ignore: + - '**/*.md' jobs: build_wheels_macos_13: diff --git a/chdb/build.sh b/chdb/build.sh index 96e378c2412..853d67542d3 100755 --- a/chdb/build.sh +++ b/chdb/build.sh @@ -31,7 +31,7 @@ if [ "$(uname)" == "Darwin" ]; then CPU_FEATURES="-DENABLE_AVX=0 -DENABLE_AVX2=0" LLVM="-DENABLE_EMBEDDED_COMPILER=0 -DENABLE_DWARF_PARSER=0" else - LLVM="-DENABLE_EMBEDDED_COMPILER=1 -DENABLE_DWARF_PARSER=1" + LLVM="-DENABLE_EMBEDDED_COMPILER=0 -DENABLE_DWARF_PARSER=0" # disable AVX on Darwin for macos11 if [ "$(sw_vers -productVersion | cut -d. -f1)" -le 11 ]; then CPU_FEATURES="-DENABLE_AVX=0 -DENABLE_AVX2=0"