From 39bbedf517e3fe570b723b3e79e999fc30487ce1 Mon Sep 17 00:00:00 2001 From: Paolo <142514942+paolotricerri@users.noreply.github.com> Date: Thu, 11 Jul 2024 10:20:34 +0100 Subject: 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 --- var/spack/repos/builtin/packages/acfl/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'var') 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) -- cgit v1.2.3-70-g09d2