feat(rocm): Vendor SDK recipe and update to 10.1
Maintain the gfx1151 SDK locally using the official AMD archive. Use the TheRock patchelf pin and adapt LLVM auxiliary tools for pure Nix builds. Verify SDK installation, HIP and rocBLAS GPU operations, and rebuild its consumers. Document the internal rc3 stamp and upstream migration findings.
This commit is contained in:
@@ -52,11 +52,16 @@ let
|
||||
(old: {
|
||||
nativeBuildInputs = old.nativeBuildInputs ++ [ hipccFixed ];
|
||||
env.HIPFIRE_HIPCC = "${hipccFixed}/bin/hipcc";
|
||||
preBuild = (old.preBuild or "") + ''
|
||||
export CARGO_BUILD_JOBS="$NIX_BUILD_CORES"
|
||||
export HIPFIRE_PACK_JOBS="$NIX_BUILD_CORES"
|
||||
'';
|
||||
});
|
||||
|
||||
hipfireWithQuantize = pkgs.hipfire.overrideAttrs (_: {
|
||||
buildPhase = ''
|
||||
runHook preBuild
|
||||
export CARGO_BUILD_JOBS="$NIX_BUILD_CORES"
|
||||
cargo build --release -p hipfire-daemon
|
||||
cargo build --release -p hipfire-cli
|
||||
cargo build --release -p hipfire-quantize \
|
||||
|
||||
Reference in New Issue
Block a user