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

[CI] Refactor pacxx-build jobs

Addresses: #32
parent c97e2d2a
No related branches found
No related tags found
1 merge request!80[CI] Refactor pacxx-build jobs
Pipeline #12962 passed
......@@ -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