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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user