summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-09-14 09:19:47 +0200
committerGitHub <noreply@github.com>2023-09-14 09:19:47 +0200
commitd50f296d4f9432262c16d86cd64eb006b31c8a32 (patch)
tree7a57a9562fbeccdcb813a87a2ee76fefb255097f
parente5d227e73df78ba609abb42ebca1d4c4516665d8 (diff)
downloadspack-d50f296d4f9432262c16d86cd64eb006b31c8a32.tar.gz
spack-d50f296d4f9432262c16d86cd64eb006b31c8a32.tar.bz2
spack-d50f296d4f9432262c16d86cd64eb006b31c8a32.tar.xz
spack-d50f296d4f9432262c16d86cd64eb006b31c8a32.zip
data-vis-sdk: make llvm~libomptarget the default (#40007)
Currently the configuration of the pipeline is such that there are multiple "optimal" solutions. This is due to the pipeline making ~lld the default for LLVM, but leaving +libomptarget from package.py Since LLVM recipe has a: conflicts("~lld", "+libomptarget") clingo is forced to change one of the two defaults, and the penalty for doing so is the same for each. Hence, it is random whether we'll get +libomptarget+lld or ~libomptarget~lld. This fixes it by changing also the default for libomptarget.
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/data-vis-sdk/spack.yaml2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/data-vis-sdk/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/data-vis-sdk/spack.yaml
index 85019a6612..b4534f0814 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/data-vis-sdk/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/data-vis-sdk/spack.yaml
@@ -25,7 +25,7 @@ spack:
llvm:
require: '@14:'
# Minimize LLVM
- variants: ~lldb~lld~polly~gold libunwind=none compiler-rt=none
+ variants: ~lldb~lld~libomptarget~polly~gold libunwind=none compiler-rt=none
all:
require: target=x86_64_v3