Skip to content

Commit

Permalink
Fix oneAPU versions for conflict statements in mapl
Browse files Browse the repository at this point in the history
  • Loading branch information
climbfuji committed Jan 24, 2025
1 parent df46a0f commit 709b5ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions var/spack/repos/builtin/packages/mapl/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,11 +390,11 @@ def cmake_args(self):
if fflags:
args.append(self.define("CMAKE_Fortran_FLAGS", " ".join(fflags)))

# If oneapi@:2025 is used and it gets past the conflict above, we might be
# If oneapi@:2024 is used and it gets past the conflict above, we might be
# using ifx or ifort. If we are using ifx and the MAPL version is 2.50 or older
# we need to raise an error

if self.spec.satisfies("%oneapi@:2025"):
if self.spec.satisfies("@:2.50 %oneapi@:2024"):
# We now need to get which Fortran compiler is used here but there
# isn't an easy way like:
# if self.spec["fortran"].name == "ifx":
Expand Down

0 comments on commit 709b5ea

Please sign in to comment.