diff --git a/pkgs/development/compilers/llvm/rocm/default.nix b/pkgs/development/compilers/llvm/rocm/default.nix index 7c82cc4330b..b6df2354f5e 100644 --- a/pkgs/development/compilers/llvm/rocm/default.nix +++ b/pkgs/development/compilers/llvm/rocm/default.nix @@ -29,6 +29,7 @@ let # Stage 1 # Base llvm = callPackage ./llvm.nix { + requiredSystemFeatures = [ "big-parallel" ]; isBroken = stdenv.isAarch64; # https://github.com/RadeonOpenCompute/ROCm/issues/1831#issuecomment-1278205344 }; diff --git a/pkgs/development/compilers/llvm/rocm/llvm.nix b/pkgs/development/compilers/llvm/rocm/llvm.nix index 6092bc1a9fc..5475f411304 100644 --- a/pkgs/development/compilers/llvm/rocm/llvm.nix +++ b/pkgs/development/compilers/llvm/rocm/llvm.nix @@ -39,6 +39,7 @@ ) )] , extraPostInstall ? "" +, requiredSystemFeatures ? [ ] , extraLicenses ? [ ] , isBroken ? false }: @@ -158,6 +159,8 @@ in stdenv.mkDerivation (finalAttrs: { }; }; + inherit requiredSystemFeatures; + meta = with lib; { description = "ROCm fork of the LLVM compiler infrastructure"; homepage = "https://github.com/RadeonOpenCompute/llvm-project";