X-Original-To: alpine-aports@lists.alpinelinux.org Received: from fx.arvanta.net (static-213-198-238-194.adsl.eunet.rs [213.198.238.194]) by lists.alpinelinux.org (Postfix) with ESMTP id 30C3DF84D33 for ; Fri, 8 Feb 2019 19:06:40 +0000 (UTC) Received: from arya.arvanta.net (arya.arvanta.net [10.5.1.6]) by fx.arvanta.net (Postfix) with ESMTP id CD2521BF67; Fri, 8 Feb 2019 20:06:37 +0100 (CET) From: =?UTF-8?q?Milan=20P=2E=20Stani=C4=87?= To: alpine-aports@lists.alpinelinux.org Cc: =?UTF-8?q?Milan=20P=2E=20Stani=C4=87?= Subject: [alpine-aports] [PATCH] main/clang: upgrade to 6.0.1 Date: Fri, 8 Feb 2019 20:06:35 +0100 Message-Id: <20190208190635.4926-1-mps@arvanta.net> X-Mailer: git-send-email 2.20.1 X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit removed some unneeded patches, edited some and add some new add libexecinfo-dev to makedepends fix check() and analyzer() adapt removing some tests in prepare() to current version state --- main/clang/0001-Add-Alpine-Linux-distro.patch | 50 -------------- .../0002-Use-z-relro-on-Alpine-Linux.patch | 25 ------- ...-Use-hash-style-gnu-for-Alpine-Linux.patch | 25 ------- ...able-PIE-by-default-for-Alpine-Linux.patch | 69 ------------------- ...th-z-now-by-default-for-Alpine-Linux.patch | 28 -------- main/clang/APKBUILD | 34 +++++---- main/clang/lib-Driver-Distro.cpp.patch | 17 +++++ .../clang/lib-Driver-ToolChains-Gnu.cpp.patch | 15 ++++ main/clang/test-Driver-pic.patch | 21 ++++++ main/clang/use-llvm-lit.patch | 11 +++ 10 files changed, 80 insertions(+), 215 deletions(-) delete mode 100644 main/clang/0001-Add-Alpine-Linux-distro.patch delete mode 100644 main/clang/0002-Use-z-relro-on-Alpine-Linux.patch delete mode 100644 main/clang/0003-Use-hash-style-gnu-for-Alpine-Linux.patch delete mode 100644 main/clang/0005-Enable-PIE-by-default-for-Alpine-Linux.patch delete mode 100644 main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch create mode 100644 main/clang/lib-Driver-Distro.cpp.patch create mode 100644 main/clang/lib-Driver-ToolChains-Gnu.cpp.patch create mode 100644 main/clang/test-Driver-pic.patch create mode 100644 main/clang/use-llvm-lit.patch diff --git a/main/clang/0001-Add-Alpine-Linux-distro.patch b/main/clang/0001-Add-Alpine-Linux-distro.patch deleted file mode 100644 index 59e292f62e..0000000000 --- a/main/clang/0001-Add-Alpine-Linux-distro.patch +++ /dev/null @@ -1,50 +0,0 @@ -From 73460524593da572f34f2994a75d1d946613e54a Mon Sep 17 00:00:00 2001 -From: Jakub Jirutka -Date: Sun, 16 Apr 2017 16:49:00 +0100 -Subject: [PATCH 1/7] Add Alpine Linux distro - ---- - include/clang/Driver/Distro.h | 5 +++++ - lib/Driver/Distro.cpp | 3 +++ - 2 files changed, 8 insertions(+) - -diff --git a/include/clang/Driver/Distro.h b/include/clang/Driver/Distro.h -index fab4986..17775bf 100644 ---- a/include/clang/Driver/Distro.h -+++ b/include/clang/Driver/Distro.h -@@ -26,6 +26,7 @@ public: - // NB: Releases of a particular Linux distro should be kept together - // in this enum, because some tests are done by integer comparison against - // the first and last known member in the family, e.g. IsRedHat(). -+ AlpineLinux, - ArchLinux, - DebianLenny, - DebianSqueeze, -@@ -98,6 +99,10 @@ public: - /// @name Convenience Predicates - /// @{ - -+ bool IsAlpineLinux() const { -+ return DistroVal == AlpineLinux; -+ } -+ - bool IsRedhat() const { - return DistroVal == Fedora || (DistroVal >= RHEL5 && DistroVal <= RHEL7); - } -diff --git a/lib/Driver/Distro.cpp b/lib/Driver/Distro.cpp -index 2df297f..4cf2c2e 100644 ---- a/lib/Driver/Distro.cpp -+++ b/lib/Driver/Distro.cpp -@@ -129,6 +129,9 @@ static Distro::DistroType DetectDistro(vfs::FileSystem &VFS) { - if (VFS.exists("/etc/arch-release")) - return Distro::ArchLinux; - -+ if (VFS.exists("/etc/alpine-release")) -+ return Distro::AlpineLinux; -+ - return Distro::UnknownDistro; - } - --- -2.14.1 - diff --git a/main/clang/0002-Use-z-relro-on-Alpine-Linux.patch b/main/clang/0002-Use-z-relro-on-Alpine-Linux.patch deleted file mode 100644 index 5b176ac2c0..0000000000 --- a/main/clang/0002-Use-z-relro-on-Alpine-Linux.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 00ca60386046258f55b11313e9e63e6551698ee0 Mon Sep 17 00:00:00 2001 -From: Jakub Jirutka -Date: Sun, 16 Apr 2017 16:49:00 +0100 -Subject: [PATCH 2/7] Use "-z relro" on Alpine Linux - ---- - lib/Driver/ToolChains/Linux.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp -index 08a27fa..9dbf9bd 100644 ---- a/lib/Driver/ToolChains/Linux.cpp -+++ b/lib/Driver/ToolChains/Linux.cpp -@@ -210,7 +210,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) - - Distro Distro(D.getVFS()); - -- if (Distro.IsOpenSUSE() || Distro.IsUbuntu()) { -+ if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux()) { - ExtraOpts.push_back("-z"); - ExtraOpts.push_back("relro"); - } --- -2.14.1 - diff --git a/main/clang/0003-Use-hash-style-gnu-for-Alpine-Linux.patch b/main/clang/0003-Use-hash-style-gnu-for-Alpine-Linux.patch deleted file mode 100644 index 542fefcd20..0000000000 --- a/main/clang/0003-Use-hash-style-gnu-for-Alpine-Linux.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 54f4c1daac9e4489b48c477758217cd01c6c8f0a Mon Sep 17 00:00:00 2001 -From: Jakub Jirutka -Date: Sun, 16 Apr 2017 16:49:00 +0100 -Subject: [PATCH 3/7] Use --hash-style=gnu for Alpine Linux - ---- - lib/Driver/ToolChains/Linux.cpp | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp -index 9dbf9bd..1201df6 100644 ---- a/lib/Driver/ToolChains/Linux.cpp -+++ b/lib/Driver/ToolChains/Linux.cpp -@@ -232,7 +232,7 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) - // Android loader does not support .gnu.hash. - // Hexagon linker/loader does not support .gnu.hash - if (!IsMips && !IsAndroid && !IsHexagon) { -- if (Distro.IsRedhat() || Distro.IsOpenSUSE() || -+ if (Distro.IsRedhat() || Distro.IsOpenSUSE() || Distro.IsAlpineLinux() || - (Distro.IsUbuntu() && Distro >= Distro::UbuntuMaverick)) - ExtraOpts.push_back("--hash-style=gnu"); - --- -2.14.1 - diff --git a/main/clang/0005-Enable-PIE-by-default-for-Alpine-Linux.patch b/main/clang/0005-Enable-PIE-by-default-for-Alpine-Linux.patch deleted file mode 100644 index 782419ab44..0000000000 --- a/main/clang/0005-Enable-PIE-by-default-for-Alpine-Linux.patch +++ /dev/null @@ -1,69 +0,0 @@ -From bb174d2f1fd3b936c1c8b75b83c6fb15b3dece2c Mon Sep 17 00:00:00 2001 -From: Jakub Jirutka -Date: Sun, 16 Apr 2017 16:49:00 +0100 -Subject: [PATCH 5/7] Enable PIE by default for Alpine Linux - -Alpine Linux uses PIE by default. ---- - lib/Driver/ToolChains/Gnu.cpp | 4 +++- - lib/Driver/ToolChains/Linux.cpp | 5 ++++- - test/Driver/pic.c | 12 ++++++++++++ - 3 files changed, 19 insertions(+), 2 deletions(-) - -diff --git a/lib/Driver/ToolChains/Gnu.cpp b/lib/Driver/ToolChains/Gnu.cpp -index 40ad3f5..842afb9 100644 ---- a/lib/Driver/ToolChains/Gnu.cpp -+++ b/lib/Driver/ToolChains/Gnu.cpp -@@ -443,7 +443,9 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA, - if (!D.SysRoot.empty()) - CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); - -- if (IsPIE) -+ if (Args.hasArg(options::OPT_nopie)) -+ CmdArgs.push_back("-nopie"); -+ else if (IsPIE) - CmdArgs.push_back("-pie"); - - if (Args.hasArg(options::OPT_rdynamic)) -diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp -index 9eea3f0..ce9cf35 100644 ---- a/lib/Driver/ToolChains/Linux.cpp -+++ b/lib/Driver/ToolChains/Linux.cpp -@@ -819,7 +819,10 @@ void Linux::AddIAMCUIncludeArgs(const ArgList &DriverArgs, - } - } - --bool Linux::isPIEDefault() const { return getSanitizerArgs().requiresPIE(); } -+bool Linux::isPIEDefault() const { -+ return getSanitizerArgs().requiresPIE() || -+ Linux::getTriple().getVendorName().compare("alpine") == 0; -+} - - SanitizerMask Linux::getSupportedSanitizers() const { - const bool IsX86 = getTriple().getArch() == llvm::Triple::x86; -diff --git a/test/Driver/pic.c b/test/Driver/pic.c -index 6b01c58..0643edd 100644 ---- a/test/Driver/pic.c -+++ b/test/Driver/pic.c -@@ -251,6 +251,18 @@ - // RUN: %clang %s -target i386-pc-openbsd -no-pie -### 2>&1 \ - // RUN: | FileCheck %s --check-prefix=CHECK-NOPIE-LD - // -+// On Alpine Linux, we want similar PIE-by-default behavior -+// RUN: %clang -c %s -target x86_64-alpine-linux-musl -### 2>&1 \ -+// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 -+// RUN: %clang -c %s -target i686-alpine-linux-musl -### 2>&1 \ -+// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 -+// RUN: %clang -c %s -target armv6-alpine-linux-musleabihf -### 2>&1 \ -+// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 -+// RUN: %clang -c %s -target armv7-alpine-linux-musleabihf -### 2>&1 \ -+// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 -+// RUN: %clang %s -target x86_64-alpine-linux-musl -nopie -### 2>&1 \ -+// RUN: | FileCheck %s --check-prefix=CHECK-NOPIE-LD -+// - // On Android PIC is enabled by default - // RUN: %clang -c %s -target i686-linux-android -### 2>&1 \ - // RUN: | FileCheck %s --check-prefix=CHECK-PIC2 --- -2.14.1 - diff --git a/main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch b/main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch deleted file mode 100644 index a2bb49a6a6..0000000000 --- a/main/clang/0006-Link-with-z-now-by-default-for-Alpine-Linux.patch +++ /dev/null @@ -1,28 +0,0 @@ -From 2c6ae087cddd8a53e264814e404db8f3c29e4e53 Mon Sep 17 00:00:00 2001 -From: Jakub Jirutka -Date: Sun, 16 Apr 2017 16:49:00 +0100 -Subject: [PATCH 6/7] Link with -z now by default for Alpine Linux - ---- - lib/Driver/ToolChains/Linux.cpp | 5 +++++ - 1 file changed, 5 insertions(+) - -diff --git a/lib/Driver/ToolChains/Linux.cpp b/lib/Driver/ToolChains/Linux.cpp -index ce9cf35..1583c9d 100644 ---- a/lib/Driver/ToolChains/Linux.cpp -+++ b/lib/Driver/ToolChains/Linux.cpp -@@ -212,6 +212,11 @@ Linux::Linux(const Driver &D, const llvm::Triple &Triple, const ArgList &Args) - - Distro Distro(D.getVFS()); - -+ if (Distro.IsAlpineLinux()) { -+ ExtraOpts.push_back("-z"); -+ ExtraOpts.push_back("now"); -+ } -+ - if (Distro.IsOpenSUSE() || Distro.IsUbuntu() || Distro.IsAlpineLinux()) { - ExtraOpts.push_back("-z"); - ExtraOpts.push_back("relro"); --- -2.14.1 - diff --git a/main/clang/APKBUILD b/main/clang/APKBUILD index 604f5b1fce..f778c02084 100644 --- a/main/clang/APKBUILD +++ b/main/clang/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa pkgname=clang # Note: Update together with llvm. -pkgver=5.0.2 +pkgver=6.0.1 pkgrel=0 _llvmver=${pkgver%%.*} pkgdesc="A C language family front-end for LLVM" @@ -15,31 +15,30 @@ makedepends=" libedit-dev libxml2-dev libxml2-utils + libexecinfo-dev llvm-dev>=$_llvmver llvm-static>=$_llvmver llvm-test-utils>=$_llvmver - python2 " depends_dev="$pkgname=$pkgver-r$pkgrel" subpackages="$pkgname-static $pkgname-dev $pkgname-doc $pkgname-libs $pkgname-analyzer::noarch" source="https://releases.llvm.org/$pkgver/cfe-$pkgver.src.tar.xz - 0001-Add-Alpine-Linux-distro.patch - 0002-Use-z-relro-on-Alpine-Linux.patch - 0003-Use-hash-style-gnu-for-Alpine-Linux.patch + lib-Driver-Distro.cpp.patch 0004-Add-musl-targets.patch - 0005-Enable-PIE-by-default-for-Alpine-Linux.patch - 0006-Link-with-z-now-by-default-for-Alpine-Linux.patch + lib-Driver-ToolChains-Gnu.cpp.patch + test-Driver-pic.patch 0007-Enable-stack-protector-by-default-for-Alpine-Linux.patch 0008-Fix-ClangConfig-cmake-LLVM-path.patch + use-llvm-lit.patch " builddir="$srcdir/cfe-$pkgver.src" prepare() { default_prepare - # FIXME: fails on 5.0.0 - rm "$builddir/test/OpenMP/task_firstprivate_codegen.cpp" + # FIXME: fails on 6.0.1 + rm "$builddir/test/Driver/android-pie.c" } build() { @@ -69,7 +68,7 @@ build() { check() { cd "$builddir"/build - + [ -f bin/llvm-lit ] || ln -s /usr/bin/lit bin/llvm-lit make check-clang } @@ -89,7 +88,7 @@ static() { analyzer() { pkgdesc="Clang source code analysis framework" - depends="$pkgname=$pkgver-r$pkgrel perl python2" + depends="$pkgname=$pkgver-r$pkgrel perl python3" cd "$pkgdir" @@ -101,12 +100,11 @@ analyzer() { mv usr/share/scan-* "$subpkgdir"/usr/share/ } -sha512sums="9931afceb5569ad6caec85d506180c810f7fea94af8c997143b0a37cbf413fcea0d92520478610627eeee1efb65fde684066ace0dfcbbf7b61ecd709d22dd0b1 cfe-5.0.2.src.tar.xz -98ae759832b2f4c41152f8d16c909044c8d5afb1f4ef3ec10fdc8c3419b2ce8a14a21be989d3919f98869a46ee21f702651d59becb1c87b258846e0d81398358 0001-Add-Alpine-Linux-distro.patch -a45d766005500736a270204424e3b3ea6e2334f4807c431cfcb79563d34ac8d6f1519291b3b1422152e2888ee243a060733a09120c17c706d310f5e04a7daae9 0002-Use-z-relro-on-Alpine-Linux.patch -ca551fb4e8a844424c63e381c4e1e1239ee95548c7561d46d4e8ae01c65b5e46ece7c51021f152ad4aa10dcdd40c0638728b29aed93ddd65d9aeff2af2e878e8 0003-Use-hash-style-gnu-for-Alpine-Linux.patch +sha512sums="f64ba9290059f6e36fee41c8f32bf483609d31c291fcd2f77d41fecfdf3c8233a5e23b93a1c73fed03683823bd6e72757ed993dd32527de3d5f2b7a64bb031b9 cfe-6.0.1.src.tar.xz +965d54628d9468eb2373fb8ac71cfd0efb9930f9cd186bfc36af5791ae72cf546e967f3cd28bc5e1f508a7469b7f601dc700a56f9dc669823f07f751f89e4437 lib-Driver-Distro.cpp.patch 0ba4e6cb6d6854ef627f7f6d60f9f6843490e6c8f91dba7e238742574aecf3c07b1f5928850ce755fca9eac07ef3ce814728da58aa1ed9afb03a397ce4c30562 0004-Add-musl-targets.patch -08486325536871346b190b4af3a7b80b58a0066028e6268b06714eb00b29925b3b414ea62fa5ec4ff908763aeec4257536e04275b40c3d55e0a6c5b433625b5c 0005-Enable-PIE-by-default-for-Alpine-Linux.patch -fe5927b7851a97a5223d5b698c5dd01a47ef2fa23d9556cfee976aa7bda639af922785cbe34169e121aab79b38bbb1704aebaf11b1f4f41bcd448947f6e9562b 0006-Link-with-z-now-by-default-for-Alpine-Linux.patch +108b0240be7b8430df0021367072ab7a419d13b39e7e234cf63a4b4ab3cae7cc8511bbeb8e020966f1384c4c082faaaf8f48582f0d77b9513b0b08b9f63bfdc5 lib-Driver-ToolChains-Gnu.cpp.patch +1ba30d38da06cf63363dd4959ffe1822b6381dbc47eb5a8ddc25654912ddee9f6c26f2447731e63f60a1b7474fac849e8f2cb54b26d528a023b89f964c16c34d test-Driver-pic.patch 609ebc1c6cbccd43f8b08e6b653e6da996a09cdcf008744a56af7d8846f1e7a9fc6945d3cc68fba0d06071b6f8de796747606a34d1d5008e0dc620dc0812e3e0 0007-Enable-stack-protector-by-default-for-Alpine-Linux.patch -9485fe4fd6182df543735ed8f4ce618693d0faeafa86d3f9574a6c7abf50978e2d56e0a94be3ed94d515cc937c388d66ceff1bbc9bb120d371b6d3e95340da00 0008-Fix-ClangConfig-cmake-LLVM-path.patch" +9485fe4fd6182df543735ed8f4ce618693d0faeafa86d3f9574a6c7abf50978e2d56e0a94be3ed94d515cc937c388d66ceff1bbc9bb120d371b6d3e95340da00 0008-Fix-ClangConfig-cmake-LLVM-path.patch +8a596e7369b5791e7e9c3278320aa5bac30d91f27d9a0df335ea862c359623869353d12145c3b64730f721600522f3acc5abe706428091482e0209e4ff308175 use-llvm-lit.patch" diff --git a/main/clang/lib-Driver-Distro.cpp.patch b/main/clang/lib-Driver-Distro.cpp.patch new file mode 100644 index 0000000000..a0d1c1f7d9 --- /dev/null +++ b/main/clang/lib-Driver-Distro.cpp.patch @@ -0,0 +1,17 @@ +diff --git a/lib/Driver/Distro.cpp b/lib/Driver/Distro.cpp +index 2df297f..4cf2c2e 100644 +--- a/lib/Driver/Distro.cpp ++++ b/lib/Driver/Distro.cpp +@@ -129,6 +129,9 @@ static Distro::DistroType DetectDistro(vfs::FileSystem &VFS) { + if (VFS.exists("/etc/arch-release")) + return Distro::ArchLinux; + ++ if (VFS.exists("/etc/alpine-release")) ++ return Distro::AlpineLinux; ++ + return Distro::UnknownDistro; + } + +-- +2.14.1 + diff --git a/main/clang/lib-Driver-ToolChains-Gnu.cpp.patch b/main/clang/lib-Driver-ToolChains-Gnu.cpp.patch new file mode 100644 index 0000000000..834c83c46a --- /dev/null +++ b/main/clang/lib-Driver-ToolChains-Gnu.cpp.patch @@ -0,0 +1,15 @@ +diff --git a/lib/Driver/ToolChains/Gnu.cpp b/lib/Driver/ToolChains/Gnu.cpp +index 40ad3f5..842afb9 100644 +--- a/lib/Driver/ToolChains/Gnu.cpp ++++ b/lib/Driver/ToolChains/Gnu.cpp +@@ -443,7 +443,9 @@ void tools::gnutools::Linker::ConstructJob(Compilation &C, const JobAction &JA, + if (!D.SysRoot.empty()) + CmdArgs.push_back(Args.MakeArgString("--sysroot=" + D.SysRoot)); + +- if (IsPIE) ++ if (Args.hasArg(options::OPT_nopie)) ++ CmdArgs.push_back("-nopie"); ++ else if (IsPIE) + CmdArgs.push_back("-pie"); + + if (Args.hasArg(options::OPT_rdynamic)) diff --git a/main/clang/test-Driver-pic.patch b/main/clang/test-Driver-pic.patch new file mode 100644 index 0000000000..d2ce70b606 --- /dev/null +++ b/main/clang/test-Driver-pic.patch @@ -0,0 +1,21 @@ +--- a/test/Driver/pic.c 2017-12-19 20:05:04.000000000 +0100 ++++ /btest/Driver/pic.c 2019-01-26 01:45:03.487548751 +0100 +@@ -267,6 +267,18 @@ + // RUN: %clang %s -target i386-pc-openbsd -no-pie -### 2>&1 \ + // RUN: | FileCheck %s --check-prefix=CHECK-NOPIE-LD + // ++// On Alpine Linux, we want similar PIE-by-default behavior ++// RUN: %clang -c %s -target x86_64-alpine-linux-musl -### 2>&1 \ ++// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 ++// RUN: %clang -c %s -target i686-alpine-linux-musl -### 2>&1 \ ++// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 ++// RUN: %clang -c %s -target armv6-alpine-linux-musleabihf -### 2>&1 \ ++// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 ++// RUN: %clang -c %s -target armv7-alpine-linux-musleabihf -### 2>&1 \ ++// RUN: | FileCheck %s --check-prefix=CHECK-PIE2 ++// RUN: %clang %s -target x86_64-alpine-linux-musl -nopie -### 2>&1 \ ++// RUN: | FileCheck %s --check-prefix=CHECK-NOPIE-LD ++// + // On Android PIC is enabled by default, and PIE is enabled by default starting + // with API16. + // RUN: %clang -c %s -target i686-linux-android -### 2>&1 \ diff --git a/main/clang/use-llvm-lit.patch b/main/clang/use-llvm-lit.patch new file mode 100644 index 0000000000..0cbb848356 --- /dev/null +++ b/main/clang/use-llvm-lit.patch @@ -0,0 +1,11 @@ +--- cfe-6.0.1.src/test/CMakeLists.txt.old 2017-12-12 19:47:40.000000000 +0000 ++++ cfe-6.0.1.src/test/CMakeLists.txt 2018-09-13 17:01:03.690000000 +0000 +@@ -115,7 +115,7 @@ + + add_lit_testsuite(check-clang "Running the Clang regression tests" + ${CMAKE_CURRENT_BINARY_DIR} +- #LIT ${LLVM_LIT} ++ LIT ${LLVM_LIT} + PARAMS ${CLANG_TEST_PARAMS} + DEPENDS ${CLANG_TEST_DEPS} + ARGS ${CLANG_TEST_EXTRA_ARGS} -- 2.20.1 --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---