summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreugeneswalker <38933153+eugeneswalker@users.noreply.github.com>2024-06-13 09:13:41 -0700
committerGitHub <noreply@github.com>2024-06-13 09:13:41 -0700
commitf78beb71f759a65b4ee4eaeddc8343a8ae1b1fec (patch)
tree417d86794f73613f5ff7951d02c84a9b09638bc3
parent74210c7f469cf7d6ea72625b04817619c4cf657e (diff)
downloadspack-f78beb71f759a65b4ee4eaeddc8343a8ae1b1fec.tar.gz
spack-f78beb71f759a65b4ee4eaeddc8343a8ae1b1fec.tar.bz2
spack-f78beb71f759a65b4ee4eaeddc8343a8ae1b1fec.tar.xz
spack-f78beb71f759a65b4ee4eaeddc8343a8ae1b1fec.zip
tau@2.33.2 +rocm: patch to disable llvm plugin (#44690)
-rw-r--r--var/spack/repos/builtin/packages/tau/package.py3
-rw-r--r--var/spack/repos/builtin/packages/tau/tau-rocm-disable-llvm-plugin.patch19
2 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/tau/package.py b/var/spack/repos/builtin/packages/tau/package.py
index 3e6eb0b643..abc08b8592 100644
--- a/var/spack/repos/builtin/packages/tau/package.py
+++ b/var/spack/repos/builtin/packages/tau/package.py
@@ -178,6 +178,9 @@ class Tau(Package):
msg="Using ROCm, select either +rocprofiler, +roctracer or +rocprofv2",
)
+ # https://github.com/UO-OACISS/tau2/commit/1d2cb6b
+ patch("tau-rocm-disable-llvm-plugin.patch", when="@2.33.2 +rocm")
+
filter_compiler_wrappers("Makefile", relative_root="include")
filter_compiler_wrappers("Makefile.tau*", relative_root="lib")
filter_compiler_wrappers("Makefile.tau*", relative_root="lib64")
diff --git a/var/spack/repos/builtin/packages/tau/tau-rocm-disable-llvm-plugin.patch b/var/spack/repos/builtin/packages/tau/tau-rocm-disable-llvm-plugin.patch
new file mode 100644
index 0000000000..0f863c6a9a
--- /dev/null
+++ b/var/spack/repos/builtin/packages/tau/tau-rocm-disable-llvm-plugin.patch
@@ -0,0 +1,19 @@
+diff -ruN spack-src/configure spack-src-patched/configure
+--- spack-src/configure 2024-04-16 00:20:41.000000000 +0000
++++ spack-src-patched/configure 2024-06-12 19:35:50.799407280 +0000
+@@ -3101,7 +3101,6 @@
+ rocprofiler=yes
+ tauoptions="${tauoptions}-rocm"
+ pthread=yes
+- build_llvm_plugin=yes
+ shift
+ ;;
+
+@@ -3118,7 +3117,6 @@
+ rocprofiler=yes
+ tauoptions="${tauoptions}-rocm"
+ pthread=yes
+- build_llvm_plugin=yes
+ shift
+ ;;
+