From 9dce0ab900cea5fcb7cffb01040f2d11b35f71c9 Mon Sep 17 00:00:00 2001 From: Jens Petersen Date: Mon, 12 Aug 2024 16:31:49 +0800 Subject: [PATCH] s390x also needs clang to build the rts --- ghc9.10.spec | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ghc9.10.spec b/ghc9.10.spec index cf43eec..65e4fff 100644 --- a/ghc9.10.spec +++ b/ghc9.10.spec @@ -142,8 +142,8 @@ BuildRequires: %{ghcboot}-transformers-devel BuildRequires: %{ghcboot}-unix-devel BuildRequires: alex BuildRequires: binutils%{?with_ld_gold:-gold} -BuildRequires: gmp-devel BuildRequires: gcc-c++ +BuildRequires: gmp-devel BuildRequires: libdwarf-devel BuildRequires: libffi-devel BuildRequires: libzstd-devel @@ -158,6 +158,7 @@ BuildRequires: python3-sphinx %endif %ifarch %{ghc_llvm_archs} BuildRequires: llvm%{llvm_major} +BuildRequires: clang%{llvm_major} %endif # needed for binary-dist-dir @@ -509,6 +510,7 @@ cd hadrian # # cabal-read (for OracleQ (PackageDataKey (Package {pkgType = Library, pkgName = "rts", pkgPath = "rts"}))) # rts/include/rts/Messages.h: withFile: resource exhausted (Too many open files) # https://koji.fedoraproject.org/koji/taskinfo?taskID=111327221 +# s390x failed once for -j3 https://gitlab.haskell.org/ghc/ghc/-/issues/25153 %global _smp_ncpus_max 64 # quickest does not build shared libs # try release instead of perf