26 lines
664 B
Bash
26 lines
664 B
Bash
# Copyright 1999-2018 Gentoo Foundation
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit multilib-build
|
|
|
|
DESCRIPTION="Meta-ebuild for clang runtime libraries"
|
|
HOMEPAGE="https://clang.llvm.org/"
|
|
SRC_URI=""
|
|
|
|
LICENSE="metapackage"
|
|
# Note: keep it matching clang-9999 version
|
|
SLOT="7.0.0"
|
|
KEYWORDS=""
|
|
IUSE="+compiler-rt libcxx openmp +sanitize"
|
|
|
|
RDEPEND="
|
|
compiler-rt? (
|
|
~sys-libs/compiler-rt-${PV}:${SLOT}
|
|
sanitize? ( ~sys-libs/compiler-rt-sanitizers-${PV}:${SLOT} )
|
|
)
|
|
libcxx? ( >=sys-libs/libcxx-${PV}[${MULTILIB_USEDEP}] )
|
|
openmp? ( >=sys-libs/libomp-${PV}[${MULTILIB_USEDEP}] )"
|
|
|
|
REQUIRED_USE="sanitize? ( compiler-rt )"
|