Skip to content

Commit 6c97282

Browse files
committed
debug static lib
1 parent 8ea32c4 commit 6c97282

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build_macos_x86_wheels.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,12 @@ jobs:
144144
continue-on-error: false
145145
- name: Run chdb/build/build_static_lib.sh
146146
run: |
147-
export PATH=$HOME/.pyenv/bin:$(brew --prefix llvm@19)/bin:$(brew --prefix lld@19)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin
147+
export PATH="$HOME/.pyenv/bin:$PATH"
148+
eval "$(pyenv init -)"
149+
source ~/.cargo/env
150+
export PATH=$(brew --prefix llvm@19)/bin:$(brew --prefix lld@19)/bin:/usr/local/opt/grep/libexec/gnubin:/usr/local/opt/binutils/bin:$PATH:/usr/local/opt/findutils/libexec/gnubin
148151
export CC=$(brew --prefix llvm@19)/bin/clang
149152
export CXX=$(brew --prefix llvm@19)/bin/clang++
150-
source ~/.cargo/env
151-
eval "$(pyenv init -)"
152153
pyenv shell 3.9
153154
bash ./chdb/build/build_static_lib.sh
154155
pyenv shell --unset

chdb/build/build_static_lib.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,9 @@ CMAKE_ARGS="-DCMAKE_BUILD_TYPE=${build_type} -DENABLE_THINLTO=0 -DENABLE_TESTS=0
7272
cmake ${CMAKE_ARGS} -DENABLE_PYTHON=0 -DCHDB_STATIC_LIBRARY_BUILD=1 ..
7373
ninja -d keeprsp -v 2>&1 | tee build.log || true
7474

75+
BINARY=${BUILD_DIR}/programs/clickhouse
76+
rm -f ${BINARY}
77+
7578
ccache -s || true
7679

7780
cd ${MY_DIR}

0 commit comments

Comments
 (0)