Merge pull request #232279 from kira-bruneau/llvmPackages_rocm

llvmPackages_rocm.llvm: build on big-parallel
This commit is contained in:
Kira Bruneau 2023-05-16 16:43:23 -04:00 committed by GitHub
commit f44f437676
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 0 deletions

View file

@ -29,6 +29,7 @@ let
# Stage 1 # Stage 1
# Base # Base
llvm = callPackage ./llvm.nix { llvm = callPackage ./llvm.nix {
requiredSystemFeatures = [ "big-parallel" ];
isBroken = stdenv.isAarch64; # https://github.com/RadeonOpenCompute/ROCm/issues/1831#issuecomment-1278205344 isBroken = stdenv.isAarch64; # https://github.com/RadeonOpenCompute/ROCm/issues/1831#issuecomment-1278205344
}; };

View file

@ -39,6 +39,7 @@
) )
)] )]
, extraPostInstall ? "" , extraPostInstall ? ""
, requiredSystemFeatures ? [ ]
, extraLicenses ? [ ] , extraLicenses ? [ ]
, isBroken ? false , isBroken ? false
}: }:
@ -158,6 +159,8 @@ in stdenv.mkDerivation (finalAttrs: {
}; };
}; };
inherit requiredSystemFeatures;
meta = with lib; { meta = with lib; {
description = "ROCm fork of the LLVM compiler infrastructure"; description = "ROCm fork of the LLVM compiler infrastructure";
homepage = "https://github.com/RadeonOpenCompute/llvm-project"; homepage = "https://github.com/RadeonOpenCompute/llvm-project";