Skip to content
Permalink
Browse files

Merge pull request #445 from UniStuttgart-VISUS/build_speed_2

New handling of external libraries
  • Loading branch information...
tobiasrau committed Sep 17, 2019
2 parents 4869eb6 + 3374943 commit d3a56d004698b38154812e1feae20e7792206b25
@@ -1,4 +1,4 @@
language: generic
language: cpp

git:
depth: 1
@@ -7,7 +7,8 @@ dist: xenial

matrix:
include:
- os: linux
- name: "gcc 7"
os: linux
dist: xenial
addons:
apt:
@@ -29,7 +30,9 @@ matrix:
env:
- CC=gcc-7
- CXX=g++-7
- os: linux
- GENERATOR="Unix Makefiles"
- name: "gcc 9"
os: linux
dist: xenial
addons:
apt:
@@ -51,11 +54,64 @@ matrix:
env:
- CC=gcc-9
- CXX=g++-9
- GENERATOR="Unix Makefiles"
- name: "gcc 9 (Ninja)"
os: linux
dist: xenial
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
packages:
- g++-9
- ninja-build
- libgl1-mesa-dev
- libglu1-mesa-dev
- uuid-dev
- libunwind8-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libcgal-qt5-dev
- libcgal-dev
env:
- CC=gcc-9
- CXX=g++-9
- GENERATOR=Ninja
- name: "clang 8"
os: linux
dist: xenial
addons:
apt:
update: true
sources:
- ubuntu-toolchain-r-test
- llvm-toolchain-xenial-8
packages:
- clang-8
- g++-9
- libiomp-dev
- libgl1-mesa-dev
- libglu1-mesa-dev
- uuid-dev
- libunwind8-dev
- libxrandr-dev
- libxinerama-dev
- libxcursor-dev
- libxi-dev
- libcgal-qt5-dev
- libcgal-dev
env:
- CC=clang-8
- CXX=clang++-8
- GENERATOR="Unix Makefiles"

before_install:
install:
- . travis/install-cuda-xenial.sh
- mkdir build && cd build
- cmake ../ -DCMAKE_CXX_FLAGS=-w -DENABLE_CUDA=ON -DSUPPRESS_CUDA_WARNINGS=TRUE -DBUILD_PROTEIN_CUDA_PLUGIN=ON

install:
- make install
script:
- mkdir build && cd build
- cmake .. -G"$GENERATOR" -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-w -DENABLE_CUDA=ON -DSUPPRESS_CUDA_WARNINGS=TRUE -DBUILD_ADIOS_PLUGIN_PLUGIN=ON -DBUILD_PROTEIN_CUDA_PLUGIN=ON -DBUILD_MEGAMOL101_PLUGIN=ON -DBUILD_REMOTE_PLUGIN=ON
- cmake --build . --target install

0 comments on commit d3a56d0

Please sign in to comment.
You can’t perform that action at this time.