summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/llvm/package.py
diff options
context:
space:
mode:
authorSergey Kosukhin <sergey.kosukhin@mpimet.mpg.de>2022-09-14 20:45:41 +0200
committerGitHub <noreply@github.com>2022-09-14 12:45:41 -0600
commitebb20eb8f8fcd2cf01fc127e82759e7050f4b074 (patch)
tree3f989d84d18043ac4894941b17a56a48d0d8c310 /var/spack/repos/builtin/packages/llvm/package.py
parent045a5e80cb546b08d89cf53914a7c67c5aa25665 (diff)
downloadspack-ebb20eb8f8fcd2cf01fc127e82759e7050f4b074.tar.gz
spack-ebb20eb8f8fcd2cf01fc127e82759e7050f4b074.tar.bz2
spack-ebb20eb8f8fcd2cf01fc127e82759e7050f4b074.tar.xz
spack-ebb20eb8f8fcd2cf01fc127e82759e7050f4b074.zip
llvm: fix detection of LLDB_PYTHON_EXE_RELATIVE_PATH (#32584)
Diffstat (limited to 'var/spack/repos/builtin/packages/llvm/package.py')
-rw-r--r--var/spack/repos/builtin/packages/llvm/package.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/llvm/package.py b/var/spack/repos/builtin/packages/llvm/package.py
index ff23d4ff75..cff8f2e758 100644
--- a/var/spack/repos/builtin/packages/llvm/package.py
+++ b/var/spack/repos/builtin/packages/llvm/package.py
@@ -377,6 +377,12 @@ class Llvm(CMakePackage, CudaPackage):
when="@8:11",
)
+ # fix detection of LLDB_PYTHON_EXE_RELATIVE_PATH
+ # see https://reviews.llvm.org/D133513
+ # TODO: adjust version constraint and switch to fetching from the upstream GitHub repo
+ # when/if the bugfix is merged
+ patch("D133513.diff", level=0, when="@14:15+lldb+python")
+
# The functions and attributes below implement external package
# detection for LLVM. See:
#