fix(rocm): Address package review findings
CI / check (push) Has been cancelled

This commit is contained in:
2026-11-12 23:55:09 +03:00
parent 8630307624
commit f2abdc96f9
6 changed files with 28 additions and 26 deletions
+4 -10
View File
@@ -33,16 +33,10 @@ let
tqdm
]
);
# The SDK compiler bypasses Nix's cc wrapper and needs explicit host paths.
hipHostFlags = lib.concatStringsSep " " [
"--gcc-toolchain=${stdenv.cc.cc}"
"-idirafter ${lib.getDev glibc}/include"
"-B${glibc}/lib"
"-L${glibc}/lib"
"-L${stdenv.cc.cc.lib}/lib"
"-Wl,-rpath,${glibc}/lib:${stdenv.cc.cc.lib}/lib"
"-Wl,--dynamic-linker=${stdenv.cc.bintools.dynamicLinker}"
];
hipHostFlags = import ../../_lib/therock-host-flags.nix {
inherit lib stdenv;
libc = glibc;
};
in
stdenv.mkDerivation (finalAttrs: {
pname = "strata";