From ab9c958d5f150b80e8d9577afdb0435cb36e80d8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 19 Jan 2017 10:01:30 +0100 Subject: [PATCH] dev-ml/llvm-ocaml: Bump to 4.0.0rc1 --- dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild | 121 ++++++++++++++++++ dev-ml/llvm-ocaml/llvm-ocaml-9999.ebuild | 2 +- 2 files changed, 122 insertions(+), 1 deletion(-) create mode 100644 dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild diff --git a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild new file mode 100644 index 000000000000..44ebe0f2f3ae --- /dev/null +++ b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild @@ -0,0 +1,121 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +: ${CMAKE_MAKEFILE_GENERATOR:=ninja} +# (needed due to CMAKE_BUILD_TYPE != Gentoo) +CMAKE_MIN_VERSION=3.7.0-r1 +PYTHON_COMPAT=( python2_7 ) + +inherit cmake-utils git-r3 python-any-r1 + +DESCRIPTION="OCaml bindings for LLVM" +HOMEPAGE="http://llvm.org/" +SRC_URI="" +EGIT_REPO_URI="http://llvm.org/git/llvm.git + https://github.com/llvm-mirror/llvm.git" +EGIT_BRANCH="release_40" +EGIT_COMMIT="c329efbc3c94928fb826ed146897aada0459c983" + +# Keep in sync with sys-devel/llvm +ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430 + NVPTX PowerPC RISCV Sparc SystemZ X86 XCore ) +ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" ) +LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?} + +LICENSE="UoI-NCSA" +SLOT="0/${PV}" +KEYWORDS="" +IUSE="test ${ALL_LLVM_TARGETS[*]}" + +RDEPEND=" + >=dev-lang/ocaml-4.00.0:0= + dev-ml/ocaml-ctypes:= + ~sys-devel/llvm-${PV}:=[${LLVM_TARGET_USEDEPS// /,}] + !sys-devel/llvm[ocaml(-)]" +# configparser-3.2 breaks the build (3.3 or none at all are fine) +DEPEND="${RDEPEND} + dev-lang/perl + dev-ml/findlib + test? ( dev-ml/ounit + $(python_gen_any_dep "~dev-python/lit-${PV}[\${PYTHON_USEDEP}]") ) + !!