File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 CIBW_BEFORE_BUILD : >-
3939 rm -rf {package}/build
4040 CIBW_BEFORE_BUILD_MACOS : >-
41- brew install libomp
41+ git clone https://github.com/llvm/llvm-project.git &&
42+ cd llvm-project/openmp &&
43+ mkdir build &&
44+ cd build &&
45+ cmake -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ .. &&
46+ make &&
47+ sudo make install
4248 CIBW_SKIP : " *-musllinux_aarch64"
4349 strategy :
4450 matrix :
5864
5965 - name : Build wheels
6066 uses : pypa/cibuildwheel@v2.22.0
61- env :
62- MACOSX_DEPLOYMENT_TARGET : 14.0
6367
6468 - uses : actions/upload-artifact@v4
6569 with :
Original file line number Diff line number Diff line change 1212os_name = platform .system ()
1313processor_name = platform .processor ()
1414
15- LIBOMP_PATH_ARM = "/opt/homebrew/opt/libomp "
16- LIBOMP_PATH_X86 = "/usr/local/opt/libomp "
15+ LIBOMP_PATH_ARM = "/usr/local "
16+ LIBOMP_PATH_X86 = "/usr/local"
1717
1818if os_name == "Windows" :
1919 extra_compile_args = ["/openmp" ]
You can’t perform that action at this time.
0 commit comments