16166f115b
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.
50 lines
1.6 KiB
Nix
50 lines
1.6 KiB
Nix
{ inputs, system }:
|
|
let
|
|
pkgs = import inputs.nixpkgs-engine {
|
|
inherit system;
|
|
config.allowUnfree = true;
|
|
overlays = [ inputs.hipfire.overlays.default ];
|
|
};
|
|
therock-rocm = pkgs.callPackage ../packages/therock-rocm/package.nix { };
|
|
hipfire = pkgs.callPackage ../packages/hipfire/package.nix {
|
|
hipfireSource = inputs.hipfire;
|
|
therockRocm = therock-rocm;
|
|
};
|
|
gufo = import ../packages/gufo/package.nix { inherit inputs system; };
|
|
in
|
|
builtins.mapAttrs
|
|
(
|
|
_: package:
|
|
if system == "x86_64-linux" then
|
|
package
|
|
else
|
|
{
|
|
meta.platforms = [ "x86_64-linux" ];
|
|
}
|
|
)
|
|
{
|
|
inherit hipfire therock-rocm gufo;
|
|
strixite = pkgs.callPackage ../packages/strixite/package.nix {
|
|
therockRocm = therock-rocm;
|
|
};
|
|
crucible-strix-halo = pkgs.callPackage ../packages/crucible-strix-halo/package.nix {
|
|
therockRocm = therock-rocm;
|
|
};
|
|
strata = pkgs.callPackage ../packages/strata/package.nix {
|
|
therockRocm = therock-rocm;
|
|
};
|
|
hipfire-kernels = hipfire.kernels;
|
|
xrt-amdxdna = gufo.xrt;
|
|
kyojin = pkgs.callPackage ../packages/kyojin/package.nix {
|
|
kyojin = inputs.kyojin.packages.${system}.kyojin;
|
|
jitCheck = inputs.kyojin.checks.${system}.kyojin-hipcc-smoke;
|
|
cpuCheck = inputs.kyojin.checks.${system}.kyojin-tests;
|
|
};
|
|
pwilkin-llama-cpp = pkgs.callPackage ../packages/pwilkin-llama-cpp/package.nix {
|
|
source = inputs.pwilkin-llama-cpp;
|
|
};
|
|
strix-llama-cpp = pkgs.callPackage ../packages/strix-llama-cpp/package.nix {
|
|
source = inputs.strix-llama-cpp;
|
|
};
|
|
}
|