summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-11-01 10:06:54 +0100
committerMichał Górny <mgorny@gentoo.org>2020-11-01 10:15:58 +0100
commiteacd92adc31cc1f4d66d1905822dad68f57bc3be (patch)
tree6f3f8c94fc0eba25cc8c81c4e1d8d965183a452b /dev-libs/libclc
parentnet-analyzer/graphite-web: allow python3.8 now python-memcached got support (diff)
downloadgentoo-eacd92adc31cc1f4d66d1905822dad68f57bc3be.tar.gz
gentoo-eacd92adc31cc1f4d66d1905822dad68f57bc3be.tar.bz2
gentoo-eacd92adc31cc1f4d66d1905822dad68f57bc3be.zip
dev-libs/libclc: Fix selecting multiple targets
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-libs/libclc')
-rw-r--r--dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
index 16eb2901cc6c..7d1b7558a901 100644
--- a/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
+++ b/dev-libs/libclc/libclc-0.2.0_pre20201001.ebuild
@@ -45,8 +45,9 @@ src_configure() {
# TODO: spirv
[[ ${#libclc_targets[@]} ]] || die "libclc target missing!"
+ libclc_targets=${libclc_targets[*]}
local mycmakeargs=(
- -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets[*]}"
+ -DLIBCLC_TARGETS_TO_BUILD="${libclc_targets// /;}"
-DLLVM_CONFIG="$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
)
cmake_src_configure