public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Joonas Niilola" <juippis@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/
Date: Tue,  2 Feb 2021 13:46:02 +0000 (UTC)	[thread overview]
Message-ID: <1612273556.157fe3daaa3837e2d95dc128f059adfb65f6b13e.juippis@gentoo> (raw)

commit:     157fe3daaa3837e2d95dc128f059adfb65f6b13e
Author:     Khue Nguyen <Z5483Y <AT> gmail <DOT> com>
AuthorDate: Sat Jan 16 00:55:05 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Tue Feb  2 13:45:56 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=157fe3da

dev-libs/opencl-clang: bump to 11.0.0

Signed-off-by: Khue Nguyen <Z5483Y <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-libs/opencl-clang/Manifest                   |  1 +
 dev-libs/opencl-clang/opencl-clang-11.0.0.ebuild | 43 ++++++++++++++++++++++++
 2 files changed, 44 insertions(+)

diff --git a/dev-libs/opencl-clang/Manifest b/dev-libs/opencl-clang/Manifest
index dfd01099a9f..1337910ae00 100644
--- a/dev-libs/opencl-clang/Manifest
+++ b/dev-libs/opencl-clang/Manifest
@@ -1,2 +1,3 @@
 DIST opencl-clang-10.0.0.1.tar.gz 23549 BLAKE2B 8663da4525507862835ebc14fb4666d9f2f3cca0a2c08aadfc2875bc285e604e81b21ccc7476976eea2e3eb1ce88ae7b187c2d0ce085fc3ede1a2dbfea0789eb SHA512 406e27d90ae26a2f8ade04172bf680f8786011c7e8357a40b15c8bbfd933d0f1c5e0c114e371036318439fcab999ec5f141dab2df4b498eb9d2548bf175f8502
 DIST opencl-clang-10.0.0.2.tar.gz 53935 BLAKE2B a0f1c1d8f9e4be24e63318daf38fc70a0372ee1dc5cb2443831b6bf64dd3d44ac3f52ca70de5f52dabab2b34a53d4efafd9c19598b471e6f3b855355c03cf4af SHA512 817cc7d977629e63b9d61bdf7ec8e93596f28102a321927507b035397c99e6e6eda1e5f36d0ed59c9949ba12baab32b138f5053a6bc84ba74211e199ddbf3109
+DIST opencl-clang-11.0.0.tar.gz 79487 BLAKE2B a5ec89c68dd31f53881a002fda0fa9f83b6355273a6f2085c6794a0c9a74ba44b8ac21175854a87427c30523f2dd024006050b77d90bbfa7041e4abfbf0bb9e5 SHA512 bd27d15d5e6f396f0b0a79fb1f2081033e26db1df701a37558f7b9976299e17cfb383beff8fb0f1a5ab63601648cac2a33e4de73100fd1ab8706161c52aabe3c

diff --git a/dev-libs/opencl-clang/opencl-clang-11.0.0.ebuild b/dev-libs/opencl-clang/opencl-clang-11.0.0.ebuild
new file mode 100644
index 00000000000..c359b97d9e1
--- /dev/null
+++ b/dev-libs/opencl-clang/opencl-clang-11.0.0.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+CMAKE_ECLASS=cmake
+
+inherit cmake-multilib llvm
+
+MY_PV="$(ver_rs 3 -)"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="OpenCL-oriented thin wrapper library around clang"
+HOMEPAGE="https://github.com/intel/opencl-clang"
+SRC_URI="https://github.com/intel/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="UoI-NCSA"
+SLOT="11"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${MY_P}"
+
+# Force a rebuild of this package once clang has been updated from 10.0.0 to 10.0.1
+# in order to work around Bug #743992. Hopefully a one-time thing.
+DEPEND="~sys-devel/clang-11.0.1:11=[static-analyzer,${MULTILIB_USEDEP}]
+	sys-devel/llvm:11=[${MULTILIB_USEDEP}]
+	>=dev-util/spirv-llvm-translator-11.0.0:11=[${MULTILIB_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+LLVM_MAX_SLOT=11
+
+PATCHES=(
+	"${FILESDIR}"/${PN}-8.0.0-clang_library_dir.patch
+	"${FILESDIR}"/${PN}-10.0.0.1_find-llvm-tblgen.patch
+)
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+		-DCLANG_LIBRARY_DIRS="${EPREFIX}"/usr/lib/clang
+	)
+	cmake_src_configure
+}


             reply	other threads:[~2021-02-02 13:46 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02 13:46 Joonas Niilola [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-29 14:57 [gentoo-commits] repo/gentoo:master commit in: dev-libs/opencl-clang/ 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
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=1612273556.157fe3daaa3837e2d95dc128f059adfb65f6b13e.juippis@gentoo \
    --to=juippis@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