File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -96,15 +96,15 @@ jobs:
96
96
97
97
- name : Install SLEEF
98
98
env :
99
- MACOSX_DEPLOYMENT_TARGET : " 14.0"
99
+ MACOSX_DEPLOYMENT_TARGET : ${{ matrix.os == 'macos-13' && '13.0' || ' 14.0' }}
100
100
run : |
101
101
git clone --branch 3.8 https://github.com/shibatch/sleef.git
102
102
cd sleef
103
103
cmake -S . -B build \
104
104
-DSLEEF_BUILD_QUAD:BOOL=ON \
105
105
-DSLEEF_BUILD_SHARED_LIBS:BOOL=ON \
106
106
-DCMAKE_POSITION_INDEPENDENT_CODE=ON \
107
- -DCMAKE_OSX_DEPLOYMENT_TARGET=14.0 \
107
+ -DCMAKE_OSX_DEPLOYMENT_TARGET=${{ matrix.os == 'macos-13' && '13.0' || ' 14.0' }} \
108
108
-DCMAKE_INSTALL_RPATH="@loader_path/../lib" \
109
109
-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON
110
110
cmake --build build/ --clean-first -j
@@ -124,7 +124,7 @@ jobs:
124
124
CIBW_ARCHS_MACOS : ${{ matrix.os == 'macos-13' && 'x86_64' || 'arm64' }}
125
125
CIBW_BUILD_VERBOSITY : " 3"
126
126
CIBW_ENVIRONMENT : >
127
- MACOSX_DEPLOYMENT_TARGET="14.0"
127
+ MACOSX_DEPLOYMENT_TARGET="${{ matrix.os == 'macos-13' && '13.0' || ' 14.0' }} "
128
128
DYLD_LIBRARY_PATH="/usr/local/lib:$DYLD_LIBRARY_PATH"
129
129
CFLAGS="-I/usr/local/include -I{project}/numpy_quaddtype/QBLAS/include $CFLAGS"
130
130
CXXFLAGS="-I/usr/local/include -I{project}/numpy_quaddtype/QBLAS/include $CXXFLAGS"
You can’t perform that action at this time.
0 commit comments