The package rpms/clang8.0.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/clang8.0.git/commit/?id=d64a2bc0d....
Change:
+%ifarch s390 s390x %{arm} %ix86 ppc64le
Thanks.
Full change:
============
commit d64a2bc0d9b45f529ca1b7808aaaff4a6abd41e9
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Wed Sep 25 19:15:26 2019 +0000
Reduce debug info verbosity on ppc64le to avoid OOM errors in koji
diff --git a/clang.spec b/clang.spec
index 34a0906..9b1fca2 100644
--- a/clang.spec
+++ b/clang.spec
@@ -4,7 +4,7 @@
%global min_ver 0
%global patch_ver 0
#%%global rc_ver 4
-%global baserelease 4
+%global baserelease 5
%global clang_tools_binaries \
%{_bindir}/clangd \
@@ -244,7 +244,7 @@ sed -i 's/\@FEDORA_LLVM_LIB_SUFFIX\@//g' test/lit.cfg.py
mkdir -p _build
cd _build
-%ifarch s390 s390x %{arm} %ix86
+%ifarch s390 s390x %{arm} %ix86 ppc64le
# Decrease debuginfo verbosity to reduce memory consumption during final library linking
%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
%endif
@@ -256,6 +256,10 @@ cd _build
-DPYTHON_EXECUTABLE=%{__python3} \
-DCMAKE_SKIP_RPATH:BOOL=ON \
-DCMAKE_INSTALL_RPATH:BOOL=OFF \
+%ifarch s390 s390x %{arm} %ix86 ppc64le
+ -DCMAKE_C_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
+ -DCMAKE_CXX_FLAGS_RELWITHDEBINFO="%{optflags} -DNDEBUG" \
+%endif
%if 0%{?compat_build}
-DLLVM_CONFIG:FILEPATH=%{_bindir}/llvm-config-%{maj_ver}.%{min_ver}-%{__isa_bits} \
-DCMAKE_INSTALL_PREFIX=%{install_prefix} \
@@ -429,6 +433,9 @@ false
%endif
%changelog
+* Wed Sep 25 2019 Tom Stellard <tstellar(a)redhat.com> - 8.0.0-5
+- Reduce debug info verbosity on ppc64le to avoid OOM errors in koji
+
* Mon Sep 23 2019 Tom Stellard <tstellar(a)redhat.com> - 8.0.0-4
- Rebuild with fc32 dist tag