diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-09 12:51:15 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-12-09 12:51:15 +0000 |
| commit | 0329e29c870fda45ade8c1f1fdab0fc374a9f83c (patch) | |
| tree | 6f763a1c05c79ad3f5163bef57f559dbb3190ce6 /dev-lang | |
| parent | a36fd7cfe9639fa78e8bd93ddd287298fe6bc893 (diff) | |
| download | baldeagleos-repo-0329e29c870fda45ade8c1f1fdab0fc374a9f83c.tar.gz baldeagleos-repo-0329e29c870fda45ade8c1f1fdab0fc374a9f83c.tar.xz baldeagleos-repo-0329e29c870fda45ade8c1f1fdab0fc374a9f83c.zip | |
Updating liguros repo
Diffstat (limited to 'dev-lang')
| -rw-r--r-- | dev-lang/ispc/ispc-1.14.1.ebuild | 14 | ||||
| -rw-r--r-- | dev-lang/ispc/ispc-9999.ebuild | 13 |
2 files changed, 17 insertions, 10 deletions
diff --git a/dev-lang/ispc/ispc-1.14.1.ebuild b/dev-lang/ispc/ispc-1.14.1.ebuild index 12c81313d6cd..97dd01348517 100644 --- a/dev-lang/ispc/ispc-1.14.1.ebuild +++ b/dev-lang/ispc/ispc-1.14.1.ebuild @@ -5,7 +5,9 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit cmake toolchain-funcs python-any-r1 +inherit cmake toolchain-funcs python-any-r1 llvm + +LLVM_MAX_SLOT=10 DESCRIPTION="Intel SPMD Program Compiler" HOMEPAGE="https://ispc.github.com/" @@ -22,10 +24,8 @@ LICENSE="BSD BSD-2 UoI-NCSA" SLOT="0" IUSE="examples" -RDEPEND=" - >=sys-devel/clang-3.0:* - >=sys-devel/llvm-3.0:* - " +RDEPEND="<sys-devel/clang-11:=" + DEPEND=" ${RDEPEND} ${PYTHON_DEPS} @@ -41,6 +41,10 @@ PATCHES=( "${FILESDIR}/${PN}-1.13.0-werror.patch" ) +llvm_check_deps() { + has_version -d "sys-devel/clang:${LLVM_SLOT}" +} + src_prepare() { if use amd64; then # On amd64 systems, build system enables x86/i686 build too. diff --git a/dev-lang/ispc/ispc-9999.ebuild b/dev-lang/ispc/ispc-9999.ebuild index 68f59a1015b1..90de8cbc249f 100644 --- a/dev-lang/ispc/ispc-9999.ebuild +++ b/dev-lang/ispc/ispc-9999.ebuild @@ -5,7 +5,9 @@ EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit cmake toolchain-funcs python-any-r1 +inherit cmake toolchain-funcs python-any-r1 llvm + +LLVM_MAX_SLOT=10 DESCRIPTION="Intel SPMD Program Compiler" HOMEPAGE="https://ispc.github.com/" @@ -22,10 +24,7 @@ LICENSE="BSD BSD-2 UoI-NCSA" SLOT="0" IUSE="examples" -RDEPEND=" - >=sys-devel/clang-3.0:* - >=sys-devel/llvm-3.0:* - " +RDEPEND="<sys-devel/clang-11:=" DEPEND=" ${RDEPEND} ${PYTHON_DEPS} @@ -41,6 +40,10 @@ PATCHES=( "${FILESDIR}/${PN}-1.13.0-werror.patch" ) +llvm_check_deps() { + has_version -d "sys-devel/clang:${LLVM_SLOT}" +} + src_prepare() { if use amd64; then # On amd64 systems, build system enables x86/i686 build too. |
