# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=6 : ${CMAKE_MAKEFILE_GENERATOR:=ninja} # (needed due to lib32 find_library fix) CMAKE_MIN_VERSION=3.6.1-r1 DISTUTILS_OPTIONAL=1 PYTHON_COMPAT=( python2_7 ) inherit check-reqs cmake-utils distutils-r1 flag-o-matic git-r3 \ multilib-minimal pax-utils toolchain-funcs DESCRIPTION="Low Level Virtual Machine" HOMEPAGE="http://llvm.org/" SRC_URI="" EGIT_REPO_URI="http://llvm.org/git/llvm.git https://github.com/llvm-mirror/llvm.git" LICENSE="UoI-NCSA" SLOT="0/${PV%.*}" KEYWORDS="" IUSE="debug +doc gold libedit +libffi multitarget ncurses ocaml test video_cards_radeon elibc_musl kernel_Darwin" # python is needed for llvm-lit (which is installed) RDEPEND=" sys-libs/zlib:0= gold? ( >=sys-devel/binutils-2.22:*[cxx] ) libedit? ( dev-libs/libedit:0=[${MULTILIB_USEDEP}] ) libffi? ( >=virtual/libffi-3.0.13-r1:0=[${MULTILIB_USEDEP}] ) ncurses? ( >=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] ) ocaml? ( >=dev-lang/ocaml-4.00.0:0= dev-ml/findlib dev-ml/ocaml-ctypes ) ${PYTHON_DEPS}" # configparser-3.2 breaks the build (3.3 or none at all are fine) DEPEND="${RDEPEND} dev-lang/perl || ( >=sys-devel/gcc-3.0 >=sys-devel/llvm-3.5 ( >=sys-freebsd/freebsd-lib-9.1-r10 sys-libs/libcxx ) ) || ( >=sys-devel/binutils-2.18 >=sys-devel/binutils-apple-5.1 ) kernel_Darwin? (