builtin: fix various type/correctness issues (#50340)

This commit is contained in:
Harmen Stoppels
2025-05-07 15:45:15 +02:00
committed by GitHub
parent 43596b4e23
commit 21d8c09c5e
25 changed files with 110 additions and 127 deletions

View File

@@ -36,7 +36,7 @@ class CompilerPackage(spack.package_base.PackageBase):
#: Compiler argument(s) that produces version information
#: If multiple arguments, the earlier arguments must produce errors when invalid
compiler_version_argument: Union[str, Tuple[str]] = "-dumpversion"
compiler_version_argument: Union[str, Tuple[str, ...]] = "-dumpversion"
#: Regex used to extract version from compiler's output
compiler_version_regex: str = "(.*)"

View File

@@ -172,3 +172,5 @@ class tty:
spack_cxx: str
spack_f77: str
spack_fc: str
prefix: Prefix
dso_suffix: str