[arch-commits] Commit in ispc/repos/community-testing-x86_64 (6 files)

Evangelos Foutras foutrelis at archlinux.org
Thu Mar 22 21:56:13 UTC 2018


    Date: Thursday, March 22, 2018 @ 21:56:12
  Author: foutrelis
Revision: 310893

archrelease: copy trunk to community-testing-x86_64

Added:
  ispc/repos/community-testing-x86_64/0001-Remove-uses-of-LLVM-dump-functions.patch
    (from rev 310891, ispc/trunk/0001-Remove-uses-of-LLVM-dump-functions.patch)
  ispc/repos/community-testing-x86_64/PKGBUILD
    (from rev 310891, ispc/trunk/PKGBUILD)
  ispc/repos/community-testing-x86_64/llvm6.0_compat.diff
    (from rev 310891, ispc/trunk/llvm6.0_compat.diff)
Deleted:
  ispc/repos/community-testing-x86_64/0001-Remove-uses-of-LLVM-dump-functions.patch
  ispc/repos/community-testing-x86_64/PKGBUILD
  ispc/repos/community-testing-x86_64/llvm6.0_compat.diff

-----------------------------------------------+
 0001-Remove-uses-of-LLVM-dump-functions.patch |  168 ++++++++++++------------
 PKGBUILD                                      |   74 +++++-----
 llvm6.0_compat.diff                           |   26 +--
 3 files changed, 134 insertions(+), 134 deletions(-)

Deleted: 0001-Remove-uses-of-LLVM-dump-functions.patch
===================================================================
--- 0001-Remove-uses-of-LLVM-dump-functions.patch	2018-03-22 21:56:11 UTC (rev 310892)
+++ 0001-Remove-uses-of-LLVM-dump-functions.patch	2018-03-22 21:56:12 UTC (rev 310893)
@@ -1,84 +0,0 @@
-From 758e152a4832311818ea5b2bff0ac2e438b7a88a Mon Sep 17 00:00:00 2001
-From: Tom Stellard <tstellar at redhat.com>
-Date: Tue, 24 Oct 2017 09:45:53 -0700
-Subject: [PATCH] Remove uses of LLVM dump() functions
-
-These aren't exposed in release builds.
----
- llvmutil.cpp |  3 ++-
- opt.cpp      | 10 +++++-----
- 2 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/llvmutil.cpp b/llvmutil.cpp
-index 02bd729..b98b5f1 100644
---- a/llvmutil.cpp
-+++ b/llvmutil.cpp
-@@ -45,6 +45,7 @@
-   #include <llvm/IR/Instructions.h>
-   #include <llvm/IR/BasicBlock.h>
- #endif
-+#include <llvm/Support/raw_os_ostream.h>
- #include <set>
- #include <map>
- 
-@@ -1516,7 +1517,7 @@ lDumpValue(llvm::Value *v, std::set<llvm::Value *> &done) {
-         return;
- 
-     fprintf(stderr, "  ");
--    v->dump();
-+    v->print(llvm::errs());
-     done.insert(v);
- 
-     if (inst == NULL)
-diff --git a/opt.cpp b/opt.cpp
-index ef9e4c5..48106f4 100644
---- a/opt.cpp
-+++ b/opt.cpp
-@@ -169,7 +169,7 @@ static llvm::Pass *CreatePromoteLocalToPrivatePass();
-                   strlen(getenv("FUNC"))))) {                           \
-         fprintf(stderr, "Start of " NAME "\n");                \
-         fprintf(stderr, "---------------\n");                  \
--        bb.dump();                                             \
-+        bb.print(llvm::errs());                                \
-         fprintf(stderr, "---------------\n\n");                \
-     } else /* eat semicolon */
- 
-@@ -180,7 +180,7 @@ static llvm::Pass *CreatePromoteLocalToPrivatePass();
-                   strlen(getenv("FUNC"))))) {                           \
-         fprintf(stderr, "End of " NAME " %s\n", modifiedAny ? "** CHANGES **" : ""); \
-         fprintf(stderr, "---------------\n");                  \
--        bb.dump();                                             \
-+        bb.print(llvm::errs());                                \
-         fprintf(stderr, "---------------\n\n");                \
-     } else /* eat semicolon */
- 
-@@ -533,7 +533,7 @@ void
- Optimize(llvm::Module *module, int optLevel) {
-     if (g->debugPrint) {
-         printf("*** Code going into optimization ***\n");
--        module->dump();
-+        module->print(llvm::errs(), nullptr);
-     }
-     DebugPassManager optPM;
-     optPM.add(llvm::createVerifierPass(),0);
-@@ -928,7 +928,7 @@ Optimize(llvm::Module *module, int optLevel) {
- 
-     if (g->debugPrint) {
-         printf("\n*****\nFINAL OUTPUT\n*****\n");
--        module->dump();
-+        module->print(llvm::errs(), nullptr);
-     }
- 
- }
-@@ -4859,7 +4859,7 @@ bool
- DebugPass::runOnModule(llvm::Module &module) {
-     fprintf(stderr, "%s", str_output);
-     fflush(stderr);
--    module.dump();
-+    module.print(llvm::errs(), nullptr);
-     return true;
- }
- 
--- 
-1.8.3.1
-

Copied: ispc/repos/community-testing-x86_64/0001-Remove-uses-of-LLVM-dump-functions.patch (from rev 310891, ispc/trunk/0001-Remove-uses-of-LLVM-dump-functions.patch)
===================================================================
--- 0001-Remove-uses-of-LLVM-dump-functions.patch	                        (rev 0)
+++ 0001-Remove-uses-of-LLVM-dump-functions.patch	2018-03-22 21:56:12 UTC (rev 310893)
@@ -0,0 +1,84 @@
+From 758e152a4832311818ea5b2bff0ac2e438b7a88a Mon Sep 17 00:00:00 2001
+From: Tom Stellard <tstellar at redhat.com>
+Date: Tue, 24 Oct 2017 09:45:53 -0700
+Subject: [PATCH] Remove uses of LLVM dump() functions
+
+These aren't exposed in release builds.
+---
+ llvmutil.cpp |  3 ++-
+ opt.cpp      | 10 +++++-----
+ 2 files changed, 7 insertions(+), 6 deletions(-)
+
+diff --git a/llvmutil.cpp b/llvmutil.cpp
+index 02bd729..b98b5f1 100644
+--- a/llvmutil.cpp
++++ b/llvmutil.cpp
+@@ -45,6 +45,7 @@
+   #include <llvm/IR/Instructions.h>
+   #include <llvm/IR/BasicBlock.h>
+ #endif
++#include <llvm/Support/raw_os_ostream.h>
+ #include <set>
+ #include <map>
+ 
+@@ -1516,7 +1517,7 @@ lDumpValue(llvm::Value *v, std::set<llvm::Value *> &done) {
+         return;
+ 
+     fprintf(stderr, "  ");
+-    v->dump();
++    v->print(llvm::errs());
+     done.insert(v);
+ 
+     if (inst == NULL)
+diff --git a/opt.cpp b/opt.cpp
+index ef9e4c5..48106f4 100644
+--- a/opt.cpp
++++ b/opt.cpp
+@@ -169,7 +169,7 @@ static llvm::Pass *CreatePromoteLocalToPrivatePass();
+                   strlen(getenv("FUNC"))))) {                           \
+         fprintf(stderr, "Start of " NAME "\n");                \
+         fprintf(stderr, "---------------\n");                  \
+-        bb.dump();                                             \
++        bb.print(llvm::errs());                                \
+         fprintf(stderr, "---------------\n\n");                \
+     } else /* eat semicolon */
+ 
+@@ -180,7 +180,7 @@ static llvm::Pass *CreatePromoteLocalToPrivatePass();
+                   strlen(getenv("FUNC"))))) {                           \
+         fprintf(stderr, "End of " NAME " %s\n", modifiedAny ? "** CHANGES **" : ""); \
+         fprintf(stderr, "---------------\n");                  \
+-        bb.dump();                                             \
++        bb.print(llvm::errs());                                \
+         fprintf(stderr, "---------------\n\n");                \
+     } else /* eat semicolon */
+ 
+@@ -533,7 +533,7 @@ void
+ Optimize(llvm::Module *module, int optLevel) {
+     if (g->debugPrint) {
+         printf("*** Code going into optimization ***\n");
+-        module->dump();
++        module->print(llvm::errs(), nullptr);
+     }
+     DebugPassManager optPM;
+     optPM.add(llvm::createVerifierPass(),0);
+@@ -928,7 +928,7 @@ Optimize(llvm::Module *module, int optLevel) {
+ 
+     if (g->debugPrint) {
+         printf("\n*****\nFINAL OUTPUT\n*****\n");
+-        module->dump();
++        module->print(llvm::errs(), nullptr);
+     }
+ 
+ }
+@@ -4859,7 +4859,7 @@ bool
+ DebugPass::runOnModule(llvm::Module &module) {
+     fprintf(stderr, "%s", str_output);
+     fflush(stderr);
+-    module.dump();
++    module.print(llvm::errs(), nullptr);
+     return true;
+ }
+ 
+-- 
+1.8.3.1
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-22 21:56:11 UTC (rev 310892)
+++ PKGBUILD	2018-03-22 21:56:12 UTC (rev 310893)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-pkgname=ispc
-pkgver=1.9.2
-pkgrel=2
-pkgdesc="A compiler for high-performance SIMD programming on the CPU"
-arch=('x86_64')
-url="https://ispc.github.io/"
-license=('BSD')
-depends=('ncurses' 'zlib' 'llvm-libs')
-makedepends=('llvm' 'clang' 'python' 'lib32-glibc')
-source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/ispc/ispc/archive/v${pkgver}.tar.gz"
-        '0001-Remove-uses-of-LLVM-dump-functions.patch' # Borrowed from Fedora
-        'llvm6.0_compat.diff')
-sha256sums=('76a14e22f05a52fb0b30142686a6cb144b0415b39be6c9fcd3f17ac23447f0b2'
-            'aed52cba60197bd20b2aef12e93e2e640d3ef2596bf154fe4a6e0980cfe78cca'
-            '22077998f02898bdb2fd14e4decbc894686d8a84dd9877dace9a222fa1e3b84b')
-
-prepare() {
-  cd ${pkgname}-${pkgver}
-  patch -p1 -i ../0001-Remove-uses-of-LLVM-dump-functions.patch
-  patch -p1 -i ../llvm6.0_compat.diff
-}
-
-build() {
-  cd ${pkgname}-${pkgver}
-  make
-}
-
-package() {
-  cd ${pkgname}-${pkgver}
-  install -Dm755 ispc -t "${pkgdir}"/usr/bin/
-  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}
-

Copied: ispc/repos/community-testing-x86_64/PKGBUILD (from rev 310891, ispc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-03-22 21:56:12 UTC (rev 310893)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Lukas Jirkovsky <l.jirkovsky at gmail.com>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+pkgname=ispc
+pkgver=1.9.2
+pkgrel=3
+pkgdesc="A compiler for high-performance SIMD programming on the CPU"
+arch=('x86_64')
+url="https://ispc.github.io/"
+license=('BSD')
+depends=('ncurses' 'zlib' 'llvm-libs' 'clang')
+makedepends=('llvm' 'python' 'lib32-glibc')
+source=(${pkgname}-${pkgver}.tar.gz::"https://github.com/ispc/ispc/archive/v${pkgver}.tar.gz"
+        '0001-Remove-uses-of-LLVM-dump-functions.patch' # Borrowed from Fedora
+        'llvm6.0_compat.diff')
+sha256sums=('76a14e22f05a52fb0b30142686a6cb144b0415b39be6c9fcd3f17ac23447f0b2'
+            'aed52cba60197bd20b2aef12e93e2e640d3ef2596bf154fe4a6e0980cfe78cca'
+            '22077998f02898bdb2fd14e4decbc894686d8a84dd9877dace9a222fa1e3b84b')
+
+prepare() {
+  cd ${pkgname}-${pkgver}
+  patch -p1 -i ../0001-Remove-uses-of-LLVM-dump-functions.patch
+  patch -p1 -i ../llvm6.0_compat.diff
+}
+
+build() {
+  cd ${pkgname}-${pkgver}
+  make
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  install -Dm755 ispc -t "${pkgdir}"/usr/bin/
+  install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}
+

Deleted: llvm6.0_compat.diff
===================================================================
--- llvm6.0_compat.diff	2018-03-22 21:56:11 UTC (rev 310892)
+++ llvm6.0_compat.diff	2018-03-22 21:56:12 UTC (rev 310893)
@@ -1,13 +0,0 @@
-diff -rup ispc-1.9.2/ispc.cpp ispc-1.9.2.new/ispc.cpp
---- ispc-1.9.2/ispc.cpp	2017-11-11 00:07:30.000000000 +0100
-+++ ispc-1.9.2.new/ispc.cpp	2018-03-17 20:23:01.104377910 +0100
-@@ -59,7 +59,7 @@
-   #include <llvm/IR/Module.h>
-   #include <llvm/IR/Instructions.h>
- #endif
--#if ISPC_LLVM_VERSION >= ISPC_LLVM_3_6 // LLVM 3.6+
-+#if ISPC_LLVM_VERSION >= ISPC_LLVM_3_6 && ISPC_LLVM_VERSION < ISPC_LLVM_6_0 // LLVM 3.6-6.0
-   #include <llvm/Target/TargetSubtargetInfo.h>
-   #if ISPC_LLVM_VERSION >= ISPC_LLVM_3_7 // LLVM 3.7+
-     #include <llvm/Target/TargetLowering.h>
- 

Copied: ispc/repos/community-testing-x86_64/llvm6.0_compat.diff (from rev 310891, ispc/trunk/llvm6.0_compat.diff)
===================================================================
--- llvm6.0_compat.diff	                        (rev 0)
+++ llvm6.0_compat.diff	2018-03-22 21:56:12 UTC (rev 310893)
@@ -0,0 +1,13 @@
+diff -rup ispc-1.9.2/ispc.cpp ispc-1.9.2.new/ispc.cpp
+--- ispc-1.9.2/ispc.cpp	2017-11-11 00:07:30.000000000 +0100
++++ ispc-1.9.2.new/ispc.cpp	2018-03-17 20:23:01.104377910 +0100
+@@ -59,7 +59,7 @@
+   #include <llvm/IR/Module.h>
+   #include <llvm/IR/Instructions.h>
+ #endif
+-#if ISPC_LLVM_VERSION >= ISPC_LLVM_3_6 // LLVM 3.6+
++#if ISPC_LLVM_VERSION >= ISPC_LLVM_3_6 && ISPC_LLVM_VERSION < ISPC_LLVM_6_0 // LLVM 3.6-6.0
+   #include <llvm/Target/TargetSubtargetInfo.h>
+   #if ISPC_LLVM_VERSION >= ISPC_LLVM_3_7 // LLVM 3.7+
+     #include <llvm/Target/TargetLowering.h>
+ 



More information about the arch-commits mailing list