Loading pkgs/development/rocm-modules/rocprof-trace-decoder/default.nix +5 −5 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -59,11 +61,9 @@ stdenv.mkDerivation (finalAttrs: { checkPhase = let # - Sanitize tests fail because the UBSan runtime (__ubsan_vptr_type_cache) is not available for # 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)$"; skipPattern = "_sanitize$"; in '' runHook preCheck Loading pkgs/development/rocm-modules/rocprof-trace-decoder/fix-test-dependency.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line 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() Loading
pkgs/development/rocm-modules/rocprof-trace-decoder/default.nix +5 −5 Original line number Diff line number Diff line Loading @@ -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; Loading Loading @@ -59,11 +61,9 @@ stdenv.mkDerivation (finalAttrs: { checkPhase = let # - Sanitize tests fail because the UBSan runtime (__ubsan_vptr_type_cache) is not available for # 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)$"; skipPattern = "_sanitize$"; in '' runHook preCheck Loading
pkgs/development/rocm-modules/rocprof-trace-decoder/fix-test-dependency.patch 0 → 100644 +15 −0 Original line number Diff line number Diff line 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()