Browse Source

clang: Update from 3.7.1 to 3.8.0

android-5
Fredrik Fornwall 9 years ago
parent
commit
6e1eae49c0
  1. 11
      packages/clang/Makefile.patch
  2. 4
      packages/clang/build.sh
  3. 14
      packages/clang/dont-build-c-index-test.patch

11
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

4
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"

14
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)

Loading…
Cancel
Save