vtk-m/.gitlab/ci/ubuntu2004.yml

91 lines
2.3 KiB
YAML
Raw Normal View History

##=============================================================================
##
## Copyright (c) Kitware, Inc.
## All rights reserved.
## See LICENSE.txt for details.
##
## This software is distributed WITHOUT ANY WARRANTY; without even
## the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
## PURPOSE. See the above copyright notice for more information.
##
##=============================================================================
2020-06-16 12:54:01 +00:00
build:ubuntu2004_kokkos:
tags:
- build
- vtkm
- docker
- linux-x86_64
2020-06-16 12:54:01 +00:00
extends:
- .ubuntu2004_kokkos
- .cmake_build_linux
2021-10-18 18:36:16 +00:00
- .run_automatically
2020-06-16 12:54:01 +00:00
variables:
CMAKE_BUILD_TYPE: RelWithDebInfo
CMAKE_PREFIX_PATH: "/opt/anari"
VTKM_SETTINGS: "kokkos+shared+64bit_floats+rendering+anari"
2020-06-16 12:54:01 +00:00
test:ubuntu2004_kokkos:
tags:
- test
- vtkm
- docker
- linux-x86_64
2020-06-16 12:54:01 +00:00
extends:
- .ubuntu2004_kokkos
- .cmake_test_linux
2021-10-18 18:36:16 +00:00
- .run_automatically
2020-06-16 12:54:01 +00:00
dependencies:
- build:ubuntu2004_kokkos
needs:
- build:ubuntu2004_kokkos
build:ubuntu2004_hip_kokkos:
tags:
- vtkm
- docker
- linux-x86_64
- radeon
extends:
- .ubuntu2004_hip_kokkos
- .cmake_build_linux
- .run_automatically
variables:
2022-10-25 19:39:23 +00:00
CMAKE_BUILD_TYPE: "RelWithDebInfo"
VTKM_SETTINGS: "benchmarks+kokkos+hip+no_rendering+ccache"
2022-06-27 15:41:45 +00:00
2022-10-25 19:39:23 +00:00
CMAKE_PREFIX_PATH: "/opt/rocm/lib/cmake"
LD_LIBRARY_PATH: "/opt/rocm/lib"
2022-10-25 19:39:23 +00:00
CMAKE_HIP_COMPILER: "/opt/rocm/llvm/bin/clang++"
Kokkos_CXX_COMPILER: "/opt/rocm/llvm/bin/clang++"
CMAKE_HIP_ARCHITECTURES: "gfx900"
2022-06-27 15:41:45 +00:00
# -isystem= is not affected by CCACHE_BASEDIR, thus we must ignore it
2022-10-25 19:39:23 +00:00
CCACHE_IGNOREOPTIONS: "-isystem=*"
CCACHE_BASEDIR: "$CI_PROJECT_DIR"
CCACHE_COMPILERCHECK: "content"
CCACHE_NOHASHDIR: "true"
CCACHE_RESHARE: "true"
2022-06-27 15:41:45 +00:00
after_script:
- ccache -v -s
- ccache -z
test:ubuntu2004_hip_kokkos:
tags:
- vtkm
- docker
- linux-x86_64
- radeon
extends:
- .ubuntu2004_hip_kokkos
- .cmake_test_linux
- .run_upstream_branches
variables:
2022-09-23 22:21:14 +00:00
CTEST_MAX_PARALLELISM: 1
2024-02-08 20:10:05 +00:00
CTEST_EXCLUSIONS: "UnitTestWorkletParticleAdvection"
dependencies:
- build:ubuntu2004_hip_kokkos
needs:
- build:ubuntu2004_hip_kokkos
2021-10-15 16:24:33 +00:00
timeout: 3 hours