Commit 710b2957 authored by Mccaskey, Alex's avatar Mccaskey, Alex

Fixing running ctest with gpu support

Signed-off-by: Mccaskey, Alex's avatarAlex McCaskey <mccaskeyaj@ornl.gov>
parent 100a215c
Pipeline #70130 failed with stage
in 4 minutes and 42 seconds
......@@ -6,11 +6,11 @@ build_devel:
only:
- devel
script:
- cd docker/ci/ubuntu1804/devel && nvidia-docker build -t exatn/devel . --no-cache
- cd docker/ci/ubuntu1804/devel && nvidia-docker build -t exatn/devel . --no-cache && nvidia-docker run -it --rm exatn/devel bash -c "cd exatn/build && ctest --output-on-failure"
build_master:
stage: build
only:
- master
script:
- cd docker/ci/ubuntu1804/master && nvidia-docker build -t exatn/master . --no-cache
- cd docker/ci/ubuntu1804/master && nvidia-docker build -t exatn/master . --no-cache && nvidia-docker run -it --rm exatn/master bash -c "cd exatn/build && ctest --output-on-failure"
......@@ -10,4 +10,4 @@ run update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 \
-DBLAS_PATH=/usr/lib/x86_64-linux-gnu \
-DMPI_LIB=MPICH -DMPI_ROOT_DIR=/usr/lib/mpich \
-DMPI_BIN_PATH=/usr/bin -DCUDA_HOST_COMPILER=g++-7 \
&& make -j$(nproc) install && ctest --output-on-failure
&& make -j$(nproc) install
......@@ -10,4 +10,4 @@ run update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 50 \
-DBLAS_PATH=/usr/lib/x86_64-linux-gnu \
-DMPI_LIB=MPICH -DMPI_ROOT_DIR=/usr/lib/mpich \
-DMPI_BIN_PATH=/usr/bin -DCUDA_HOST_COMPILER=g++-7 \
&& make -j$(nproc) install && ctest --output-on-failure
&& make -j$(nproc) install
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