Files
OpenBLAS/lapack-netlib/.travis.yml
Martin Kroeker 375b1875c8 [WIP] Update LAPACK to 3.9.0 (#2353)
* Update make.inc entries for LAPACK 3.9.0

Reference-LAPACK PR 347 changed some variable names and relative paths

* Update LAPACK to 3.9.0

* Add new functions from LAPACK 3.9.0

* Add new functions from LAPACK 3.9.0

* Restore LOADER command 

as it makes it easier to specify pthread as needed

* Restore LOADER

* Restore EIG/LIN prefixes in cmdbase

* add binary path to lapack_testing.py call

* Restore OpenMP version check

* Restore OpenMP version check

* Restore fix for out-of-bounds array accesses

from #2096
2020-01-01 13:18:53 +01:00

62 lines
1.7 KiB
YAML

language: c
dist: xenial
group: travis_latest
git:
depth: 3
quiet: true
addons:
apt:
packages:
- gfortran
matrix:
include:
- os: linux
env: CMAKE_BUILD_TYPE=Release
- os: linux
env: CMAKE_BUILD_TYPE=Coverage
- os: osx
env: CMAKE_BUILD_TYPE=Release
before_install:
- brew update > /dev/null
- brew install gcc > /dev/null
- os: osx
env: CMAKE_BUILD_TYPE=Coverage
before_install:
- brew update > /dev/null
- brew install gcc > /dev/null
script:
- export PR=https://api.github.com/repos/$TRAVIS_REPO_SLUG/pulls/$TRAVIS_PULL_REQUEST
- export BRANCH=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then echo $TRAVIS_BRANCH; else echo `curl -s $PR | jq -r .head.ref`; fi)
- echo "TRAVIS_BRANCH=$TRAVIS_BRANCH, PR=$PR, BRANCH=$BRANCH"
- export SRC_DIR=$(pwd)
- export BLD_DIR=${SRC_DIR}/lapack-travis-bld
- export INST_DIR=${SRC_DIR}/../lapack-travis-install
- mkdir -p ${BLD_DIR}
- cd ${BLD_DIR}
# See issue #17 on github dashboard. Once resolved, use -DCBLAS=ON
# - cmake -DCMAKE_INSTALL_PREFIX=${INST_DIR} -DLAPACKE=ON ${SRC_DIR}
- cmake -DBUILDNAME:STRING="travis-${TRAVIS_OS_NAME}-${BRANCH}"
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}
-DCMAKE_INSTALL_PREFIX=${INST_DIR}
-DCBLAS:BOOL=ON
-DLAPACKE:BOOL=ON
-DBUILD_TESTING=ON
-DLAPACKE_WITH_TMG:BOOL=ON
${SRC_DIR}
- ctest -D ExperimentalStart
- ctest -D ExperimentalConfigure
- ctest -D ExperimentalBuild -j2
- ctest -D ExperimentalTest --schedule-random -j2 --output-on-failure --timeout 100
- ctest -D ExperimentalSubmit
- make install -j2
- if [[ "$CMAKE_BUILD_TYPE" == "Coverage" ]];
then
echo "Coverage";
make coverage;
bash <(curl -s https://codecov.io/bash) -X gcov;
fi