From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id AB892138334 for ; Wed, 23 Jan 2019 19:40:21 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9CC74E0C10; Wed, 23 Jan 2019 19:40:21 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 643DDE0BFF for ; Wed, 23 Jan 2019 19:40:21 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 8C012335D27 for ; Wed, 23 Jan 2019 19:29:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C1741521 for ; Wed, 23 Jan 2019 19:29:40 +0000 (UTC) From: "Anthony G. Basile" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anthony G. Basile" Message-ID: <1548271719.e434cf4a9620f5bc8e156896bcfb2755f7ebe17d.blueness@gentoo> Subject: [gentoo-commits] proj/musl:master commit in: sys-libs/compiler-rt-sanitizers/ X-VCS-Repository: proj/musl X-VCS-Files: sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-6.0.1.ebuild sys-libs/compiler-rt-sanitizers/metadata.xml X-VCS-Directories: sys-libs/compiler-rt-sanitizers/ X-VCS-Committer: blueness X-VCS-Committer-Name: Anthony G. Basile X-VCS-Revision: e434cf4a9620f5bc8e156896bcfb2755f7ebe17d X-VCS-Branch: master Date: Wed, 23 Jan 2019 19:29:40 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 222734c6-8ba6-4f02-bab6-0381eb997ee5 X-Archives-Hash: 2a565434fbc15cd70ea3ecf0525e185e commit: e434cf4a9620f5bc8e156896bcfb2755f7ebe17d Author: stefson yahoo de> AuthorDate: Sat Jan 19 08:49:59 2019 +0000 Commit: Anthony G. Basile gentoo org> CommitDate: Wed Jan 23 19:28:39 2019 +0000 URL: https://gitweb.gentoo.org/proj/musl.git/commit/?id=e434cf4a sys-libs/compiler-rt-sanitizers: sync with tree Signed-off-by: Anthony G. Basile gentoo.org> .../compiler-rt-sanitizers-6.0.1.ebuild | 14 ++++++++------ sys-libs/compiler-rt-sanitizers/metadata.xml | 4 ++++ 2 files changed, 12 insertions(+), 6 deletions(-) diff --git a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-6.0.1.ebuild b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-6.0.1.ebuild index 7fe9367..f9dd2c1 100644 --- a/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-6.0.1.ebuild +++ b/sys-libs/compiler-rt-sanitizers/compiler-rt-sanitizers-6.0.1.ebuild @@ -23,7 +23,9 @@ SRC_URI="https://releases.llvm.org/${PV/_//}/${MY_P}.tar.xz LICENSE="|| ( UoI-NCSA MIT )" SLOT="${PV%_*}" KEYWORDS="amd64 x86" -IUSE="+clang test elibc_glibc" +IUSE="+clang +libfuzzer +profile +sanitize test +xray elibc_glibc" +# FIXME: libfuzzer does not enable all its necessary dependencies +REQUIRED_USE="libfuzzer? ( || ( sanitize xray ) )" RESTRICT="!test? ( test ) !clang? ( test )" CLANG_SLOT=${SLOT%%.*} @@ -40,7 +42,7 @@ DEPEND=" S=${WORKDIR}/${MY_P} -PATCHES=( "${FILESDIR}"/${PN}-6.0.1-musl-patches.patch +PATCHES=( "${FILESDIR}"/${PN}-6.0.1-musl-patches.patch "${FILESDIR}"/0001-fixup-for-interception_type_test.patch ) @@ -114,10 +116,10 @@ src_configure() { -DCOMPILER_RT_INCLUDE_TESTS=$(usex test) # built-ins installed by sys-libs/compiler-rt -DCOMPILER_RT_BUILD_BUILTINS=OFF - -DCOMPILER_RT_BUILD_LIBFUZZER=ON - -DCOMPILER_RT_BUILD_PROFILE=ON - -DCOMPILER_RT_BUILD_SANITIZERS=ON - -DCOMPILER_RT_BUILD_XRAY=ON + -DCOMPILER_RT_BUILD_LIBFUZZER=$(usex libfuzzer) + -DCOMPILER_RT_BUILD_PROFILE=$(usex profile) + -DCOMPILER_RT_BUILD_SANITIZERS=$(usex sanitize) + -DCOMPILER_RT_BUILD_XRAY=$(usex xray) ) if use test; then mycmakeargs+=( diff --git a/sys-libs/compiler-rt-sanitizers/metadata.xml b/sys-libs/compiler-rt-sanitizers/metadata.xml index 3b99602..8f5cbb8 100644 --- a/sys-libs/compiler-rt-sanitizers/metadata.xml +++ b/sys-libs/compiler-rt-sanitizers/metadata.xml @@ -7,5 +7,9 @@ Force building using installed clang (rather than the default CC/CXX). + Build fuzzing runtime. + Build profiling runtime. + Build sanitizer runtimes. + Build XRay runtime.