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 1CFA8138330 for ; Mon, 3 Oct 2016 09:38:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8A0F1E09FF; Mon, 3 Oct 2016 09:38:49 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 59012E09FF for ; Mon, 3 Oct 2016 09:38:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9449340E2F for ; Mon, 3 Oct 2016 09:38:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 392FE24A4 for ; Mon, 3 Oct 2016 09:38:45 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1475487512.4819e144ca29b2a49eac242f8418880c10435543.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-devel/clang-runtime/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-devel/clang-runtime/clang-runtime-3.9.0.ebuild sys-devel/clang-runtime/clang-runtime-9999.ebuild sys-devel/clang-runtime/metadata.xml X-VCS-Directories: sys-devel/clang-runtime/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 4819e144ca29b2a49eac242f8418880c10435543 X-VCS-Branch: master Date: Mon, 3 Oct 2016 09:38:45 +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-Archives-Salt: 389c57af-2959-4cdc-8e52-2337decd066c X-Archives-Hash: f7cf325edc23a0e19c63d525e4a74f1c commit: 4819e144ca29b2a49eac242f8418880c10435543 Author: Michał Górny gentoo org> AuthorDate: Mon Oct 3 08:42:29 2016 +0000 Commit: Michał Górny gentoo org> CommitDate: Mon Oct 3 09:38:32 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4819e144 sys-devel/clang-runtime: Introduce the runtime metapackage sys-devel/clang-runtime/clang-runtime-3.9.0.ebuild | 19 +++++++++++++++++ sys-devel/clang-runtime/clang-runtime-9999.ebuild | 24 ++++++++++++++++++++++ sys-devel/clang-runtime/metadata.xml | 13 ++++++++++++ 3 files changed, 56 insertions(+) diff --git a/sys-devel/clang-runtime/clang-runtime-3.9.0.ebuild b/sys-devel/clang-runtime/clang-runtime-3.9.0.ebuild new file mode 100644 index 00000000..0388e2c --- /dev/null +++ b/sys-devel/clang-runtime/clang-runtime-3.9.0.ebuild @@ -0,0 +1,19 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Meta-ebuild for clang runtime libraries" +HOMEPAGE="http://clang.llvm.org/" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libcxx openmp" + +# compiler-rt is installed unconditionally +RDEPEND=" + libcxx? ( ~sys-libs/libcxx-${PV} ) + openmp? ( ~sys-libs/libomp-${PV} )" diff --git a/sys-devel/clang-runtime/clang-runtime-9999.ebuild b/sys-devel/clang-runtime/clang-runtime-9999.ebuild new file mode 100644 index 00000000..a29a541 --- /dev/null +++ b/sys-devel/clang-runtime/clang-runtime-9999.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +DESCRIPTION="Meta-ebuild for clang runtime libraries" +HOMEPAGE="http://clang.llvm.org/" +SRC_URI="" + +LICENSE="metapackage" +SLOT="0" +KEYWORDS="" +IUSE="+compiler-rt libcxx openmp +sanitize" + +RDEPEND=" + compiler-rt? ( + ~sys-libs/compiler-rt-${PV} + sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV} ) + ) + libcxx? ( ~sys-libs/libcxx-${PV} ) + openmp? ( ~sys-libs/libomp-${PV} )" + +REQUIRED_USE="sanitize? ( compiler-rt )" diff --git a/sys-devel/clang-runtime/metadata.xml b/sys-devel/clang-runtime/metadata.xml new file mode 100644 index 00000000..f761b62 --- /dev/null +++ b/sys-devel/clang-runtime/metadata.xml @@ -0,0 +1,13 @@ + + + + + llvm@gentoo.org + + + Install sys-libs/compiler-rt for -rtlib=compiler-rt + Install sys-libs/libcxx for -stdlib=libc++ + Install sys-libs/libomp for -fopenmp support + Enable compiler-rt sanitizer (-fsanitize*) support + +