From 95768ef3b680afbb54aa01dee19d87c79a50ff20 Mon Sep 17 00:00:00 2001 From: Madoura Date: Sat, 30 Sep 2023 12:13:59 -0500 Subject: [PATCH] llvmPackages_rocm: add big-parallel for clang-unwrapped, clang-tools-extra, and mlir --- pkgs/development/compilers/llvm/rocm/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/compilers/llvm/rocm/default.nix b/pkgs/development/compilers/llvm/rocm/default.nix index be2b7e4de375..045fcdae4803 100644 --- a/pkgs/development/compilers/llvm/rocm/default.nix +++ b/pkgs/development/compilers/llvm/rocm/default.nix @@ -72,6 +72,8 @@ let extraPostInstall = '' mv bin/clang-tblgen $out/bin ''; + + requiredSystemFeatures = [ "big-parallel" ]; }; lld = callPackage ./llvm.nix rec { @@ -437,6 +439,8 @@ in rec { # Cleanup empty directories find $out -type d -empty -delete ''; + + requiredSystemFeatures = [ "big-parallel" ]; }; # Projects @@ -549,6 +553,7 @@ in rec { ''; checkTargets = [ "check-${targetName}" ]; + requiredSystemFeatures = [ "big-parallel" ]; }; polly = callPackage ./llvm.nix rec {