Fixup errors introduced by Clingo Pr: (#32905)
* re2c depends on cmake on Windows * Winbison properly added to bootstrap package search list
This commit is contained in:
parent
fa7407093e
commit
5a0f4970df
@ -658,7 +658,7 @@ def _add_externals_if_missing():
|
||||
spack.repo.path.get_pkg_class("gawk"),
|
||||
]
|
||||
if is_windows:
|
||||
search_list.extend(spack.repo.path.get_pkg_class("winbison"))
|
||||
search_list.append(spack.repo.path.get_pkg_class("winbison"))
|
||||
detected_packages = spack.detection.by_executable(search_list)
|
||||
spack.detection.update_configuration(detected_packages, scope="bootstrap")
|
||||
|
||||
|
@ -28,6 +28,8 @@ class Re2c(Package):
|
||||
|
||||
phases = ["configure", "build", "install"]
|
||||
|
||||
depends_on("cmake", when="platform=windows")
|
||||
|
||||
@property
|
||||
def make_tool(self):
|
||||
if is_windows:
|
||||
|
Loading…
Reference in New Issue
Block a user