Skip to content

Commit 2b554b6

Browse files
authored
data-vis-sdk: modify pipeline to shorten concretization time (spack#206)
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
1 parent 8532f7d commit 2b554b6

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

.ci/gitlab/.gitlab-ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,9 @@ radiuss-aws-aarch64-build:
488488

489489
data-vis-sdk-generate:
490490
extends: [ ".data-vis-sdk", ".generate-x86_64"]
491+
variables:
492+
# Override concretization pool because of memory requests
493+
SPACK_CONCRETIZE_JOBS: 3
491494
image: ghcr.io/spack/ubuntu20.04-runner-x86_64:2023-01-01
492495

493496
data-vis-sdk-build:

.ci/gitlab/stacks/data-vis-sdk/spack.yaml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,16 @@ spack:
88
target: ["x86_64_v3"]
99
require:
1010
- target=x86_64_v3
11+
c:
12+
require:
13+
- gcc@11
14+
cxx:
15+
require:
16+
- gcc@11
17+
fortran:
18+
require:
19+
- gcc@11
20+
1121
cmake:
1222
variants: ~ownlibs
1323
ecp-data-vis-sdk:
@@ -42,9 +52,8 @@ spack:
4252
- "@3.4.1"
4353
- target=x86_64_v3
4454

45-
4655
concretizer:
47-
unify: when_possible
56+
unify: false
4857

4958
definitions:
5059
- paraview_specs:

repos/spack_repo/builtin/packages/ecp_data_vis_sdk/package.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,6 @@ def is_boolean(variant):
5858
depends_on("{0} {1}".format(spec, v_then), when="{0} {1}".format(base_variant, v_when))
5959

6060

61-
def exclude_variants(variants, exclude):
62-
return [variant for variant in variants if variant not in exclude]
63-
64-
6561
class EcpDataVisSdk(BundlePackage, CudaPackage, ROCmPackage):
6662
"""ECP Data & Vis SDK"""
6763

0 commit comments

Comments
 (0)