diff --git a/.travis.yml b/.travis.yml index 6aafac5c8..f6ebc3860 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,6 +29,7 @@ services: stages: # order stages + - name: ppc64le - name: fedora - name: osx - name: precise @@ -40,6 +41,37 @@ stages: jobs: include: + # ppc64le: "recent" systems with ICB + # note: when you PR, docker-cp provides, in the container, the branch associated with the PR (not master where there's nothing new) + # 1. docker create --name mobydick IMAGE CMD <=> create a container (= instance of image) but container is NOT yet started + # 2. docker cp -a ${TRAVIS_BUILD_DIR} mobydick:/tmp <=> copy git repository (CI worker, checkout-ed on PR branch) into the container + # note: docker-cp works only if copy from/to containers (not images) + # 3. docker start -a mobydick <=> start to run the container (initialized with docker-cp) + - stage: ppc64le + dist: bionic + script: | + sudo docker pull ppc64le/debian \ + && \ + sudo docker create --name mobydick ppc64le/debian /bin/bash -c \ + "apt-get -y install build-essential && \ + apt-get -y install git gfortran gcc g++ openmpi-bin libopenmpi-dev automake autoconf libtool pkg-config && \ + apt-get -y install libblas-dev liblapack-dev libeigen3-dev && \ + cd /tmp && \ + cd arpack-ng && \ + git status && \ + git log -2 && \ + sed -e 's/LOG_FLAGS = /LOG_FLAGS = --allow-run-as-root --oversubscribe /' -i PARPACK/EXAMPLES/MPI/Makefile.am && \ + sed -e 's/LOG_FLAGS = /LOG_FLAGS = --allow-run-as-root --oversubscribe /' -i PARPACK/TESTS/MPI/Makefile.am && \ + ./bootstrap && \ + ./configure --enable-mpi --enable-icb-exmm --disable-dependency-tracking && \ + export VERBOSE=1 && \ + make all && \ + make check ; \ + find . -name test-suite.log | xargs tail -n 300" \ + && \ + sudo docker cp -a ${TRAVIS_BUILD_DIR} mobydick:/tmp \ + && \ + sudo docker start -a mobydick # fedora (released fedora with openmpi) - stage: fedora dist: bionic diff --git a/CHANGES b/CHANGES index 5c1a78421..ae132228b 100644 --- a/CHANGES +++ b/CHANGES @@ -4,6 +4,7 @@ arpack-ng - 3.8.0 * [BUG FIX]: fix 'Unknown CMake command "check_symbol_exists".' when ICB=ON. [ Franck Houssen ] + * CI: Support for ppc64le added in automation. * arpackSolver/arpackmm: switch eigen version to 3.3. * [BUG FIX] fix arpackdef.h (resp. arpackicb.h) must be included only by C/C++ (resp. F77/F90). * [BUG FIX] iparam/ipntr sizes may change depending on cases.