[arch-commits] Commit in polly/trunk (PKGBUILD add-missing-loadPolly.patch)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Sat Oct 23 01:02:06 UTC 2021
Date: Saturday, October 23, 2021 @ 01:02:06
Author: foutrelis
Revision: 426447
upgpkg: polly 13.0.0-1: new upstream release
Added:
polly/trunk/add-missing-loadPolly.patch
Modified:
polly/trunk/PKGBUILD
-----------------------------+
PKGBUILD | 12 ++++++++----
add-missing-loadPolly.patch | 21 +++++++++++++++++++++
2 files changed, 29 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-23 00:54:41 UTC (rev 426446)
+++ PKGBUILD 2021-10-23 01:02:06 UTC (rev 426447)
@@ -1,7 +1,7 @@
# Maintainer: Evangelos Foutras <evangelos at foutrelis.com>
pkgname=polly
-pkgver=12.0.1
+pkgver=13.0.0
pkgrel=1
pkgdesc="High-level loop and data-locality optimizer and optimization infrastructure for LLVM"
arch=('x86_64')
@@ -11,10 +11,12 @@
makedepends=('llvm' 'cmake' 'ninja' 'python-sphinx')
_source_base=https://github.com/llvm/llvm-project/releases/download/llvmorg-$pkgver
source=($_source_base/$pkgname-$pkgver.src.tar.xz{,.sig}
+ add-missing-loadPolly.patch
$_source_base/llvm-$pkgver.src.tar.xz{,.sig})
-sha256sums=('2254e25312708a567b1ab00716362db379d265e47a97a94ed74211d57a4cd5f9'
+sha256sums=('cd93672c3be35146e199b1e221fb81a39403a0cdeabcad4a47ae878655eea872'
'SKIP'
- '7d9a8405f557cefc5a21bf5672af73903b64749d9bc3a50322239f56f34ffddf'
+ 'be0866a1c7d2677f6ba7625413dcd5bd7e47e86097b5c19f2057b50e6ed57eb0'
+ '408d11708643ea826f519ff79761fcdfc12d641a2510229eec459e72f8163020'
'SKIP')
validpgpkeys+=('B6C8F98282B944E3B0D5C2530FC3042E345AD05D') # Hans Wennborg <hans at chromium.org>
validpgpkeys+=('474E22316ABF4785A88C6E8EA2C794A986419D8A') # Tom Stellard <tstellar at redhat.com>
@@ -22,6 +24,8 @@
prepare() {
cd "$srcdir/$pkgname-$pkgver.src"
mkdir build
+
+ patch -Np2 -i ../add-missing-loadPolly.patch
}
build() {
@@ -49,7 +53,7 @@
cd "$srcdir/$pkgname-$pkgver.src/build"
DESTDIR="$pkgdir" ninja install
- install -Dm644 ../LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -Dm644 ../LICENSE.TXT "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
# Remove documentation sources
rm -r "$pkgdir"/usr/share/doc/$pkgname/html/{_sources,.buildinfo}
Added: add-missing-loadPolly.patch
===================================================================
--- add-missing-loadPolly.patch (rev 0)
+++ add-missing-loadPolly.patch 2021-10-23 01:02:06 UTC (rev 426447)
@@ -0,0 +1,21 @@
+From 15375631049acbf9c5729754ad5623a2670120a3 Mon Sep 17 00:00:00 2001
+From: Michael Kruse <llvm-project at meinersbur.de>
+Date: Tue, 24 Aug 2021 13:44:48 -0500
+Subject: [PATCH] [Polly][test] Add missing %loadPolly.
+
+This fixes check-polly when using the -load mechanism,
+i.e. LLVM_POLLY_LINK_INTO_TOOLS=OFF.
+---
+ polly/test/Isl/CodeGen/OpenMP/scev-rewriting.ll | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/polly/test/Isl/CodeGen/OpenMP/scev-rewriting.ll b/polly/test/Isl/CodeGen/OpenMP/scev-rewriting.ll
+index 13fffa3d9486d..0f6ca904e2592 100644
+--- a/polly/test/Isl/CodeGen/OpenMP/scev-rewriting.ll
++++ b/polly/test/Isl/CodeGen/OpenMP/scev-rewriting.ll
+@@ -1,4 +1,4 @@
+-; RUN: opt < %s -polly-vectorizer=polly -polly-parallel -polly-parallel-force -polly-process-unprofitable -polly-codegen -S | FileCheck %s
++; RUN: opt %loadPolly < %s -polly-vectorizer=polly -polly-parallel -polly-parallel-force -polly-process-unprofitable -polly-codegen -S | FileCheck %s
+ ; CHECK: define internal void @DoStringSort_polly_subfn
+ target datalayout = "e-m:e-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128"
+ target triple = "aarch64-unknown-linux-gnueabi"
More information about the arch-commits
mailing list