Unverified Commit 29a5366a authored by Mauricio Collares's avatar Mauricio Collares Committed by GitHub
Browse files

rocmPackages.tensile: bypass warning from cc-wrapper (#377629)

parents 3e42d1e7 2094f0d9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -173,3 +173,4 @@
../libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.array/sized_delete_array14.pass.cpp
../libcxx/test/std/language.support/support.dynamic/new.delete/new.delete.single/sized_delete14.pass.cpp
../libcxx/test/libcxx/selftest/sh.cpp/empty.sh.cpp
../libcxx/test/libcxx/transitive_includes.sh.cpp
+7 −0
Original line number Diff line number Diff line
@@ -12,6 +12,7 @@
  joblib,
  filelock,
  rocminfo,
  writeText,
}:

buildPythonPackage rec {
@@ -47,6 +48,12 @@ buildPythonPackage rec {
    export ROCM_PATH=${rocminfo}
  '';

  # TODO: remove this workaround once https://github.com/NixOS/nixpkgs/pull/323869
  # does not cause issues anymore, or at least replace it with a better workaround
  setupHook = writeText "setup-hook" ''
    export TENSILE_ROCM_ASSEMBLER_PATH="${stdenv.cc.cc}/bin/clang++";
  '';

  pythonImportsCheck = [ "Tensile" ];

  passthru.updateScript = rocmUpdateScript {
+7 −0
Original line number Diff line number Diff line
@@ -13,6 +13,7 @@
  joblib,
  filelock,
  rocminfo,
  writeText,
}:

buildPythonPackage rec {
@@ -61,6 +62,12 @@ buildPythonPackage rec {
    ROCM_PATH = rocminfo;
  };

  # TODO: remove this workaround once https://github.com/NixOS/nixpkgs/pull/323869
  # does not cause issues anymore, or at least replace it with a better workaround
  setupHook = writeText "setup-hook" ''
    export TENSILE_ROCM_ASSEMBLER_PATH="${stdenv.cc.cc}/bin/clang++";
  '';

  pythonImportsCheck = [ "Tensile" ];

  passthru.updateScript = rocmUpdateScript {