summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-12-04 12:14:59 +0100
committerGitHub <noreply@github.com>2023-12-04 12:14:59 +0100
commita982118c1f020632f885cf03be66b386656c6c36 (patch)
treee9294f93d243678c1d3aa8a6a6ad25f2491acf62
parent40d12ed7e2c93993ed219d97652058acb87a78c1 (diff)
downloadspack-a982118c1f020632f885cf03be66b386656c6c36.tar.gz
spack-a982118c1f020632f885cf03be66b386656c6c36.tar.bz2
spack-a982118c1f020632f885cf03be66b386656c6c36.tar.xz
spack-a982118c1f020632f885cf03be66b386656c6c36.zip
ci.py: fix missing import (#41391)
-rw-r--r--lib/spack/spack/cmd/ci.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/spack/spack/cmd/ci.py b/lib/spack/spack/cmd/ci.py
index 6c57319302..271523d8ad 100644
--- a/lib/spack/spack/cmd/ci.py
+++ b/lib/spack/spack/cmd/ci.py
@@ -16,6 +16,7 @@ import spack.ci as spack_ci
import spack.cmd.buildcache as buildcache
import spack.config as cfg
import spack.environment as ev
+import spack.environment.depfile
import spack.hash_types as ht
import spack.mirror
import spack.util.gpg as gpg_util
@@ -606,7 +607,9 @@ def ci_rebuild(args):
"SPACK_INSTALL_FLAGS={}".format(args_to_string(deps_install_args)),
"-j$(nproc)",
"install-deps/{}".format(
- ev.depfile.MakefileSpec(job_spec).safe_format("{name}-{version}-{hash}")
+ spack.environment.depfile.MakefileSpec(job_spec).safe_format(
+ "{name}-{version}-{hash}"
+ )
),
],
spack_cmd + ["install"] + root_install_args,