mirror of
https://gitlab.kitware.com/vtk/vtk-m
synced 2024-10-05 09:59:12 +00:00
91 lines
2.3 KiB
YAML
91 lines
2.3 KiB
YAML
##=============================================================================
|
|
##
|
|
## 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.
|
|
##
|
|
##=============================================================================
|
|
|
|
build:ubuntu2004_kokkos:
|
|
tags:
|
|
- build
|
|
- vtkm
|
|
- docker
|
|
- linux-x86_64
|
|
extends:
|
|
- .ubuntu2004_kokkos
|
|
- .cmake_build_linux
|
|
- .run_automatically
|
|
variables:
|
|
CMAKE_BUILD_TYPE: RelWithDebInfo
|
|
CMAKE_PREFIX_PATH: "/opt/anari"
|
|
VTKM_SETTINGS: "kokkos+shared+64bit_floats+rendering+anari"
|
|
|
|
test:ubuntu2004_kokkos:
|
|
tags:
|
|
- test
|
|
- vtkm
|
|
- docker
|
|
- linux-x86_64
|
|
extends:
|
|
- .ubuntu2004_kokkos
|
|
- .cmake_test_linux
|
|
- .run_automatically
|
|
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:
|
|
CMAKE_BUILD_TYPE: "RelWithDebInfo"
|
|
VTKM_SETTINGS: "benchmarks+kokkos+hip+no_rendering+ccache"
|
|
|
|
CMAKE_PREFIX_PATH: "/opt/rocm/lib/cmake"
|
|
LD_LIBRARY_PATH: "/opt/rocm/lib"
|
|
CMAKE_HIP_COMPILER: "/opt/rocm/llvm/bin/clang++"
|
|
Kokkos_CXX_COMPILER: "/opt/rocm/llvm/bin/clang++"
|
|
CMAKE_HIP_ARCHITECTURES: "gfx900"
|
|
|
|
# -isystem= is not affected by CCACHE_BASEDIR, thus we must ignore it
|
|
CCACHE_IGNOREOPTIONS: "-isystem=*"
|
|
CCACHE_BASEDIR: "$CI_PROJECT_DIR"
|
|
CCACHE_COMPILERCHECK: "content"
|
|
CCACHE_NOHASHDIR: "true"
|
|
CCACHE_RESHARE: "true"
|
|
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:
|
|
CTEST_MAX_PARALLELISM: 1
|
|
CTEST_EXCLUSIONS: "UnitTestWorkletParticleAdvection"
|
|
dependencies:
|
|
- build:ubuntu2004_hip_kokkos
|
|
needs:
|
|
- build:ubuntu2004_hip_kokkos
|
|
timeout: 3 hours
|