Skip to content

Commit

Permalink
macOS Travis: Debug ADIOS 2.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l committed Jun 16, 2020
1 parent 0b1c853 commit a7f8af4
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -196,14 +196,17 @@ jobs:
$EXTRA_CMAKE_FLAGS
-DCMAKE_INSTALL_PREFIX=$HOME/openPMD-test-install
$TRAVIS_BUILD_DIR
- make -j 2
- make VERBOSE=ON
# run tests
# pybind11: work-around for missing symbols with sanitizers
# /usr/local/clang-7.0.0/lib/clang/7.0.0/lib/linux/libclang_rt.asan-x86_64.so
# /usr/local/clang-7.0.0/lib/clang/7.0.0/lib/linux/libclang_rt.ubsan_minimal-x86_64.so
- if [ "$USE_PYTHON" == "ON" ] && [ ! -z ${ASAN_OPTIONS+x} ]; then
export LD_PRELOAD=/usr/local/clang-7.0.0/lib/clang/7.0.0/lib/linux/libclang_rt.asan-x86_64.so;
fi
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
otool -l /Users/travis/build/bin/openpmd-ls;
fi
- CTEST_OUTPUT_ON_FAILURE=1 travis_wait make test
- if [ ! -z ${LD_PRELOAD+x} ]; then
unset LD_PRELOAD;
Expand Down Expand Up @@ -744,6 +747,10 @@ install:
spack load adios2$ADIOS2_VERSION $CXXSPEC $SPACK_VAR_MPI;
fi
- spack clean -a
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then
ls -hal /Users/travis/.cache/spack/opt/spack/darwin-*/clang-*/adios2-2.6.0-*/lib/*;
otool -l /Users/travis/.cache/spack/opt/spack/darwin-*/clang-*/adios2-2.6.0-*/lib/libadios2_cxx11.2.dylib;
fi

before_cache:
# https://stackoverflow.com/questions/39930171/cache-brew-builds-with-travis-ci
Expand Down

0 comments on commit a7f8af4

Please sign in to comment.