s390x also needs clang to build the rts

This commit is contained in:
Jens Petersen 2024-08-12 16:31:49 +08:00
parent 03e46e8d1b
commit 9dce0ab900

View File

@ -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