summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Pritchard <howardp@lanl.gov>2022-06-21 11:47:46 -0600
committerGitHub <noreply@github.com>2022-06-21 10:47:46 -0700
commitbc03b5caafe05439e5a33968ef821d7d14901fd9 (patch)
treee01bb52abec423e572e779dcde170b5b1286f93a
parent649760dc1a99bce084263dfd2e665fea16b1f275 (diff)
downloadspack-bc03b5caafe05439e5a33968ef821d7d14901fd9.tar.gz
spack-bc03b5caafe05439e5a33968ef821d7d14901fd9.tar.bz2
spack-bc03b5caafe05439e5a33968ef821d7d14901fd9.tar.xz
spack-bc03b5caafe05439e5a33968ef821d7d14901fd9.zip
meson: fix to recognize intel oneapi compiler (#30605)
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
-rw-r--r--var/spack/repos/builtin/packages/meson/package.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/meson/package.py b/var/spack/repos/builtin/packages/meson/package.py
index 471bc994c2..05d46bf4fd 100644
--- a/var/spack/repos/builtin/packages/meson/package.py
+++ b/var/spack/repos/builtin/packages/meson/package.py
@@ -64,6 +64,10 @@ class Meson(PythonPackage):
patch('rpath-0.54.patch', when='@0.54:0.55')
patch('rpath-0.56.patch', when='@0.56:0.57')
patch('rpath-0.58.patch', when='@0.58:')
+ # Help meson recognize Intel OneAPI compilers
+ patch('https://patch-diff.githubusercontent.com/raw/mesonbuild/meson/pull/9850.patch',
+ sha256='72c77637f4dd5f8af5788dacf01c71d921cd4073af0aa0641a4b5111c50f59cb',
+ when='@0.60.0:')
executables = ['^meson$']