rocmPackages.rocprofiler-register: remove GPU_TARGETS

This package only contains host code and so is not built for any specific GPU,
so it does not need GPU_TARGETS. This should reduce rebuilds needed for supporting
different combinations of gpuTargets across rocmPackages.
This commit is contained in:
Robin Voetter
2026-04-05 00:53:33 +00:00
parent 0099887252
commit 7520f4a03e
@@ -9,9 +9,7 @@
rocmUpdateScript,
cmake,
clang,
clr,
python3Packages,
gpuTargets ? clr.gpuTargets,
}:
stdenv.mkDerivation (finalAttrs: {
@@ -50,7 +48,6 @@ stdenv.mkDerivation (finalAttrs: {
python3Packages.pandas
];
cmakeFlags = [
"-DGPU_TARGETS=${lib.concatStringsSep ";" gpuTargets}"
"-DBUILD_TEST=OFF"
"-DROCPROFILER_BUILD_TESTS=0"
"-DROCPROFILER_BUILD_SAMPLES=0"