diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-22 13:43:22 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2015-05-22 13:43:22 +0000 |
commit | 70622e24effd147a1d3e6206607f73ccdba33e8f (patch) | |
tree | 9f6ad37ec2977a564c47819340add467227c9dc0 /main/llvm/compiler-rt-0002-musl-no-sanitizers.patch | |
parent | 95623fb7c14e2129b8e4f39e947d99dc85d3e158 (diff) | |
download | aports-70622e24effd147a1d3e6206607f73ccdba33e8f.tar.bz2 aports-70622e24effd147a1d3e6206607f73ccdba33e8f.tar.xz |
Revert "main/llvm: update patchset, switch to cmake, perform two-stage build with a minimal bootstrap compile of clang, add clang extras, update package list to split out clang documentation"
This reverts commit 81d1b43c5af39e14cb91232c4afcb7839b96f5a1.
Diffstat (limited to 'main/llvm/compiler-rt-0002-musl-no-sanitizers.patch')
-rw-r--r-- | main/llvm/compiler-rt-0002-musl-no-sanitizers.patch | 61 |
1 files changed, 0 insertions, 61 deletions
diff --git a/main/llvm/compiler-rt-0002-musl-no-sanitizers.patch b/main/llvm/compiler-rt-0002-musl-no-sanitizers.patch deleted file mode 100644 index 433895a3b8..0000000000 --- a/main/llvm/compiler-rt-0002-musl-no-sanitizers.patch +++ /dev/null @@ -1,61 +0,0 @@ -From c6a6b4cd6b6516aa01595292086d53f9e47ca599 Mon Sep 17 00:00:00 2001 -From: Travis Tilley <ttilley@gmail.com> -Date: Sat, 9 May 2015 04:17:45 -0400 -Subject: [PATCH 2/2] dont build sanitizers on musl. they currently require too - many extensions to compile. - ---- - cmake/config-ix.cmake | 4 +++- - lib/Makefile.mk | 15 ++++++++------- - 2 files changed, 11 insertions(+), 8 deletions(-) - -diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake -index f6d48b3..26b6d8e 100644 ---- a/cmake/config-ix.cmake -+++ b/cmake/config-ix.cmake -@@ -186,13 +186,15 @@ filter_available_targets(PROFILE_SUPPORTED_ARCH x86_64 i386 i686 arm mips mips64 - filter_available_targets(TSAN_SUPPORTED_ARCH x86_64) - filter_available_targets(UBSAN_SUPPORTED_ARCH x86_64 i386 i686 arm aarch64 mips mipsel mips64 mips64el) - -+string(REGEX MATCH "musl[^-]*$" LLVM_ENV_MUSL ${LLVM_HOST_TRIPLE}) -+ - if(ANDROID) - set(OS_NAME "Android") - else() - set(OS_NAME "${CMAKE_SYSTEM_NAME}") - endif() - --if (SANITIZER_COMMON_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND -+if (SANITIZER_COMMON_SUPPORTED_ARCH AND NOT LLVM_USE_SANITIZER AND NOT LLVM_ENV_MUSL AND - (OS_NAME MATCHES "Android|Darwin|Linux|FreeBSD" OR - (OS_NAME MATCHES "Windows" AND MSVC AND CMAKE_SIZEOF_VOID_P EQUAL 4))) - set(COMPILER_RT_HAS_SANITIZER_COMMON TRUE) -diff --git a/lib/Makefile.mk b/lib/Makefile.mk -index ed9690d..28e17d9 100644 ---- a/lib/Makefile.mk -+++ b/lib/Makefile.mk -@@ -10,13 +10,14 @@ - SubDirs := - - # Add submodules. --SubDirs += asan -+#SubDirs += asan - SubDirs += builtins --SubDirs += dfsan -+#SubDirs += dfsan - SubDirs += interception --SubDirs += lsan --SubDirs += msan -+#SubDirs += lsan -+#SubDirs += msan - SubDirs += profile --SubDirs += sanitizer_common --SubDirs += tsan --SubDirs += ubsan -+#SubDirs += sanitizer_common -+#SubDirs += tsan -+#SubDirs += ubsan -+ --- -2.1.4 - |