spack env depfile in Gitlab CI should use install-deps/pkg-version-hash
target (#33936)
This commit is contained in:
parent
fbe6b4b486
commit
d18cccf7c5
@ -570,8 +570,6 @@ def ci_rebuild(args):
|
|||||||
"-o",
|
"-o",
|
||||||
"Makefile",
|
"Makefile",
|
||||||
"--use-buildcache=package:never,dependencies:only",
|
"--use-buildcache=package:never,dependencies:only",
|
||||||
"--make-target-prefix",
|
|
||||||
"ci",
|
|
||||||
slash_hash, # limit to spec we're building
|
slash_hash, # limit to spec we're building
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
@ -588,7 +586,7 @@ def ci_rebuild(args):
|
|||||||
"SPACK_COLOR=always",
|
"SPACK_COLOR=always",
|
||||||
"SPACK_INSTALL_FLAGS={}".format(args_to_string(deps_install_args)),
|
"SPACK_INSTALL_FLAGS={}".format(args_to_string(deps_install_args)),
|
||||||
"-j$(nproc)",
|
"-j$(nproc)",
|
||||||
"ci/.install-deps/{}".format(job_spec.dag_hash()),
|
"install-deps/{}".format(job_spec.format("{name}-{version}-{hash}")),
|
||||||
],
|
],
|
||||||
spack_cmd + ["install"] + root_install_args,
|
spack_cmd + ["install"] + root_install_args,
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user