rocmPackages.tensile: bypass warning from cc-wrapper (#377629)
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user