[arch-commits] Commit in llvm11/trunk (2 files)
Evangelos Foutras
foutrelis at archlinux.org
Thu May 27 05:19:00 UTC 2021
Date: Thursday, May 27, 2021 @ 05:18:59
Author: foutrelis
Revision: 416515
upgpkg: llvm11 11.1.0-1
Added:
llvm11/trunk/utils-benchmark-fix-missing-include.patch
Modified:
llvm11/trunk/PKGBUILD
-------------------------------------------+
PKGBUILD | 9 +++++++--
utils-benchmark-fix-missing-include.patch | 21 +++++++++++++++++++++
2 files changed, 28 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 05:03:42 UTC (rev 416514)
+++ PKGBUILD 2021-05-27 05:18:59 UTC (rev 416515)
@@ -12,9 +12,12 @@
options=('staticlibs')
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
source=($_source_base/llvm-$pkgver.src.tar.xz{,.sig}
+ utils-benchmark-fix-missing-include.patch
amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch)
-sha256sums=('c5d8e30b57cbded7128d78e5e8dad811bff97a8d471896812f57fa99ee82cdf3'
- 'SKIP')
+sha256sums=('ce8508e318a01a63d4e8b3090ab2ded3c598a50258cc49e2625b9120d4c03ea5'
+ 'SKIP'
+ '5f666675fd45848e4c4b0f94068f7648dd9ff88df4a7b19d2a9f2b83ee358a7e'
+ '85b6977005899bc76fcc548e0b6501cae5f50a8ad03060b9f58d03d775323327')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar at redhat.com>
@@ -22,6 +25,8 @@
cd "$srcdir/llvm-$pkgver.src"
mkdir build
+ patch -Np2 -i ../utils-benchmark-fix-missing-include.patch
+
# https://gitlab.freedesktop.org/mesa/mesa/-/issues/4107
# https://bugs.llvm.org/show_bug.cgi?id=48921#c2
patch -Np2 -i ../amdgpu-avoid-an-illegal-operand-in-si-shrink-instr.patch
Added: utils-benchmark-fix-missing-include.patch
===================================================================
--- utils-benchmark-fix-missing-include.patch (rev 0)
+++ utils-benchmark-fix-missing-include.patch 2021-05-27 05:18:59 UTC (rev 416515)
@@ -0,0 +1,21 @@
+From b498303066a63a203d24f739b2d2e0e56dca70d1 Mon Sep 17 00:00:00 2001
+From: serge-sans-paille <sguelton at redhat.com>
+Date: Tue, 10 Nov 2020 14:55:25 +0100
+Subject: [PATCH] [nfc] Fix missing include
+
+---
+ llvm/utils/benchmark/src/benchmark_register.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/llvm/utils/benchmark/src/benchmark_register.h b/llvm/utils/benchmark/src/benchmark_register.h
+index 0705e219f2fa..4caa5ad4da07 100644
+--- a/llvm/utils/benchmark/src/benchmark_register.h
++++ b/llvm/utils/benchmark/src/benchmark_register.h
+@@ -1,6 +1,7 @@
+ #ifndef BENCHMARK_REGISTER_H
+ #define BENCHMARK_REGISTER_H
+
++#include <limits>
+ #include <vector>
+
+ #include "check.h"
More information about the arch-commits
mailing list