From 6e1eae49c02c6686ef4f49d665723d4a44530e9a Mon Sep 17 00:00:00 2001 From: Fredrik Fornwall Date: Thu, 10 Mar 2016 18:19:59 -0500 Subject: [PATCH] clang: Update from 3.7.1 to 3.8.0 --- packages/clang/Makefile.patch | 11 +++++++++++ packages/clang/build.sh | 4 ++-- packages/clang/dont-build-c-index-test.patch | 14 +++++++------- 3 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 packages/clang/Makefile.patch diff --git a/packages/clang/Makefile.patch b/packages/clang/Makefile.patch new file mode 100644 index 000000000..e497da96f --- /dev/null +++ b/packages/clang/Makefile.patch @@ -0,0 +1,11 @@ +diff -u -r ../llvm-3.8.0.src/Makefile ./Makefile +--- ../llvm-3.8.0.src/Makefile 2014-03-25 17:45:41.000000000 -0400 ++++ ./Makefile 2016-03-10 16:28:00.142389801 -0500 +@@ -69,7 +69,6 @@ + ifeq ($(MAKECMDGOALS),install-clang) + DIRS := tools/clang/tools/driver tools/clang/lib/Headers \ + tools/clang/tools/libclang \ +- tools/clang/tools/c-index-test \ + tools/clang/include/clang-c \ + tools/clang/runtime tools/clang/docs \ + tools/lto diff --git a/packages/clang/build.sh b/packages/clang/build.sh index c893ff368..b649d9425 100644 --- a/packages/clang/build.sh +++ b/packages/clang/build.sh @@ -1,7 +1,7 @@ TERMUX_PKG_HOMEPAGE=http://clang.llvm.org/ TERMUX_PKG_DESCRIPTION="C and C++ frontend for the LLVM compiler" -_PKG_MAJOR_VERSION=3.7 -TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.1 +_PKG_MAJOR_VERSION=3.8 +TERMUX_PKG_VERSION=${_PKG_MAJOR_VERSION}.0 TERMUX_PKG_SRCURL=http://llvm.org/releases/${TERMUX_PKG_VERSION}/llvm-${TERMUX_PKG_VERSION}.src.tar.xz TERMUX_PKG_HOSTBUILD=true TERMUX_PKG_RM_AFTER_INSTALL="bin/macho-dump bin/bugpoint bin/llvm-tblgen lib/BugpointPasses.so lib/LLVMHello.so" diff --git a/packages/clang/dont-build-c-index-test.patch b/packages/clang/dont-build-c-index-test.patch index 3f4ce0af0..6558f9cf0 100644 --- a/packages/clang/dont-build-c-index-test.patch +++ b/packages/clang/dont-build-c-index-test.patch @@ -1,11 +1,11 @@ diff -u -r ../orig-src/tools/clang/tools/CMakeLists.txt ./tools/clang/tools/CMakeLists.txt ---- ../orig-src/tools/clang/tools/CMakeLists.txt 2014-03-06 11:07:50.000000000 +0100 -+++ ./tools/clang/tools/CMakeLists.txt 2014-03-06 11:06:10.000000000 +0100 -@@ -3,7 +3,6 @@ - add_subdirectory(clang-format) - add_subdirectory(clang-format-vs) +--- ../orig-src/tools/clang/tools/CMakeLists.txt 2016-01-12 21:03:50.000000000 -0500 ++++ ./tools/clang/tools/CMakeLists.txt 2016-03-10 16:32:04.320055824 -0500 +@@ -6,7 +6,6 @@ + add_clang_subdirectory(clang-format-vs) + add_clang_subdirectory(clang-fuzzer) --add_subdirectory(c-index-test) - add_subdirectory(libclang) +-add_clang_subdirectory(c-index-test) + add_clang_subdirectory(libclang) if(CLANG_ENABLE_ARCMT)