package.py: expose types of common globals unconditionally (#48588)

This commit is contained in:
Harmen Stoppels 2025-01-15 17:33:38 +01:00 committed by GitHub
parent db997229f2
commit 00e804a94b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -106,8 +106,16 @@
from spack.variant import any_combination_of, auto_or_any_combination_of, disjoint_sets
from spack.version import Version, ver
# These are just here for editor support; they will be replaced when the build env
# is set up.
make = MakeExecutable("make", jobs=1)
ninja = MakeExecutable("ninja", jobs=1)
configure = Executable(join_path(".", "configure"))
# These are just here for editor support; they may be set when the build env is set up.
configure: Executable
make_jobs: int
make: MakeExecutable
ninja: MakeExecutable
python_include: str
python_platlib: str
python_purelib: str
python: Executable
spack_cc: str
spack_cxx: str
spack_f77: str
spack_fc: str