From 1cd2d07f0b9ad9d96e75d6c71c7bda9514cfa754 Mon Sep 17 00:00:00 2001 From: snehring <7978778+snehring@users.noreply.github.com> Date: Wed, 27 Sep 2023 09:32:18 -0500 Subject: last: add new version, fix build on aarch64 (#40216) Co-authored-by: Bernhard Kaindl --- var/spack/repos/builtin/packages/last/package.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/var/spack/repos/builtin/packages/last/package.py b/var/spack/repos/builtin/packages/last/package.py index 8e1b953e30..a59da3ef53 100644 --- a/var/spack/repos/builtin/packages/last/package.py +++ b/var/spack/repos/builtin/packages/last/package.py @@ -16,10 +16,15 @@ class Last(MakefilePackage): git = "https://gitlab.com/mcfrith/last.git" maintainers("snehring") + version("1499", commit="2cc68d3ba8ae5ca46ceeb69302aef18b9db04f46") version("1282", commit="4368be912f4759e52b549940276f1adf087f489a") version("869", sha256="6371a6282bc1bb02a5e5013cc463625f2ce3e7746ff2ea0bdf9fe6b15605a67c") + depends_on("zlib-api") + def edit(self, spec, prefix): + if not spec.satisfies("target=x86_64:"): + filter_file("-msse4", "", "makefile") files = ["mat-doc.sh", "mat-inc.sh", "seed-doc.sh", "seed-inc.sh"] if spec.satisfies("@1282:"): files.append("gc-inc.sh") -- cgit v1.2.3-60-g2f50