Skip to content
Snippets Groups Projects
Commit 3603a362 authored by Jö Fahlke's avatar Jö Fahlke
Browse files

[!80] [CI] Refactor pacxx-build jobs

Merge branch 'ci-refactor-pacxx-build' into 'master'

Addresses: [#32]

See merge request [joe/pacxx-docker!80]

  [#32]: gitlab.dune-project.org/joe/pacxx-docker/issues/32
  [joe/pacxx-docker!80]: gitlab.dune-project.org/joe/pacxx-docker/merge_requests/80
parents c97e2d2a 238de12b
No related branches found
No related tags found
1 merge request!80[CI] Refactor pacxx-build jobs
Pipeline #12965 failed
......@@ -145,11 +145,8 @@ samples-source:
# PACXX Build: build pacxx using the base image
#
pacxx-build-native:
.pacxx-build:
stage: pacxx-build
image: $REGISTRY/$CI_PROJECT_PATH:base-native.$PIPELINE_TAG
dependencies:
- pacxx-source
tags:
- hpc2seci
variables:
......@@ -171,31 +168,13 @@ pacxx-build-native:
- opt/pacxx/
expire_in: 1 week
pacxx-build-native:
extends: .pacxx-build
image: $REGISTRY/$CI_PROJECT_PATH:base-native.$PIPELINE_TAG
pacxx-build-cuda:
stage: pacxx-build
extends: .pacxx-build
image: $REGISTRY/$CI_PROJECT_PATH:base-cuda.$PIPELINE_TAG
dependencies:
- pacxx-source
tags:
- hpc2seci
variables:
GIT_STRATEGY: none
script:
- *ccache
- cat llvm/repoversions
- mkdir build
- cd build
- cmake ../llvm -DBUILD_SHARED_LIBS=ON -DLLVM_ENABLE_RTTI=ON -DLLVM_ENABLE_CXX1Y=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE="-O3" -DCMAKE_INSTALL_PREFIX=/opt/pacxx
- make -j$(nproc)
- cd ..
- make DESTDIR=$(pwd) -C build -j$(nproc) install
- cp llvm/repoversions opt/pacxx/
after_script:
- *ccache
artifacts:
paths:
- opt/pacxx/
expire_in: 1 week
######################################################################
#
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment