File tree Expand file tree Collapse file tree 4 files changed +12
-3
lines changed
Expand file tree Collapse file tree 4 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,9 @@ pip install cython numpy pandas wheel setuptools
1212wget https://files.mlpack.org/armadillo-11.4.1.tar.gz
1313tar -xvzpf armadillo-11.4.1.tar.gz
1414cd armadillo-11.4.1/
15- cmake -DCMAKE_INSTALL_PREFIX=/usr .
15+ cmake \
16+ -DCMAKE_INSTALL_PREFIX=/usr \
17+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .
1618make
1719make install
1820cd ../
Original file line number Diff line number Diff line change @@ -13,7 +13,9 @@ pip install cython numpy pandas wheel setuptools
1313wget https://files.mlpack.org/armadillo-11.4.1.tar.gz
1414tar -xvzpf armadillo-11.4.1.tar.gz
1515cd armadillo-11.4.1/
16- cmake -DCMAKE_INSTALL_PREFIX=/usr .
16+ cmake \
17+ -DCMAKE_INSTALL_PREFIX=/usr \
18+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .
1719make
1820make install
1921cd ../
Original file line number Diff line number Diff line change @@ -14,7 +14,10 @@ pip install cython numpy pandas wheel setuptools
1414wget https://files.mlpack.org/armadillo-11.4.1.tar.gz
1515tar -xvzpf armadillo-11.4.1.tar.gz
1616cd armadillo-11.4.1/
17- cmake -DCMAKE_INSTALL_PREFIX=/usr -DOPENBLAS_PROVIDES_LAPACK=true .
17+ cmake \
18+ -DCMAKE_INSTALL_PREFIX=/usr \
19+ -DOPENBLAS_PROVIDES_LAPACK=true \
20+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 .
1821make
1922make install
2023cd ../
Original file line number Diff line number Diff line change @@ -19,12 +19,14 @@ cd armadillo-11.4.1/
1919if [ " $CIBW_ARCHS_MACOS " == " x86_64" ];
2020then
2121 cmake \
22+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
2223 -DCMAKE_OSX_ARCHITECTURES=" $CIBW_ARCHS_MACOS " \
2324 -DDETECT_HDF5=OFF \
2425 .
2526elif [ " $CIBW_ARCHS_MACOS " == " arm64" ];
2627then
2728 cmake \
29+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
2830 -DCMAKE_OSX_ARCHITECTURES=" $CIBW_ARCHS_MACOS " \
2931 -DDETECT_HDF5=OFF \
3032 .
You can’t perform that action at this time.
0 commit comments