Skip to content

Commit

Permalink
Update CMake for mingw builds on Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
beutlich committed Apr 4, 2024
1 parent e46c648 commit df6c5c0
Showing 1 changed file with 1 addition and 40 deletions.
41 changes: 1 addition & 40 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,45 +20,6 @@ env:

matrix:
include:
- os: linux
compiler: gcc-4.8
env:
- PLATFORM=linux32
- CFLAGS="-O3 -DNDEBUG -fPIC -msse2 -m32"
- CXXFLAGS="-O3 -DNDEBUG -fPIC -msse2 -m32"
- CMAKE=/opt/cmake-3.18.6-Linux-x86_64/bin/cmake
- TARGETDIR="linux32"
- GM="Unix Makefiles"
- MAKE=make
- os: linux
compiler: gcc-4.8
env:
- PLATFORM=linux64
- CFLAGS="-O3 -DNDEBUG -fPIC"
- CXXFLAGS="-O3 -DNDEBUG -fPIC"
- CMAKE=/opt/cmake-3.18.6-Linux-x86_64/bin/cmake
- TARGETDIR="linux64"
- GM="Unix Makefiles"
- MAKE=make
- os: linux
compiler: clang
env:
- PLATFORM=linux64
- CFLAGS="-O3 -DNDEBUG -fPIC"
- CXXFLAGS="-O3 -DNDEBUG -fPIC"
- CMAKE=/opt/cmake-3.18.6-Linux-x86_64/bin/cmake
- TARGETDIR="linux64"
- GM="Unix Makefiles"
- MAKE=make
- os: osx
compiler: gcc
env:
- PLATFORM=darwin64
- CC=gcc
- CMAKE=cmake
- TARGETDIR="darwin64"
- GM="Unix Makefiles"
- MAKE=make
- os: windows
compiler: gcc
env:
Expand Down Expand Up @@ -101,7 +62,7 @@ before_install:
## 64bit mingw
export mingw64="$msys2 -mingw64 -full-path -here -c \$\* --"
export msys2+=" -msys2 -c \$\* --"
$msys2 pacman --sync --noconfirm --needed autoconf autoconf-archive automake automake-wrapper binutils gettext git libtool m4 make pkg-config mingw-w64-{i686,x86_64}-toolchain mingw-w64-{i686,x86_64}-clang mingw-w64-{i686,x86_64}-make mingw-w64-{i686,x86_64}-cmake mingw-w64-{i686,x86_64}-extra-cmake-modules mingw-w64-{i686,x86_64}-{gcc,binutils} mingw-w64-{i686,x86_64}-hdf5
$msys2 pacman --sync --noconfirm --needed autoconf autoconf-archive automake automake-wrapper binutils cmake gettext git libtool m4 make pkg-config mingw-w64-{i686,x86_64}-toolchain mingw-w64-{i686,x86_64}-clang mingw-w64-{i686,x86_64}-make mingw-w64-{i686,x86_64}-cmake mingw-w64-{i686,x86_64}-extra-cmake-modules mingw-w64-{i686,x86_64}-{gcc,binutils} mingw-w64-{i686,x86_64}-hdf5
## Install more MSYS2 packages from https://packages.msys2.org/base here
taskkill //IM gpg-agent.exe //F # https://travis-ci.community/t/4967
export PATH=/C/tools/msys64/mingw64/bin:$PATH
Expand Down

0 comments on commit df6c5c0

Please sign in to comment.