Unverified Commit d276a674 authored by Gavin Zhao's avatar Gavin Zhao
Browse files

rocmPackages: don't build arches in parallel in rccl



Signed-off-by: default avatarGavin Zhao <git@gzgz.dev>
parent f4f68f4f
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -65,7 +65,9 @@ stdenv.mkDerivation (finalAttrs: {

    # Really strange behavior, `#!/usr/bin/env perl` should work...
    substituteInPlace CMakeLists.txt \
      --replace "\''$ \''${hipify-perl_executable}" "${perl}/bin/perl ${hipify}/bin/hipify-perl"
      --replace "\''$ \''${hipify-perl_executable}" "${perl}/bin/perl ${hipify}/bin/hipify-perl" \
      --replace-warn "-parallel-jobs=12" "-parallel-jobs=1" \
      --replace-warn "-parallel-jobs=16" "-parallel-jobs=1"
  '';

  postInstall = lib.optionalString buildTests ''