diff options
author | Filippo Spiga <spiga.filippo@gmail.com> | 2022-08-10 18:15:41 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 12:15:41 +0200 |
commit | 623eee9a533c63a8677782f2177ccf1a87495c5b (patch) | |
tree | 12bfc0d78b3fddcf49c6cdec44d122a5a5cb1040 | |
parent | acc848a0f8d4d4798ebfb6c8927d74e30f5f8681 (diff) | |
download | spack-623eee9a533c63a8677782f2177ccf1a87495c5b.tar.gz spack-623eee9a533c63a8677782f2177ccf1a87495c5b.tar.bz2 spack-623eee9a533c63a8677782f2177ccf1a87495c5b.tar.xz spack-623eee9a533c63a8677782f2177ccf1a87495c5b.zip |
arm: add a dependency on "ncurses abi=5' (#31942)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
Co-authored-by: fspiga <fspiga@users.noreply.github.com>
-rw-r--r-- | var/spack/repos/builtin/packages/arm/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/arm/package.py b/var/spack/repos/builtin/packages/arm/package.py index 01ed34cd65..2fab5e2d2d 100644 --- a/var/spack/repos/builtin/packages/arm/package.py +++ b/var/spack/repos/builtin/packages/arm/package.py @@ -78,7 +78,7 @@ class Arm(Package): conflicts("target=x86_64:", msg="Only available on Aarch64") conflicts("target=ppc64:", msg="Only available on Aarch64") conflicts("target=ppc64le:", msg="Only available on Aarch64") - + depends_on("ncurses abi=5") executables = [r"armclang", r"armclang\+\+", r"armflang"] # Licensing - Not required from 22.0.1 on. @@ -149,3 +149,5 @@ class Arm(Package): env.prepend_path("CPATH", join_path(arm_dir, "include")) env.prepend_path("MANPATH", join_path(arm_dir, "share", "man")) env.prepend_path("ARM_LICENSE_DIR", join_path(self.prefix, "licences")) + if "ncurses" in self.spec: + env.prepend_path("LD_LIBRARY_PATH", join_path(self.spec["ncurses"].prefix, "lib")) |