Commit 65f93bd1 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'ci-linux-cuda-compiler' into release

b5a7eab2 visrtx: disable samples
d379b2e8 ci: enable visrtx for Linux packages
95bcf130 ci: update to a container with a CUDA compiler
376d20b2

 ci: install CUDA compilers into the container
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Cory Quammen's avatarCory Quammen <cory.quammen@kitware.com>
Merge-request: !829
parents 50911410 b5a7eab2
set(ENABLE_lookingglass ON CACHE BOOL "")
set(ENABLE_fides ON CACHE BOOL "")
set(ENABLE_nvidiaoptix ON CACHE BOOL "")
set(ENABLE_visrtx ON CACHE BOOL "")
include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake")
......@@ -3,3 +3,6 @@ MAINTAINER Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
COPY install_deps.sh /root/install_deps.sh
RUN sh /root/install_deps.sh
COPY install_cuda.sh /root/install_cuda.sh
RUN sh /root/install_cuda.sh
#!/bin/sh
# Install the nvidia repository.
yum-config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel7/x86_64/cuda-rhel7.repo
# Install CUDA toolchains.
yum install -y \
cuda-compiler-11-2 cuda-cudart-devel-11-2 cuda-toolkit-11-2
yum clean all
......@@ -9,12 +9,13 @@
# newer compilers.
.centos7:
image: "kitware/paraview:ci-superbuild-centos7-20201028"
image: "kitware/paraview:ci-superbuild-centos7-20210113"
variables:
GIT_SUBMODULE_STRATEGY: none
LAUNCHER: "scl enable devtoolset-7 --"
GIT_CLONE_PATH: $CI_BUILDS_DIR/gitlab-kitware-sciviz-ci
CUDACXX: "/usr/local/cuda-11.2/bin/nvcc"
.centos7_plain:
extends: .centos7
......
......@@ -4,7 +4,8 @@ superbuild_add_project(visrtx
-DBUILD_SHARED_LIBS:BOOL=${BUILD_SHARED_LIBS}
-DCMAKE_MACOSX_RPATH:BOOL=FALSE
-DCMAKE_INSTALL_NAME_DIR:PATH=<INSTALL_DIR>/lib
-DCMAKE_INSTALL_LIBDIR:STRING=lib)
-DCMAKE_INSTALL_LIBDIR:STRING=lib
-DVISRTX_BUILD_SAMPLE:BOOL=OFF)
superbuild_apply_patch(visrtx cuda-11
"Support CUDA 11")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment