rocmPackages.rocprof-trace-decoder: vendor PR to fix missing test dep (#496978)

This commit is contained in:
Gaétan Lepage
2026-03-05 20:08:37 +00:00
committed by GitHub
2 changed files with 20 additions and 5 deletions
@@ -29,6 +29,8 @@ stdenv.mkDerivation (finalAttrs: {
patches = [
./use-system-dependencies.patch
# https://github.com/ROCm/rocm-systems/pull/3800
./fix-test-dependency.patch
];
strictDeps = true;
@@ -59,11 +61,9 @@ stdenv.mkDerivation (finalAttrs: {
checkPhase =
let
# - Sanitize tests fail because the UBSan runtime (__ubsan_vptr_type_cache) is not available for
# LD_PRELOAD in the sandbox.
# - Validate tests fail because they depend on execute tests producing output files first, but
# CTest runs them concurrently without proper ordering.
skipPattern = "_(sanitize|validate)$";
# Sanitize tests fail because the UBSan runtime (__ubsan_vptr_type_cache) is not available for
# LD_PRELOAD in the sandbox.
skipPattern = "_sanitize$";
in
''
runHook preCheck
@@ -0,0 +1,15 @@
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt
index a923cadce53..95a4d3a807f 100644
--- a/test/CMakeLists.txt
+++ b/test/CMakeLists.txt
@@ -186,7 +186,9 @@ if(BUILD_INTEGRATION_TESTS)
WORKING_DIRECTORY
${TEST_BIN_DIR}
FIXTURES_REQUIRED
- unpack_data)
+ unpack_data
+ DEPENDS
+ ${DATA}_execute)
endif()
endforeach(DATA)
endif()