This commit is contained in:
@@ -7,16 +7,9 @@
|
||||
therockRocm,
|
||||
}:
|
||||
let
|
||||
# TheRock's compiler bypasses the Nix cc wrapper.
|
||||
hostFlags = lib.concatStringsSep " " [
|
||||
"--gcc-toolchain=${stdenv.cc.cc}"
|
||||
"-idirafter ${stdenv.cc.libc.dev}/include"
|
||||
"-B${stdenv.cc.libc}/lib"
|
||||
"-L${stdenv.cc.libc}/lib"
|
||||
"-L${stdenv.cc.cc.lib}/lib"
|
||||
"-Wl,-rpath,${stdenv.cc.libc}/lib:${stdenv.cc.cc.lib}/lib"
|
||||
"-Wl,--dynamic-linker=${stdenv.cc.bintools.dynamicLinker}"
|
||||
];
|
||||
hostFlags = import ../../_lib/therock-host-flags.nix {
|
||||
inherit lib stdenv;
|
||||
};
|
||||
programs = [
|
||||
"strix_server"
|
||||
"convert_qwen4exp"
|
||||
|
||||
Reference in New Issue
Block a user