81
81
cmake --build openmp_build --target install --config Release
82
82
83
83
- name : Install cibuildwheel
84
- run : python -m pip install cibuildwheel==2.21.2
84
+ run : python -m pip install cibuildwheel==2.21.3
85
85
86
86
- name : Build wheels
87
87
run : python -m cibuildwheel --output-dir wheelhouse
90
90
CIBW_TEST_COMMAND : pytest {project}/tests && python -c "from sparse_dot_topn import _has_openmp_support;assert _has_openmp_support"
91
91
# only build for arm; x86_64 wheels are build seperately
92
92
CIBW_ARCHS_MACOS : " arm64"
93
- CIBW_ENVIRONMENT_MACOS : PATH="$HOME/.local/:$PATH" MACOSX_DEPLOYMENT_TARGET=" 12.0" DYLD_LIBRARY_PATH="$HOME/.local/libomp/lib" CMAKE_ARGS="-DSDTN_ENABLE_ARCH_FLAGS=OFF -DSDTN_ENABLE_OPENMP=ON -DSDTN_DISABLE_OPENMP=OFF -DOpenMP_ROOT=$HOME/.local/libomp"
93
+ CIBW_ENVIRONMENT_MACOS : PATH="$HOME/.local/:$PATH" MACOSX_DEPLOYMENT_TARGET=12.0 DYLD_LIBRARY_PATH="$HOME/.local/libomp/lib" CMAKE_ARGS="-DSDTN_ENABLE_ARCH_FLAGS=OFF -DSDTN_VENDOR_OPENMP=ON -DSDTN_ENABLE_OPENMP=ON -DSDTN_DISABLE_OPENMP=OFF -DOpenMP_ROOT=$HOME/.local/libomp"
94
94
95
95
- name : Verify clean directory
96
96
run : git diff --exit-code
@@ -123,7 +123,7 @@ jobs:
123
123
- name : Clone OpenMP repo
124
124
if : steps.clone-openmp.outputs.cache-hit != 'true'
125
125
run : |
126
- git clone --depth 1 --branch llvmorg-17.0.6 https://github.com/llvm/llvm-project
126
+ git clone --depth 1 --branch llvmorg-19.1.1 https://github.com/llvm/llvm-project
127
127
128
128
- name : Build OpenMP
129
129
shell : bash
@@ -141,11 +141,11 @@ jobs:
141
141
-DCMAKE_INSTALL_PREFIX="/usr/local"
142
142
cmake --build openmp_build --target install --config Release
143
143
144
- - uses : pypa/cibuildwheel@v2.21.2
144
+ - uses : pypa/cibuildwheel@v2.21.3
145
145
env :
146
146
# only build for x86_64, arm wheels are build seperately
147
147
CIBW_ARCHS : " x86_64"
148
- CIBW_ENVIRONMENT_MACOS : MACOSX_DEPLOYMENT_TARGET=" 12.0" CMAKE_ARGS="-DSDTN_ENABLE_ARCH_FLAGS=OFF -DSDTN_ENABLE_OPENMP=ON -DSDTN_DISABLE_OPENMP=OFF -DOpenMP_ROOT=/usr/local"
148
+ CIBW_ENVIRONMENT_MACOS : MACOSX_DEPLOYMENT_TARGET=12.0 CMAKE_ARGS="-DSDTN_ENABLE_ARCH_FLAGS=OFF -DSDTN_VENDOR_OPENMP=ON -DSDTN_ENABLE_OPENMP=ON -DSDTN_DISABLE_OPENMP=OFF -DOpenMP_ROOT=/usr/local"
149
149
150
150
- name : Verify clean directory
151
151
run : git diff --exit-code
0 commit comments