summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/dev-libs/libclc/libclc-0_pre20170929.exheres-0 (renamed from packages/dev-libs/libclc/libclc-0_pre20160209.exheres-0)0
-rw-r--r--packages/dev-libs/libclc/libclc.exlib26
2 files changed, 9 insertions, 17 deletions
diff --git a/packages/dev-libs/libclc/libclc-0_pre20160209.exheres-0 b/packages/dev-libs/libclc/libclc-0_pre20170929.exheres-0
index 942b553..942b553 100644
--- a/packages/dev-libs/libclc/libclc-0_pre20160209.exheres-0
+++ b/packages/dev-libs/libclc/libclc-0_pre20170929.exheres-0
diff --git a/packages/dev-libs/libclc/libclc.exlib b/packages/dev-libs/libclc/libclc.exlib
index cd597a0..4fda897 100644
--- a/packages/dev-libs/libclc/libclc.exlib
+++ b/packages/dev-libs/libclc/libclc.exlib
@@ -3,36 +3,28 @@
export_exlib_phases src_configure
-if ever is_scm ; then
- SCM_REPOSITORY="http://llvm.org/git/libclc.git"
- require scm-git
-else
- DOWNLOADS="https://dev.exherbo.org/distfiles/${PNV}.tar.xz"
-fi
+SCM_REPOSITORY="https://git.llvm.org/git/libclc.git"
+ever is_scm || SCM_REVISION="0c31bd5e8d277bee26f34162c246a321f086ad55"
+require scm-git
SUMMARY="libclc is an implementation of the library requirements of the OpenCL C programming language"
-HOMEPAGE="http://libclc.llvm.org/"
+HOMEPAGE="https://libclc.llvm.org/"
LICENCES="|| ( UoI-NCSA MIT )"
SLOT="0"
MYOPTIONS=""
-if ever is_scm ; then
- LLVM_MIN_VER=3.9
-else
- LLVM_MIN_VER=3.7
-fi
-
DEPENDENCIES="
build:
dev-lang/python:*
build+run:
- dev-lang/clang[>=${LLVM_MIN_VER}]
- dev-lang/llvm[>=${LLVM_MIN_VER}]
+ dev-lang/clang[>=3.9]
+ dev-lang/llvm[>=3.9]
"
-libclc_src_configure()
-{
+DEFAULT_SRC_COMPILE_PARAMS=( VERBOSE=1 )
+
+libclc_src_configure() {
edo ./configure.py \
--prefix=/usr \
--includedir=/usr/$(exhost --target)/include \