2020-03-11 18:16:04 +00:00
|
|
|
|
|
|
|
# Build on ubuntu1604 with CUDA 9.2 and test on ubuntu1604 and ubuntu1804
|
|
|
|
# Uses gcc 5, and build for pascal as CUDA 9.2 doesn't support turing
|
|
|
|
build:ubuntu1604_gcc5:
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
- vtkm
|
|
|
|
- docker
|
|
|
|
- linux
|
|
|
|
- large-memory
|
|
|
|
extends:
|
|
|
|
- .ubuntu1604_cuda
|
|
|
|
- .cmake_build_linux
|
2020-03-30 13:51:45 +00:00
|
|
|
- .only-default
|
2020-03-11 18:16:04 +00:00
|
|
|
variables:
|
2020-04-16 12:47:07 +00:00
|
|
|
CC: "gcc-5"
|
|
|
|
CXX: "g++-5"
|
2020-03-11 18:16:04 +00:00
|
|
|
CMAKE_BUILD_TYPE: RelWithDebInfo
|
|
|
|
VTKM_SETTINGS: "cuda+pascal"
|
|
|
|
|
|
|
|
# Temporarily disabled as we don't have a pascal hw gitlab-runner
|
|
|
|
# test:ubuntu1604_gcc5:
|
|
|
|
# tags:
|
|
|
|
# - test
|
|
|
|
# - cuda-rt
|
|
|
|
# - pascal
|
|
|
|
# - vtkm
|
|
|
|
# - docker
|
|
|
|
# - linux
|
|
|
|
# extends:
|
|
|
|
# - .ubuntu1604_cuda
|
|
|
|
# - .cmake_test_linux
|
2020-03-30 13:51:45 +00:00
|
|
|
# - .only-default
|
2020-03-11 18:16:04 +00:00
|
|
|
# dependencies:
|
|
|
|
# - build:ubuntu1604_gcc5
|
|
|
|
# needs:
|
|
|
|
# - build:ubuntu1604_gcc5
|
|
|
|
# test:ubuntu1804_test_ubuntu1604_gcc5:
|
|
|
|
# tags:
|
|
|
|
# - test
|
|
|
|
# - cuda-rt
|
|
|
|
# - pascal
|
|
|
|
# - vtkm
|
|
|
|
# - docker
|
|
|
|
# - linux
|
|
|
|
# extends:
|
|
|
|
# - .ubuntu1804_cuda
|
|
|
|
# - .cmake_test_linux
|
2020-03-30 13:51:45 +00:00
|
|
|
# - .only-default
|
2020-03-11 18:16:04 +00:00
|
|
|
# dependencies:
|
|
|
|
# - build:ubuntu1604_gcc5
|
|
|
|
# needs:
|
|
|
|
# - build:ubuntu1604_gcc5
|
|
|
|
|
|
|
|
# Build on ubuntu1604 with mpi + tbb and test on ubuntu1604
|
|
|
|
# Uses gcc 4.8
|
|
|
|
# Uses OpenMPI
|
|
|
|
build:ubuntu1604_gcc48:
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
- vtkm
|
|
|
|
- docker
|
|
|
|
- linux
|
|
|
|
extends:
|
2020-04-15 13:54:47 +00:00
|
|
|
- .ubuntu1604
|
2020-03-11 18:16:04 +00:00
|
|
|
- .cmake_build_linux
|
2020-03-30 13:51:45 +00:00
|
|
|
- .only-default
|
2020-03-11 18:16:04 +00:00
|
|
|
variables:
|
2020-04-16 12:47:07 +00:00
|
|
|
CC: "gcc-4.8"
|
|
|
|
CXX: "g++-4.8"
|
2020-03-11 18:16:04 +00:00
|
|
|
CMAKE_BUILD_TYPE: Release
|
|
|
|
#custom openmpi install location
|
|
|
|
CMAKE_PREFIX_PATH: "/opt/openmpi/"
|
2020-03-30 14:54:31 +00:00
|
|
|
VTKM_SETTINGS: "tbb+mpi+shared"
|
2020-03-11 18:16:04 +00:00
|
|
|
|
|
|
|
test:ubuntu1604_gcc48:
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
- vtkm
|
|
|
|
- docker
|
|
|
|
- linux
|
|
|
|
extends:
|
|
|
|
- .ubuntu1604
|
|
|
|
- .cmake_test_linux
|
2020-03-30 13:51:45 +00:00
|
|
|
- .only-default
|
2020-03-11 18:16:04 +00:00
|
|
|
variables:
|
|
|
|
#env flags to allow openmpi to run as root user
|
|
|
|
OMPI_ALLOW_RUN_AS_ROOT: 1
|
|
|
|
OMPI_ALLOW_RUN_AS_ROOT_CONFIRM: 1
|
2020-04-15 16:12:55 +00:00
|
|
|
#mpi location so that `built_against_test_install` tests
|
|
|
|
#pass
|
|
|
|
CMAKE_PREFIX_PATH: "/opt/openmpi/"
|
2020-03-11 18:16:04 +00:00
|
|
|
dependencies:
|
|
|
|
- build:ubuntu1604_gcc48
|
|
|
|
needs:
|
|
|
|
- build:ubuntu1604_gcc48
|
|
|
|
|
2020-03-30 14:54:31 +00:00
|
|
|
|
|
|
|
# Build on ubuntu1604 with tbb and test on ubuntu1604
|
|
|
|
# Uses clang 5
|
|
|
|
build:ubuntu1604_clang5:
|
|
|
|
tags:
|
|
|
|
- build
|
|
|
|
- vtkm
|
|
|
|
- docker
|
|
|
|
- linux
|
|
|
|
extends:
|
|
|
|
#Requires the cuda docker image as it uses a sufficiently new
|
|
|
|
#enough CMake version that supports mpi
|
|
|
|
- .ubuntu1604
|
|
|
|
- .cmake_build_linux
|
|
|
|
- .only-default
|
|
|
|
variables:
|
2020-04-16 12:47:07 +00:00
|
|
|
CC: "clang-5.0"
|
|
|
|
CXX: "clang++-5.0"
|
2020-03-30 14:54:31 +00:00
|
|
|
CMAKE_BUILD_TYPE: Debug
|
|
|
|
VTKM_SETTINGS: "tbb+static+64bit_floats"
|
|
|
|
|
|
|
|
test:ubuntu1604_clang5:
|
|
|
|
tags:
|
|
|
|
- test
|
|
|
|
- vtkm
|
|
|
|
- docker
|
|
|
|
- linux
|
|
|
|
extends:
|
|
|
|
- .ubuntu1604
|
|
|
|
- .cmake_test_linux
|
|
|
|
- .only-default
|
|
|
|
dependencies:
|
|
|
|
- build:ubuntu1604_clang5
|
|
|
|
needs:
|
|
|
|
- build:ubuntu1604_clang5
|