From: "Marek Szuba" <marecki@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/
Date: Mon, 7 Oct 2019 12:23:10 +0000 (UTC) [thread overview]
Message-ID: <1570450963.edfe01afc3718d43fd5c00dd9aefa56416a84898.marecki@gentoo> (raw)
commit: edfe01afc3718d43fd5c00dd9aefa56416a84898
Author: Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 7 12:13:12 2019 +0000
Commit: Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Mon Oct 7 12:22:43 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edfe01af
dev-libs/opencl-clang: pass $LLVM_MAX_SLOT to get_llvm_prefix()
When invoked without max_slot, get_llvm_prefix() iterates over *all*
LLVM slots known to llvm.eclass - including those exceeding LLVM_MAX_SLOT.
As a consequence, an ebuild can e.g. end up getting installed into llvm:9
directories in spite of having been linked against llvm:8.
Package-Manager: Portage-2.3.76, Repoman-2.3.16
Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>
.../opencl-clang-8.0.1_p20191001-r1.ebuild | 36 ++++++++++++++++++++++
1 file changed, 36 insertions(+)
diff --git a/dev-libs/opencl-clang/opencl-clang-8.0.1_p20191001-r1.ebuild b/dev-libs/opencl-clang/opencl-clang-8.0.1_p20191001-r1.ebuild
new file mode 100644
index 00000000000..616cb77c650
--- /dev/null
+++ b/dev-libs/opencl-clang/opencl-clang-8.0.1_p20191001-r1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-multilib llvm vcs-snapshot
+
+EGIT_COMMIT="94af090661d7c953c516c97a25ed053c744a0737"
+
+DESCRIPTION="OpenCL-oriented thin wrapper library around clang"
+HOMEPAGE="https://github.com/intel/opencl-clang"
+SRC_URI="https://github.com/intel/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="UoI-NCSA"
+SLOT="8"
+KEYWORDS="~amd64"
+
+BDEPEND="dev-vcs/git"
+COMMON="sys-devel/clang:8=[static-analyzer,${MULTILIB_USEDEP}]"
+DEPEND="${COMMON}
+ dev-util/spirv-llvm-translator:8=[${MULTILIB_USEDEP}]"
+RDEPEND="${COMMON}"
+
+LLVM_MAX_SLOT=8
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch
+)
+
+multilib_src_configure() {
+ local mycmakeargs=(
+ -DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+ -DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib/clang
+ )
+ cmake-utils_src_configure
+}
next reply other threads:[~2019-10-07 12:23 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-07 12:23 Marek Szuba [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-11 23:23 [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/ Conrad Kostecki
2024-12-06 23:12 Conrad Kostecki
2024-12-06 23:12 Conrad Kostecki
2024-09-29 14:57 Conrad Kostecki
2024-07-23 19:15 Arthur Zamarin
2024-06-22 20:23 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-04-17 11:39 Conrad Kostecki
2024-03-09 13:57 Conrad Kostecki
2023-08-14 17:57 Jakov Smolić
2023-06-25 20:05 Conrad Kostecki
2023-04-25 18:48 Jakov Smolić
2023-02-01 5:15 Michał Górny
2022-11-25 22:20 Conrad Kostecki
2022-10-26 20:09 Conrad Kostecki
2022-10-26 19:43 Conrad Kostecki
2022-09-25 23:12 Conrad Kostecki
2022-07-19 7:47 Michał Górny
2022-06-05 14:40 Conrad Kostecki
2022-04-29 21:08 Conrad Kostecki
2022-04-29 21:08 Conrad Kostecki
2022-04-24 22:35 Conrad Kostecki
2022-04-24 22:35 Conrad Kostecki
2022-04-24 22:35 Conrad Kostecki
2022-04-24 22:35 Conrad Kostecki
2022-04-23 15:27 Sam James
2021-10-08 21:46 Conrad Kostecki
2021-10-08 18:48 Agostino Sarubbo
2021-09-12 7:33 Sam James
2021-07-16 9:39 Joonas Niilola
2021-07-16 9:39 Joonas Niilola
2021-05-17 7:01 Michał Górny
2021-02-02 13:46 Joonas Niilola
2020-11-03 11:49 Marek Szuba
2020-11-03 11:40 Marek Szuba
2020-10-12 12:14 Marek Szuba
2020-09-24 12:11 Marek Szuba
2020-09-23 15:09 Marek Szuba
2020-09-13 13:47 Marek Szuba
2020-07-29 13:57 Marek Szuba
2020-06-22 20:57 Marek Szuba
2020-06-19 14:31 Marek Szuba
2020-06-19 14:31 Marek Szuba
2020-03-11 19:18 Marek Szuba
2020-03-11 19:18 Marek Szuba
2020-01-27 11:31 Marek Szuba
2020-01-25 19:53 Marek Szuba
2019-10-07 12:23 Marek Szuba
2019-10-01 21:54 Marek Szuba
2019-07-03 16:12 Marek Szuba
2019-07-03 13:46 Marek Szuba
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1570450963.edfe01afc3718d43fd5c00dd9aefa56416a84898.marecki@gentoo \
--to=marecki@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox