Skip to content
Snippets Groups Projects
Verified Commit 3e0cae65 authored by Sébastien Villemot's avatar Sébastien Villemot
Browse files

Bump Boost version for Julia package

Note that MSYS2 has now switched to zstd for compressing their packages.
parent 3ca1914e
No related branches found
No related tags found
No related merge requests found
Pipeline #3678 passed
variables: variables:
TERM: linux TERM: linux
MINGW32_BOOST_VERSION: 1.71.0-1 MINGW32_BOOST_VERSION: 1.73.0-3
MINGW64_BOOST_VERSION: 1.71.0-1 MINGW64_BOOST_VERSION: 1.73.0-3
WGET_OPTIONS: '--no-verbose --no-use-server-timestamps --retry-connrefused --retry-on-host-error' WGET_OPTIONS: '--no-verbose --no-use-server-timestamps --retry-connrefused --retry-on-host-error'
before_script: before_script:
...@@ -49,9 +49,9 @@ build_windows_32: ...@@ -49,9 +49,9 @@ build_windows_32:
stage: build stage: build
script: script:
- mkdir -p ~/tarballs - mkdir -p ~/tarballs
- '[[ -f ~/tarballs/mingw-w64-i686-boost-$MINGW32_BOOST_VERSION-any.pkg.tar.xz ]] || wget $WGET_OPTIONS -P ~/tarballs http://repo.msys2.org/mingw/i686/mingw-w64-i686-boost-$MINGW32_BOOST_VERSION-any.pkg.tar.xz' - '[[ -f ~/tarballs/mingw-w64-i686-boost-$MINGW32_BOOST_VERSION-any.pkg.tar.zst ]] || wget $WGET_OPTIONS -P ~/tarballs http://repo.msys2.org/mingw/i686/mingw-w64-i686-boost-$MINGW32_BOOST_VERSION-any.pkg.tar.zst'
- mkdir -p deps - mkdir -p deps
- tar xf ~/tarballs/mingw-w64-i686-boost-$MINGW32_BOOST_VERSION-any.pkg.tar.xz --directory deps - tar xf ~/tarballs/mingw-w64-i686-boost-$MINGW32_BOOST_VERSION-any.pkg.tar.zst --directory deps
- autoreconf -si - autoreconf -si
- './configure --host=i686-w64-mingw32 --with-boost=$(pwd)/deps/mingw32/include LDFLAGS="-static -static-libgcc -static-libstdc++"' - './configure --host=i686-w64-mingw32 --with-boost=$(pwd)/deps/mingw32/include LDFLAGS="-static -static-libgcc -static-libstdc++"'
- make -j$(nproc) - make -j$(nproc)
...@@ -70,9 +70,9 @@ build_windows_64: ...@@ -70,9 +70,9 @@ build_windows_64:
stage: build stage: build
script: script:
- mkdir -p ~/tarballs - mkdir -p ~/tarballs
- '[[ -f ~/tarballs/mingw-w64-x86_64-boost-$MINGW64_BOOST_VERSION-any.pkg.tar.xz ]] || wget $WGET_OPTIONS -P ~/tarballs http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-boost-$MINGW64_BOOST_VERSION-any.pkg.tar.xz' - '[[ -f ~/tarballs/mingw-w64-x86_64-boost-$MINGW64_BOOST_VERSION-any.pkg.tar.zst ]] || wget $WGET_OPTIONS -P ~/tarballs http://repo.msys2.org/mingw/x86_64/mingw-w64-x86_64-boost-$MINGW64_BOOST_VERSION-any.pkg.tar.zst'
- mkdir -p deps - mkdir -p deps
- tar xf ~/tarballs/mingw-w64-x86_64-boost-$MINGW64_BOOST_VERSION-any.pkg.tar.xz --directory deps - tar xf ~/tarballs/mingw-w64-x86_64-boost-$MINGW64_BOOST_VERSION-any.pkg.tar.zst --directory deps
- autoreconf -si - autoreconf -si
- './configure --host=x86_64-w64-mingw32 --with-boost=$(pwd)/deps/mingw64/include LDFLAGS="-static -static-libgcc -static-libstdc++"' - './configure --host=x86_64-w64-mingw32 --with-boost=$(pwd)/deps/mingw64/include LDFLAGS="-static -static-libgcc -static-libstdc++"'
- make -j$(nproc) - make -j$(nproc)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment