diff options
author | Paolo <142514942+paolotricerri@users.noreply.github.com> | 2024-07-11 10:20:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-11 11:20:34 +0200 |
commit | 39bbedf517e3fe570b723b3e79e999fc30487ce1 (patch) | |
tree | 1f3f2f5ab4313006321fae15c15ac6984a2c50d1 /var | |
parent | 2153f6056de898e461a78f4739187f0d8127c619 (diff) | |
download | spack-39bbedf517e3fe570b723b3e79e999fc30487ce1.tar.gz spack-39bbedf517e3fe570b723b3e79e999fc30487ce1.tar.bz2 spack-39bbedf517e3fe570b723b3e79e999fc30487ce1.tar.xz spack-39bbedf517e3fe570b723b3e79e999fc30487ce1.zip |
acfl: update the headers property (#44653)
Consistently with ArmPL@24:, the include directory for acfl@24:
has changed to include. The change wants to update to this change
and distinguish the include path for releases previous to 24.04
and the future ones
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/acfl/package.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/acfl/package.py b/var/spack/repos/builtin/packages/acfl/package.py index 5b9e905321..42a750da51 100644 --- a/var/spack/repos/builtin/packages/acfl/package.py +++ b/var/spack/repos/builtin/packages/acfl/package.py @@ -378,7 +378,10 @@ class Acfl(Package, CompilerPackage): def headers(self): armpl_dir = get_armpl_prefix(self.spec) - suffix = "include" + self.lib_suffix + if self.spec.satisfies("@24:"): + suffix = "include" + else: + suffix = "include" + self.lib_suffix incdir = join_path(armpl_dir, suffix) |