Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tnl-dev
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
TNL
tnl-dev
Commits
41a285fa
There was an error fetching the commit references. Please try again later.
Commit
41a285fa
authored
3 years ago
by
Jakub Klinkovský
Browse files
Options
Downloads
Patches
Plain Diff
CI: optimized tags for build jobs
parent
83e102af
No related branches found
No related tags found
1 merge request
!103
CI: optimized tags for build jobs
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+10
-19
10 additions, 19 deletions
.gitlab-ci.yml
with
10 additions
and
19 deletions
.gitlab-ci.yml
+
10
−
19
View file @
41a285fa
...
...
@@ -36,13 +36,6 @@ stages:
WITH_OPENMP
:
"
yes"
WITH_MPI
:
"
yes"
.cuda_openmp_mpi
:
extends
:
.openmp_mpi
# tags are overridden, not merged...
tags
:
-
docker
-
nvidia
# base for Clang builds
.clang
:
stage
:
build:clang
...
...
@@ -71,6 +64,10 @@ stages:
# running as root does not matter inside Docker containers
-
export OMPI_ALLOW_RUN_AS_ROOT=1
-
export OMPI_ALLOW_RUN_AS_ROOT_CONFIRM=1
# fall back to arch 7.0 when the builder has no GPU to avoid building for all GPU architectures
-
if ! nvidia-smi --list-gpus > /dev/null; then
WITH_CUDA_ARCH=7.0;
fi
-
mkdir -p "./builddir/$CI_JOB_NAME"
-
pushd "./builddir/$CI_JOB_NAME"
-
cmake ../..
...
...
@@ -180,9 +177,6 @@ cuda_matrix_tests_Release:
cuda_nontests_Debug
:
extends
:
.build_template
stage
:
build:cuda
tags
:
-
docker
-
nvidia
variables
:
<<
:
*default_cmake_flags
WITH_CUDA
:
"
yes"
...
...
@@ -195,9 +189,6 @@ cuda_nontests_Debug:
cuda_nontests_Release
:
extends
:
.build_template
stage
:
build:cuda
tags
:
-
docker
-
nvidia
variables
:
<<
:
*default_cmake_flags
WITH_CUDA
:
"
yes"
...
...
@@ -211,32 +202,32 @@ cuda_nontests_Release:
cuda_mpi_tests_Debug
:
extends
:
-
cuda_tests_Debug
-
.
cuda_
openmp_mpi
-
.openmp_mpi
cuda_mpi_tests_Release
:
extends
:
-
cuda_tests_Release
-
.
cuda_
openmp_mpi
-
.openmp_mpi
cuda_mpi_matrix_tests_Debug
:
extends
:
-
cuda_matrix_tests_Debug
-
.
cuda_
openmp_mpi
-
.openmp_mpi
cuda_mpi_matrix_tests_Release
:
extends
:
-
cuda_matrix_tests_Release
-
.
cuda_
openmp_mpi
-
.openmp_mpi
cuda_mpi_nontests_Debug
:
extends
:
-
cuda_nontests_Debug
-
.
cuda_
openmp_mpi
-
.openmp_mpi
cuda_mpi_nontests_Release
:
extends
:
-
cuda_nontests_Release
-
.
cuda_
openmp_mpi
-
.openmp_mpi
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment