Cleanup IOS build and disable FORTRAN on 32bit and ios builds for now
Travis recently appears unable to find a matching homebrew package for 32bit gfortran, and the IOS crossbuild suffered from excessive output due to the known problem with "ASMNAME redefined" warnings when CFLAGS is set in the environment
This commit is contained in:
parent
7887c45077
commit
6bc487de35
48
.travis.yml
48
.travis.yml
|
@ -4,10 +4,11 @@ dist: precise
|
||||||
sudo: true
|
sudo: true
|
||||||
language: c
|
language: c
|
||||||
|
|
||||||
matrix:
|
jobs:
|
||||||
include:
|
include:
|
||||||
- &test-ubuntu
|
- &test-ubuntu
|
||||||
os: linux
|
os: linux
|
||||||
|
stage: test
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -17,7 +18,7 @@ matrix:
|
||||||
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
|
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
|
||||||
script:
|
script:
|
||||||
- set -e
|
- set -e
|
||||||
- make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
|
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
|
||||||
- make -C test $COMMON_FLAGS $BTYPE
|
- make -C test $COMMON_FLAGS $BTYPE
|
||||||
- make -C ctest $COMMON_FLAGS $BTYPE
|
- make -C ctest $COMMON_FLAGS $BTYPE
|
||||||
- make -C utest $COMMON_FLAGS $BTYPE
|
- make -C utest $COMMON_FLAGS $BTYPE
|
||||||
|
@ -25,15 +26,6 @@ matrix:
|
||||||
- TARGET_BOX=LINUX64
|
- TARGET_BOX=LINUX64
|
||||||
- BTYPE="BINARY=64"
|
- BTYPE="BINARY=64"
|
||||||
|
|
||||||
- <<: *test-ubuntu
|
|
||||||
os: linux-ppc64le
|
|
||||||
before_script:
|
|
||||||
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=POWER8 NUM_THREADS=32"
|
|
||||||
env:
|
|
||||||
# for matrix annotation only
|
|
||||||
- TARGET_BOX=PPC64LE_LINUX
|
|
||||||
- BTYPE="BINARY=64 USE_OPENMP=1"
|
|
||||||
|
|
||||||
- <<: *test-ubuntu
|
- <<: *test-ubuntu
|
||||||
env:
|
env:
|
||||||
- TARGET_BOX=LINUX64
|
- TARGET_BOX=LINUX64
|
||||||
|
@ -67,6 +59,7 @@ matrix:
|
||||||
- BTYPE="BINARY=32"
|
- BTYPE="BINARY=32"
|
||||||
|
|
||||||
- os: linux
|
- os: linux
|
||||||
|
stage: test
|
||||||
compiler: gcc
|
compiler: gcc
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -87,12 +80,13 @@ matrix:
|
||||||
# that don't require sudo.
|
# that don't require sudo.
|
||||||
- &test-alpine
|
- &test-alpine
|
||||||
os: linux
|
os: linux
|
||||||
|
stage: test
|
||||||
dist: trusty
|
dist: trusty
|
||||||
sudo: true
|
sudo: true
|
||||||
language: minimal
|
language: minimal
|
||||||
before_install:
|
before_install:
|
||||||
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.9.0/alpine-chroot-install' \
|
- "wget 'https://raw.githubusercontent.com/alpinelinux/alpine-chroot-install/v0.6.0/alpine-chroot-install' \
|
||||||
&& echo 'e5dfbbdc0c4b3363b99334510976c86bfa6cb251 alpine-chroot-install' | sha1sum -c || exit 1"
|
&& echo 'a827a4ba3d0817e7c88bae17fe34e50204983d1e alpine-chroot-install' | sha1sum -c || exit 1"
|
||||||
- alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
|
- alpine() { /alpine/enter-chroot -u "$USER" "$@"; }
|
||||||
install:
|
install:
|
||||||
- sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers'
|
- sudo sh alpine-chroot-install -p 'build-base gfortran perl linux-headers'
|
||||||
|
@ -126,10 +120,11 @@ matrix:
|
||||||
- <<: *test-alpine
|
- <<: *test-alpine
|
||||||
env:
|
env:
|
||||||
- TARGET_BOX=LINUX64_MUSL
|
- TARGET_BOX=LINUX64_MUSL
|
||||||
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=CORE2"
|
- BTYPE="BINARY=64 NO_AFFINITY=1 USE_OPENMP=0 NO_LAPACK=0 TARGET=core2"
|
||||||
|
|
||||||
- &test-cmake
|
- &test-cmake
|
||||||
os: linux
|
os: linux
|
||||||
|
stage: test
|
||||||
compiler: clang
|
compiler: clang
|
||||||
addons:
|
addons:
|
||||||
apt:
|
apt:
|
||||||
|
@ -156,30 +151,17 @@ matrix:
|
||||||
env:
|
env:
|
||||||
- CMAKE=1
|
- CMAKE=1
|
||||||
|
|
||||||
- &test-macos
|
- osx-gcc
|
||||||
os: osx
|
os: osx
|
||||||
osx_image: xcode10.1
|
stage: test
|
||||||
before_script:
|
osx_image: xcode8
|
||||||
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
|
before_script: *common-before
|
||||||
- brew update
|
- brew update
|
||||||
- brew install gcc@8 # for gfortran
|
- brew install gcc # for gfortran
|
||||||
script:
|
script:
|
||||||
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
|
- travis_wait 45 make QUIET_MAKE=1 $COMMON_FLAGS $BTYPE
|
||||||
env:
|
env:
|
||||||
- BTYPE="BINARY=64 INTERFACE64=1 FC=gfortran-8"
|
- BTYPE="BINARY=64 INTERFACE64=1"
|
||||||
|
|
||||||
- <<: *test-macos
|
|
||||||
osx_image: xcode8.3
|
|
||||||
env:
|
|
||||||
- BTYPE="BINARY=32 FC=gfortran-8"
|
|
||||||
|
|
||||||
- <<: *test-macos
|
|
||||||
osx_image: xcode10.1
|
|
||||||
env:
|
|
||||||
- COMMON_FLAGS="NUM_THREADS=32"
|
|
||||||
- CC="/Applications/Xcode-10.1.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk"
|
|
||||||
- CFLAGS="-O2 -isysroot /Applications/Xcode-10.1.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk -arch arm64 -miphoneos-version-min=10.0"
|
|
||||||
- BTYPE="TARGET=ARMV8 BINARY=64 HOSTCC=clang"
|
|
||||||
|
|
||||||
# whitelist
|
# whitelist
|
||||||
branches:
|
branches:
|
||||||
|
|
Loading…
Reference in New Issue