From 1d012a21738523cc41b474143b50883807c907f3 Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Sun, 1 Jul 2018 16:55:15 +0200 Subject: [PATCH] llvm: Update from 6.0.0 to 6.0.1 --- ...issing-header-for-InstructionCombini.patch | 31 ------------------- packages/libllvm/build.sh | 11 +++---- 2 files changed, 5 insertions(+), 37 deletions(-) delete mode 100644 packages/libllvm/0001-Transforms-Add-missing-header-for-InstructionCombini.patch diff --git a/packages/libllvm/0001-Transforms-Add-missing-header-for-InstructionCombini.patch b/packages/libllvm/0001-Transforms-Add-missing-header-for-InstructionCombini.patch deleted file mode 100644 index ec5a20983..000000000 --- a/packages/libllvm/0001-Transforms-Add-missing-header-for-InstructionCombini.patch +++ /dev/null @@ -1,31 +0,0 @@ -From 7c9054610e354340f9474dcd13a927f929912d1d Mon Sep 17 00:00:00 2001 -From: Eugene Zelenko -Date: Tue, 6 Mar 2018 23:06:13 +0000 -Subject: [PATCH] [Transforms] Add missing header for InstructionCombining.cpp, - in order to export LLVMInitializeInstCombine as extern "C". Fixes PR35947. - -Patch by Brenton Bostick. - -Differential revision: https://reviews.llvm.org/D44140 - - -git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326843 91177308-0d34-0410-b5e6-96231b3b80d8 ---- - lib/Transforms/InstCombine/InstructionCombining.cpp | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/Transforms/InstCombine/InstructionCombining.cpp b/lib/Transforms/InstCombine/InstructionCombining.cpp -index a3b2fe9..7ec7343 100644 ---- a/lib/Transforms/InstCombine/InstructionCombining.cpp -+++ b/lib/Transforms/InstCombine/InstructionCombining.cpp -@@ -34,6 +34,7 @@ - //===----------------------------------------------------------------------===// - - #include "InstCombineInternal.h" -+#include "llvm-c/Initialization.h" - #include "llvm/ADT/APInt.h" - #include "llvm/ADT/ArrayRef.h" - #include "llvm/ADT/DenseMap.h" --- -1.8.3.1 - diff --git a/packages/libllvm/build.sh b/packages/libllvm/build.sh index 24381faad..68d2b08bb 100644 --- a/packages/libllvm/build.sh +++ b/packages/libllvm/build.sh @@ -1,12 +1,11 @@ TERMUX_PKG_HOMEPAGE=https://clang.llvm.org/ TERMUX_PKG_DESCRIPTION="Modular compiler and toolchain technologies library" _PKG_MAJOR_VERSION=6.0 -TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.0 -TERMUX_PKG_REVISION=3 -TERMUX_PKG_SHA256=(1ff53c915b4e761ef400b803f07261ade637b0c269d99569f18040f3dcee4408 - e07d6dd8d9ef196cfc8e8bb131cbd6a2ed0b1caf1715f9d05b0f0eeaddb6df32 - 6b8c4a833cf30230c0213d78dbac01af21387b298225de90ab56032ca79c0e0b - 7c0e050d5f7da3b057579fb3ea79ed7dc657c765011b402eb5bbe5663a7c38fc) +TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.1 +TERMUX_PKG_SHA256=(b6d6c324f9c71494c0ccaf3dac1f16236d970002b42bb24a6c9e1634f7d0f4e2 + 7c243f1485bddfdfedada3cd402ff4792ea82362ff91fbdac2dae67c6026b667 + e706745806921cea5c45700e13ebe16d834b5e3c0b7ad83bf6da1f28b0634e11 + 66afca2b308351b180136cf899a3b22865af1a775efaf74dc8a10c96d4721c5a) TERMUX_PKG_SRCURL=(https://releases.llvm.org/${TERMUX_PKG_VERSION}/llvm-${TERMUX_PKG_VERSION}.src.tar.xz https://releases.llvm.org/${TERMUX_PKG_VERSION}/cfe-${TERMUX_PKG_VERSION}.src.tar.xz https://llvm.org/releases/${TERMUX_PKG_VERSION}/lld-${TERMUX_PKG_VERSION}.src.tar.xz