The package rpms/llvm.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/llvm.git/commit/?id=f3e54d7b77e05....
Change:
+%ifarch %{arm}
Thanks.
Full change:
============
commit f3e54d7b77e05c153006357e31d17ccaf7f0e2b4
Author: Tom Stellard <tstellar(a)redhat.com>
Date: Wed Mar 27 02:37:21 2019 +0000
Backport r351577 from trunk to fix ninja check failures
diff --git a/0001-Fix-the-buildbot-issue-introduced-by-r351421.patch
b/0001-Fix-the-buildbot-issue-introduced-by-r351421.patch
new file mode 100644
index 0000000..e34ffc7
--- /dev/null
+++ b/0001-Fix-the-buildbot-issue-introduced-by-r351421.patch
@@ -0,0 +1,29 @@
+From eaa421d1f9c3748c550e2a91fcb134a3d2a8ebff Mon Sep 17 00:00:00 2001
+From: Sanjin Sijaric <ssijaric(a)codeaurora.org>
+Date: Fri, 18 Jan 2019 19:34:20 +0000
+Subject: [PATCH] Fix the buildbot issue introduced by r351421
+
+The EXPENSIVE_CHECK x86_64 Windows buildbot is failing due to this change. Fix
+the map access.
+
+llvm-svn: 351577
+---
+ lib/MC/MCWin64EH.cpp | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/MC/MCWin64EH.cpp b/lib/MC/MCWin64EH.cpp
+index 8bc1f08..3ef1514 100644
+--- a/lib/MC/MCWin64EH.cpp
++++ b/lib/MC/MCWin64EH.cpp
+@@ -522,7 +522,7 @@ static void ARM64EmitUnwindInfo(MCStreamer &streamer,
WinEH::FrameInfo *info) {
+ if (MatchingEpilog) {
+ assert(EpilogInfo.find(MatchingEpilog) != EpilogInfo.end() &&
+ "Duplicate epilog not found");
+- EpilogInfo[EpilogStart] = EpilogInfo[MatchingEpilog];
++ EpilogInfo[EpilogStart] = EpilogInfo.lookup(MatchingEpilog);
+ // Clear the unwind codes in the EpilogMap, so that they don't get output
+ // in the logic below.
+ EpilogInstrs.clear();
+--
+1.8.3.1
+
diff --git a/llvm.spec b/llvm.spec
index 5af113f..218056b 100644
--- a/llvm.spec
+++ b/llvm.spec
@@ -40,7 +40,7 @@
Name: %{pkg_name}
Version: %{maj_ver}.%{min_ver}.%{patch_ver}
-Release: 3%{?rc_ver:.rc%{rc_ver}}%{?dist}
+Release: 4%{?rc_ver:.rc%{rc_ver}}%{?dist}
Summary: The Low Level Virtual Machine
License: NCSA
@@ -51,6 +51,7 @@ Source2: lit.fedora.cfg.py
Patch5: 0001-PATCH-llvm-config.patch
Patch7: 0001-PATCH-Filter-out-cxxflags-not-supported-by-clang.patch
+Patch8: 0001-Fix-the-buildbot-issue-introduced-by-r351421.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@@ -340,8 +341,14 @@ rm -Rf %{build_install_prefix}/share/opt-viewer
%check
# We have disabled rpath, so we need to add the build's library directory
# to LD_LIBRARY_PATH.
+# TODO: Fix test failures on arm
LD_LIBRARY_PATH=`pwd`/_build/%{_lib}:$LD_LIBRARY_PATH \
- ninja check-all -C _build || :
+ ninja check-all -C _build || \
+%ifarch %{arm}
+ :
+%else
+ false
+%endif
%ldconfig_scriptlets libs
@@ -454,6 +461,9 @@ fi
%endif
%changelog
+* Wed Mar 27 2019 Tom Stellard <tstellar(a)redhat.com> - 8.0.0-4
+- Backport r351577 from trunk to fix ninja check failures
+
* Tue Mar 26 2019 Tom Stellard <tstellar(a)redhat.com> - 8.0.0-3
- Fix ninja check