diff options
author | Harmen Stoppels <harmenstoppels@gmail.com> | 2022-10-06 12:34:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-06 04:34:00 -0600 |
commit | c959d6c905d26c2edcfbafa7311f09789b23b91a (patch) | |
tree | 6556f66231c35f694324a9859f542d7735c3720b | |
parent | 4cfe58651a5edc860343b48e329853ab1e5c845c (diff) | |
download | spack-c959d6c905d26c2edcfbafa7311f09789b23b91a.tar.gz spack-c959d6c905d26c2edcfbafa7311f09789b23b91a.tar.bz2 spack-c959d6c905d26c2edcfbafa7311f09789b23b91a.tar.xz spack-c959d6c905d26c2edcfbafa7311f09789b23b91a.zip |
gmake: add 4.3.90 alpha release (#33044)
GNU Make 4.3.90 supports jobserver through fifo, so it's nice to add the
alpha release to Spack already.
-rw-r--r-- | var/spack/repos/builtin/packages/gmake/package.py | 40 |
1 files changed, 26 insertions, 14 deletions
diff --git a/var/spack/repos/builtin/packages/gmake/package.py b/var/spack/repos/builtin/packages/gmake/package.py index 81a9ac0abe..98792e2e38 100644 --- a/var/spack/repos/builtin/packages/gmake/package.py +++ b/var/spack/repos/builtin/packages/gmake/package.py @@ -15,10 +15,31 @@ class Gmake(AutotoolsPackage, GNUMirrorPackage): homepage = "https://www.gnu.org/software/make/" gnu_mirror_path = "make/make-4.2.1.tar.gz" + maintainers = ["haampie"] - version("4.3", sha256="e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19") - version("4.2.1", sha256="e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7") - version("4.0", sha256="fc42139fb0d4b4291929788ebaf77e2a4de7eaca95e31f3634ef7d4932051f69") + # Alpha releases + version( + "4.3.90", + url="http://alpha.gnu.org/gnu/make/make-4.3.90.tar.gz", + sha256="b85021da86c3ceaa104151ac1f4af3c811f5f2f61cd383f0de739aa5b2f98c7d", + ) + + # Stable releases + version( + "4.3", + sha256="e05fdde47c5f7ca45cb697e973894ff4f5d79e13b750ed57d7b66d8defc78e19", + preferred=True, + ) + version( + "4.2.1", + sha256="e40b8f018c1da64edd1cc9a6fce5fa63b2e707e404e20cad91fbae337c98a5b7", + preferred=True, + ) + version( + "4.0", + sha256="fc42139fb0d4b4291929788ebaf77e2a4de7eaca95e31f3634ef7d4932051f69", + preferred=True, + ) variant("guile", default=False, description="Support GNU Guile for embedded scripting") variant("nls", default=True, description="Enable Native Language Support") @@ -55,17 +76,8 @@ class Gmake(AutotoolsPackage, GNUMirrorPackage): def configure_args(self): args = [] - - if "+guile" in self.spec: - args.append("--with-guile") - else: - args.append("--without-guile") - - if "+nls" in self.spec: - args.append("--enable-nls") - else: - args.append("--disable-nls") - + args.extend(self.with_or_without("guile")) + args.extend(self.with_or_without("nls")) return args @run_after("install") |