summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-01-24 18:43:35 +0100
committerMichał Górny <mgorny@gentoo.org>2017-01-24 20:07:51 +0100
commit8ad9cd3365550c2c5bef1d1a17d414826bd24320 (patch)
treef13f946367b974dff5fcfbebb0a10fa7efaac28f /dev-ml
parentsys-devel/llvm: Switch 4.0.0rc1 to tarballs, add keywords (diff)
downloadgentoo-8ad9cd3365550c2c5bef1d1a17d414826bd24320.tar.gz
gentoo-8ad9cd3365550c2c5bef1d1a17d414826bd24320.tar.bz2
gentoo-8ad9cd3365550c2c5bef1d1a17d414826bd24320.zip
dev-ml/llvm-ocaml: Switch 4.0.0rc1 to tarballs, add keywords
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/llvm-ocaml/Manifest1
-rw-r--r--dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild13
2 files changed, 7 insertions, 7 deletions
diff --git a/dev-ml/llvm-ocaml/Manifest b/dev-ml/llvm-ocaml/Manifest
new file mode 100644
index 000000000000..776e06d97a9a
--- /dev/null
+++ b/dev-ml/llvm-ocaml/Manifest
@@ -0,0 +1 @@
+DIST llvm-4.0.0rc1.src.tar.xz 20996760 SHA256 ccbff3a7af78efc12b5b7f749d184b4c8caf75621af4e05f640cbfa9f80f8604 SHA512 10b6fee561b9307490d5f20ce70b7e0099bd405e56c8330be9aa04673f39dbd712833e357a577a5106819336a1957dd73d288bbdd35286d56305d14d237dfd3d WHIRLPOOL 8559852df5d036a4d86a4555bcbeaab6bbb3b5e9cad9daa8c0f5e934e4fb7235bc05df55e09d38eb4d90832036d8b9f5b1ff8108e7d5ea01c86b00eecc0a3d13
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
index 44ebe0f2f3ae..d9e815d4bef0 100644
--- a/dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild
+++ b/dev-ml/llvm-ocaml/llvm-ocaml-4.0.0_rc1.ebuild
@@ -9,15 +9,12 @@ EAPI=6
CMAKE_MIN_VERSION=3.7.0-r1
PYTHON_COMPAT=( python2_7 )
-inherit cmake-utils git-r3 python-any-r1
+inherit cmake-utils python-any-r1
+MY_P=llvm-${PV/_/}
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"
+SRC_URI="http://www.llvm.org/pre-releases/${PV/_//}/${MY_P/_/}.src.tar.xz"
# Keep in sync with sys-devel/llvm
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
@@ -27,7 +24,7 @@ LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
LICENSE="UoI-NCSA"
SLOT="0/${PV}"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test ${ALL_LLVM_TARGETS[*]}"
RDEPEND="
@@ -47,6 +44,8 @@ DEPEND="${RDEPEND}
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|| ( ${ALL_LLVM_TARGETS[*]} )"
+S=${WORKDIR}/${MY_P/_/}.src
+
# least intrusive of all
CMAKE_BUILD_TYPE=RelWithDebInfo