@@ -39,16 +39,25 @@ version = {attr = "pyscipopt._version.__version__"}
3939[tool .cibuildwheel ]
4040skip =" pp*" # currently doesn't work with PyPy
4141manylinux-x86_64-image = " manylinux_2_28"
42+ manylinux-aarch64-image = " manylinux_2_28"
4243
4344
4445[tool .cibuildwheel .linux ]
4546skip =" pp* cp36* cp37* *musllinux*"
46- before-all = [
47- " (apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget" ,
48- " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7.0/libscip-linux.zip -O scip.zip" ,
49- " unzip scip.zip" ,
50- " mv scip_install scip"
51- ]
47+ before-all = '''
48+ #!/bin/bash
49+ (apt-get update && apt-get install --yes wget) || yum install -y wget zlib libgfortran || brew install wget
50+ AARCH=$(uname -m)
51+ echo "------"
52+ echo $AARCH
53+ if [[ $AARCH == "aarch64" ]]; then
54+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-linux-arm.zip -O scip.zip
55+ else
56+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8.0/libscip-linux.zip -O scip.zip
57+ fi
58+ unzip scip.zip
59+ mv scip_install scip
60+ '''
5261environment = { SCIPOPTDIR =" $(pwd)/scip" , LD_LIBRARY_PATH =" $(pwd)/scip/lib:$LD_LIBRARY_PATH" , DYLD_LIBRARY_PATH =" $(pwd)/scip/lib:$DYLD_LIBRARY_PATH" , PATH =" $(pwd)/scip/bin:$PATH" , PKG_CONFIG_PATH =" $(pwd)/scip/lib/pkgconfig:$PKG_CONFIG_PATH" , RELEASE =" true" }
5362
5463
@@ -58,10 +67,10 @@ before-all = '''
5867#!/bin/bash
5968brew install wget zlib gcc
6069if [[ $CIBW_ARCHS == *"arm"* ]]; then
61- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7 .0/libscip-macos-arm.zip -O scip.zip
70+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8 .0/libscip-macos-arm.zip -O scip.zip
6271 export MACOSX_DEPLOYMENT_TARGET=14.0
6372else
64- wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7 .0/libscip-macos-intel.zip -O scip.zip
73+ wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8 .0/libscip-macos-intel.zip -O scip.zip
6574 export MACOSX_DEPLOYMENT_TARGET=13.0
6675fi
6776unzip scip.zip
@@ -87,7 +96,7 @@ repair-wheel-command = '''
8796skip =" pp* cp36* cp37*"
8897before-all = [
8998 " choco install 7zip wget" ,
90- " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.7 .0/libscip-windows.zip -O scip.zip" ,
99+ " wget https://github.com/scipopt/scipoptsuite-deploy/releases/download/v0.8 .0/libscip-windows.zip -O scip.zip" ,
91100 " \" C:\\ Program Files\\ 7-Zip\\ 7z.exe\" x \" scip.zip\" -o\" scip-test\" " ,
92101 " mv .\\ scip-test\\ scip_install .\\ test" ,
93102 " mv .\\ test .\\ scip"
0 commit comments