Perl build system: add a dependency on gmake (#48437)

This commit is contained in:
Massimiliano Culpo
2025-01-08 09:10:22 +01:00
committed by GitHub
parent 25ce6cce47
commit 4be7b98fd2
2 changed files with 6 additions and 2 deletions

View File

@@ -10,8 +10,9 @@
import spack.builder
import spack.package_base
import spack.phase_callbacks
from spack.directives import build_system, extends
from spack.directives import build_system, depends_on, extends
from spack.install_test import SkipTest, test_part
from spack.multimethod import when
from spack.util.executable import Executable
from ._checks import BuilderWithDefaults, execute_build_time_tests
@@ -28,7 +29,9 @@ class PerlPackage(spack.package_base.PackageBase):
build_system("perl")
extends("perl", when="build_system=perl")
with when("build_system=perl"):
extends("perl")
depends_on("gmake", type="build")
@property
@memoized