Skip to content

Commit 568083b

Browse files
authored
Merge pull request #93 from cdiener/fix/gmp_download
Fix GMP building
2 parents a6936c2 + 10895e0 commit 568083b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
echo "::set-output name=swigplk_version::$(python scripts/find_swiglpk_version.py)"
4747
4848
- name: Build wheels
49-
uses: joerick/cibuildwheel@v2.16.1
49+
uses: joerick/cibuildwheel@v2.16.2
5050
env:
5151
NEW_GLPK_VERSION: ${{ steps.version.outputs.glpk_version }}
5252
GLPK_HEADER_PATH: glpk-${{ steps.version.outputs.glpk_version }}/src
@@ -78,7 +78,7 @@ jobs:
7878

7979
- uses: actions/setup-python@v4
8080
with:
81-
python-version: '3.9'
81+
python-version: '3.11'
8282

8383
- name: Get GLPK version
8484
id: version

config.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function pre_build {
66
# Runs in the root directory of this repository.
77
ADD_CFLAGS=""
88
ADD_CONFIG_FLAGS=""
9-
GMP_VERSION="6.2.1" # hasn't changed in 2 years
9+
GMP_VERSION="6.3.0"
1010
if [ -n "$IS_OSX" ]; then
1111
export CC=clang
1212
export CXX=clang++
@@ -24,7 +24,7 @@ function pre_build {
2424
export CFLAGS="-I/usr/local/include $ADD_CFLAGS $CFLAGS"
2525
export LDFLAGS="-L/usr/local/lib $ARCHFLAGS"
2626
echo "Downloading GMP"
27-
curl -O https://gmplib.org/download/gmp/gmp-$GMP_VERSION.tar.lz
27+
curl -O ftp://ftp.gnu.org/gnu/gmp/gmp-${GMP_VERSION}.tar.lz
2828
tar xzf gmp-$GMP_VERSION.tar.lz
2929
(cd gmp-$GMP_VERSION \
3030
&& ./configure --prefix=$BUILD_PREFIX $ADD_CONFIG_FLAGS \

0 commit comments

Comments
 (0)