Rebased papi from version 6.0.0 to 7.2.0. Updated the license tag to BSD-3-Clause and modified the Source0 URL to remove the -noiozone suffix. Removed old patches (papi-python3.patch, papi-config.patch, papi-lto.patch, papi-rhbz1923967.patch, papi-arm64fastread.patch, papi-701eventupdate.patch, papi-thread_init.patch, papi-71eventupdate.patch) and added new patches (papi-avail-path-fix.patch, papi-revert-event-depr.patch, papi-revert-arm-test.patch). Updated the configure line to remove --with-shlib option and modified chrpath command to use find for scrubbing rpath/runpath from binaries. Added *.hpp files to the devel package. Resolves: RHEL-121673 This commit was created by Jotnar, a Red Hat Enterprise Linux software maintenance AI agent. Assisted-by: Jotnar
35 lines
1.6 KiB
Diff
35 lines
1.6 KiB
Diff
From fd36e088d4fc883a2ab8979fcbeb8c669553f1d2 Mon Sep 17 00:00:00 2001
|
|
From: Aaron Merey <amerey@redhat.com>
|
|
Date: Tue, 8 Jul 2025 15:45:09 -0400
|
|
Subject: [PATCH] Avoid using srcdir path for papi_component_avail
|
|
|
|
---
|
|
src/run_tests.sh | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/src/run_tests.sh b/src/run_tests.sh
|
|
index 1b11e82..16b44e9 100755
|
|
--- a/src/run_tests.sh
|
|
+++ b/src/run_tests.sh
|
|
@@ -48,7 +48,7 @@ if [ "x$VALGRIND" != "x" ]; then
|
|
fi
|
|
|
|
# Check for active 'perf_event' component
|
|
-PERF_EVENT_ACTIVE=$(utils/papi_component_avail | awk '/Active components:/{flag=1; next} flag' | grep -q "perf_event" && echo "true" || echo "false")
|
|
+PERF_EVENT_ACTIVE=$(papi_component_avail | awk '/Active components:/{flag=1; next} flag' | grep -q "perf_event" && echo "true" || echo "false")
|
|
|
|
if [ "$PERF_EVENT_ACTIVE" = "true" ]; then
|
|
VTESTS=`find validation_tests/* -prune -perm -u+x -type f ! -name "*.[c|h]"`;
|
|
@@ -60,7 +60,7 @@ else
|
|
fi
|
|
|
|
# List of active components
|
|
-ACTIVE_COMPONENTS_PATTERN=$(utils/papi_component_avail | awk '/Active components:/{flag=1; next} flag' | grep "Name:" | sed 's/Name: //' | awk '{print $1}' | paste -sd'|' -)
|
|
+ACTIVE_COMPONENTS_PATTERN=$(papi_component_avail | awk '/Active components:/{flag=1; next} flag' | grep "Name:" | sed 's/Name: //' | awk '{print $1}' | paste -sd'|' -)
|
|
|
|
# Find the test files, filtering for only the active components
|
|
COMPTESTS=$(find components/*/tests -perm -u+x -type f ! \( -name "*.[c|h]" -o -name "*.cu" -o -name "*.so" \) | grep -E "components/($ACTIVE_COMPONENTS_PATTERN)/")
|
|
--
|
|
2.50.0
|
|
|