diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-23 10:22:15 +0100 |
commit | 8b4ace9c50842c5b83401ea7b179dcab940387e1 (patch) | |
tree | 230f3135ceaace633cf93e9838b185c4a6664c2e /dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild | |
parent | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (diff) |
gentoo resync : 23.09.2020
Diffstat (limited to 'dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild')
-rw-r--r-- | dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild index b5113c4912d6..4b31c121d43e 100644 --- a/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild +++ b/dev-util/intel-graphics-compiler/intel-graphics-compiler-1.0.4111.ebuild @@ -18,9 +18,7 @@ IUSE="debug" LLVM_MAX_SLOT=10 -# Bug #738934 -#COMMON="<=sys-devel/llvm-${LLVM_MAX_SLOT}.9999:=[${MULTILIB_USEDEP}] -COMMON="<sys-devel/llvm-10.0.1:=[${MULTILIB_USEDEP}] +COMMON="<=sys-devel/llvm-${LLVM_MAX_SLOT}.9999:=[${MULTILIB_USEDEP}] <=dev-libs/opencl-clang-${LLVM_MAX_SLOT}.9999:=[${MULTILIB_USEDEP}]" DEPEND="${COMMON}" RDEPEND="${COMMON}" @@ -32,6 +30,14 @@ PATCHES=( S="${WORKDIR}"/${PN}-igc-${PV} +pkg_pretend() { + if [[ ${MERGE_TYPE} != binary ]]; then + if tc-is-clang && [[ $(clang-major-version) -ge 10 ]] ; then + die "Building IGC with clang-10 and newer is presently not supported (see Bug #738934). Please use clang-9 or gcc instead." + fi + fi +} + multilib_src_configure() { # Select the same slot as the best opencl-clang local ocl_clang_ver="$(best_version -d dev-libs/opencl-clang:=)" |