Permalink
Browse files

Merge pull request #95 from lazyten/dev-mfh

Minor issues (see commit messages)
  • Loading branch information...
mfherbst committed Nov 27, 2017
2 parents 75ab68a + 53f5d0c commit ec6beb7df67f64f9705549e5219142535b6aaa0e
Showing with 19 additions and 13 deletions.
  1. +12 −10 .travis.yml
  2. +7 −3 README.md
@@ -44,7 +44,7 @@ addons:
apt:
sources:
- ubuntu-toolchain-r-test # libstdc++-4.9-dev (gcc 4.8's libstdc++ is buggy)
- llvm-toolchain-trusty-4.0 # clang-4.0
- llvm-toolchain-trusty-5.0 # clang-5.0
packages:
- python3-pip
- ninja-build
@@ -69,37 +69,39 @@ matrix:
compiler: clang
env: CC_COMP="clang" CXX_COMP="clang++"
#
# Clang 4.0 (has c++14) with libc++-1
# Clang 5.0 (has c++17) with libc++-1
# Note that c++17 is disabled due to cmake < 3.8 where c++17 is not yet ready
- install:
- travis_retry sudo apt-get install -y clang-4.0 libc++-dev
- export GCOV="llvm-cov-4.0 gcov"
- travis_retry sudo apt-get install -y clang-5.0 libc++-dev
- export GCOV="llvm-cov-5.0 gcov"
compiler: clang
env: CC_COMP="clang-4.0" CXX_COMP="clang++-4.0"
env: CC_COMP="clang-5.0" CXX_COMP="clang++-5.0"
#
# gcc-4.8 (c++11 and without tests, since rapidcheck does not compile like this)
- install:
- export TESTS=0 EXTRA_OPTS="-DLAZYTEN_ENABLE_TESTS=OFF"
compiler: gcc
env: CC_COMP="gcc" CXX_COMP="g++"
#
# gcc-7 (with tests and c++14)
# gcc-7 (with tests and c++17)
# Note that c++17 is disabled due to cmake < 3.8 where c++17 is not yet ready
- install:
- travis_retry sudo apt-get install -y g++-7
- export GCOV="gcov-7"
compiler: gcc
env: CC_COMP="gcc-7" CXX_COMP="g++-7"
#
# Clang-tidy 4.0
# Clang-tidy 5.0
- install:
- travis_retry sudo apt-get install -y clang-4.0 libc++-dev clang-tidy-4.0
- travis_retry sudo apt-get install -y clang-5.0 libc++-dev clang-tidy-5.0
# Install yaml for the python scripts generated by SetupClangTargets.cmake
- travis_retry pip3 install --user pyyaml
- export BUILD_TARGET="clang-tidy-lazyten"
- export TESTS=0
compiler: clang
env: CC_COMP="clang-4.0" CXX_COMP="clang++-4.0" BUILD_TARGET="clang-tidy-lazyten"
env: CC_COMP="clang-5.0" CXX_COMP="clang++-5.0" BUILD_TARGET="clang-tidy-lazyten"
allow_failures:
- env: CC_COMP="clang-4.0" CXX_COMP="clang++-4.0" BUILD_TARGET="clang-tidy-lazyten"
- env: CC_COMP="clang-5.0" CXX_COMP="clang++-5.0" BUILD_TARGET="clang-tidy-lazyten"

script:
- cmake --version
@@ -55,11 +55,15 @@ spack install lazyten
```
Once this has happened you can add all relevant environment variables
(`LD_LIBRARY_PATH`, `PATH`, `CPATH`, ...) to the current shell
via the command
via the commands
```sh
spack load lazyten
spack module loads -r lazyten > /tmp/lazyten.modules
. /tmp/lazyten.modules
```
and are thereafter ready to go for linking `lazyten` to your project.
which will generate a list of all spack modules `lazyten` needs
and loades them thereafter.
Running the above two lines of code gets you ready for
linking `lazyten` to your project.
Other than that Spack makes it very easy to customise the installation, too.
For example to influence which features of `lazyten` are to be built,

0 comments on commit ec6beb7

Please sign in to comment.