From c77bc613eb378f794d46716a5c642dc4ac87f8f1 Mon Sep 17 00:00:00 2001 From: Michael Kuhn Date: Thu, 24 May 2018 19:59:20 +0200 Subject: Fix missing spack.compiler import (#8240) Fixes: #8258 #8090 altered import behavior so that import spack no longer provides access to many other Spack modules. This addresses a case which depended on the prior behavior and was not updated as part of #8090. This particular import error only came up when users were setting compiler flags on specs. See also: #8194 --- lib/spack/spack/spec.py | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/spack/spack/spec.py b/lib/spack/spack/spec.py index 5050981e2f..8d9ecb320d 100644 --- a/lib/spack/spack/spec.py +++ b/lib/spack/spack/spec.py @@ -115,6 +115,7 @@ from llnl.util.lang import check_kwargs from llnl.util.tty.color import cwrite, colorize, cescape, get_color_when import spack.architecture +import spack.compiler import spack.compilers as compilers import spack.error import spack.parse -- cgit v1.2.3-60-g2f50