public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/
Date: Sun, 29 Sep 2024 14:57:33 +0000 (UTC)	[thread overview]
Message-ID: <1727620942.c46969d390d2e1e2a893288656a6464a3eab1a47.conikost@gentoo> (raw)

commit:     c46969d390d2e1e2a893288656a6464a3eab1a47
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 13:50:39 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 14:42:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c46969d3

dev-libs/opencl-clang: add 19.1.0

Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 dev-libs/opencl-clang/Manifest                   |  1 +
 dev-libs/opencl-clang/opencl-clang-19.1.0.ebuild | 41 ++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-libs/opencl-clang/Manifest b/dev-libs/opencl-clang/Manifest
index ed5300a0cf88..4cfc4c7b625d 100644
--- a/dev-libs/opencl-clang/Manifest
+++ b/dev-libs/opencl-clang/Manifest
@@ -2,3 +2,4 @@ DIST opencl-clang-15.0.0.tar.gz 26212 BLAKE2B 02d3a8eb3964b6882bd94b676b4459412c
 DIST opencl-clang-16.0.0.tar.gz 28413 BLAKE2B c99f043171186f5d9e44618d5d637d6a5c7997f22577491f544e78d93edd5afe74ba88eaaea92a931dd87af71fb630fdf03d27f1a9f55d7c3b8bdf53dee54b07 SHA512 bf723edab7dc7a028eb79d01fd2306690a2169472760bf2783d593ffec4eb788f28f184c66b204cc074cb95a4149fcc63a1dcbee5563c620a9dc2c76bb5a2d5a
 DIST opencl-clang-17.0.0.tar.gz 28436 BLAKE2B dd86255e757d290fb0417d966098ad00ceb0440c83fa79d8bdaadc7ee9964b13810d27f93740f4b00b9c0e16e5c9b29213800d98042b6c211b45a9cd1402f038 SHA512 920e19c9c36fef1752bce46a1a240bfc0cdd22c09e5840520508c67ecd965524f5c1ce04d8879af146670377f758d3f457a8263338b84b6833e8916f10566698
 DIST opencl-clang-18.1.0.tar.gz 29006 BLAKE2B 7e115220a34f77a0291e8bfdb20850baebb17b61a69f4be8f4b3befafab6537daed3d0433916a0b6fa1a2b991eff40e3258ed11685375755ee2d9db14383304e SHA512 ce14b706b3624302008595e3104f299ef58d93a56ef95628f0f56c2e53a3a7ca1b1e5a989c41a33839fa5d4e126cca8537f2155113fd9781a43ac07f28b52ca4
+DIST opencl-clang-19.1.0.tar.gz 34156 BLAKE2B a52e2b7dfb101f459ab1b84e946a9a160200699ac0cb50fa87404fa5352a17a94b1f6bb40406214930f95612848e91b9e3c3772fe38453e04e17860d4ba51ed8 SHA512 d6e42869f8db2bda7182d6ae18405c4ec51d9ea3f60c79a39d9dec9d79414a388e96419aa3c2e657d8c9ffc42de4b4f00d006ff747095e546a821c1956b86058

diff --git a/dev-libs/opencl-clang/opencl-clang-19.1.0.ebuild b/dev-libs/opencl-clang/opencl-clang-19.1.0.ebuild
new file mode 100644
index 000000000000..144bbc11ff20
--- /dev/null
+++ b/dev-libs/opencl-clang/opencl-clang-19.1.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 19 )
+
+inherit cmake llvm-r1
+
+DESCRIPTION="OpenCL-oriented thin wrapper library around clang"
+HOMEPAGE="https://github.com/intel/opencl-clang"
+SRC_URI="https://github.com/intel/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${PV}"
+
+LICENSE="UoI-NCSA"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~riscv"
+
+RDEPEND="
+	dev-util/spirv-llvm-translator:${SLOT}=
+	$(llvm_gen_dep '
+		sys-devel/clang:${LLVM_SLOT}=[static-analyzer]
+		sys-devel/llvm:${LLVM_SLOT}=
+	')
+"
+
+DEPEND="${RDEPEND}"
+
+PATCHES=( "${FILESDIR}"/${PN}-17.0.0-clang_library_dir.patch )
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)"
+		-DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib
+		-DLLVM_VERSION_MAJOR="${LLVM_SLOT}"
+		-DUSE_PREBUILT_LLVM="ON"
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}


             reply	other threads:[~2024-09-29 14:57 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-29 14:57 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-09-23 10:15 [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/ Conrad Kostecki
2025-09-11 21:08 Conrad Kostecki
2025-09-11 21:08 Conrad Kostecki
2025-08-15 20:08 Conrad Kostecki
2025-08-10 22:38 Conrad Kostecki
2025-08-10 22:38 Conrad Kostecki
2025-01-11 23:23 Conrad Kostecki
2024-12-06 23:12 Conrad Kostecki
2024-12-06 23:12 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-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=1727620942.c46969d390d2e1e2a893288656a6464a3eab1a47.conikost@gentoo \
    --to=conikost@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