public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Matt Turner" <mattst88@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-llvm-translator/
Date: Sun,  9 Jun 2024 15:37:40 +0000 (UTC)	[thread overview]
Message-ID: <1717947456.16944dcb8cca5e4a4fb0c1729ac1e299f0ccb77b.mattst88@gentoo> (raw)

commit:     16944dcb8cca5e4a4fb0c1729ac1e299f0ccb77b
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Jun  9 15:31:08 2024 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Jun  9 15:37:36 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16944dcb

dev-util/spirv-llvm-translator: Version bump to 18.1.1

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-util/spirv-llvm-translator/Manifest            |  1 +
 .../spirv-llvm-translator-18.1.1.ebuild            | 63 ++++++++++++++++++++++
 2 files changed, 64 insertions(+)

diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest
index 8dc8889441eb..6ad673895b5a 100644
--- a/dev-util/spirv-llvm-translator/Manifest
+++ b/dev-util/spirv-llvm-translator/Manifest
@@ -2,3 +2,4 @@ DIST spirv-llvm-translator-15.0.0.tar.gz 1515145 BLAKE2B 1f93b55f8934ce7dbc9416b
 DIST spirv-llvm-translator-16.0.0.tar.gz 1542060 BLAKE2B bee72a776062266e60c5237396434ecba4e4da959ed52292ad08388bdd08d7749fd86cfac5c25af424032a1ba19f59b2d8c7eac0eaf50db6a4945841abe0836f SHA512 0bacacb89aa2b03d1173d1bfbcdd83fdce7441ebc3fff65e14dc5e901fc983861365a54c029b2a65075b6fa45046c30aa7bbad4e6150cf3382e7d050c598de98
 DIST spirv-llvm-translator-17.0.0.tar.gz 1601166 BLAKE2B c3e7a78fa55cd13ba61c024e2d3d82c47ac9dbf8c11bcbcf4ddc34a6838fb948885a263fd9af2d0f404b31f4c6e9226c9582e0f65b3220770e1af07cf85f4dac SHA512 ee54e597c678755cb48d677f81184d66616c7be934b570e04f0106e64c15f1cab124177b757f08a7713fa7fce981c74d61304d4554e6d198e6c14c53abf1e81c
 DIST spirv-llvm-translator-18.1.0.tar.gz 1689216 BLAKE2B 944463e64cf9ab8e90df7f599b979aa2b807340e41f94192b4581df836722e829169bf3fd301aeabbab3b70b046a3fbbc010a8ca600f65ec9466e807ea442c46 SHA512 ee124ae536a3fc1f25d0e4f9f553efb1755c5dba39d669d24a4acadb5a99938ce6018f82a8925181f3f05c86ae4bebf9e1bbaa0846fd611cace770f4d9baa984
+DIST spirv-llvm-translator-18.1.1.tar.gz 1694904 BLAKE2B 7e39a3592e02d3253b6e3c2583a9d0a38584e7e4ce91560dd9ec66c1fe4170fd486e5b7422afdae5da375bc878f33ce1852d2bc4c7ea426e8fd872391802ed70 SHA512 65aad3102d7484ac8a9ce8fdbaef3a0324540683a43e41fb03d8f21a9a58abebc4dfac7932d8fce7054d407b614e239370cda868a1afb15d0f16984116b3cbcb

diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.1.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.1.ebuild
new file mode 100644
index 000000000000..63f846f23177
--- /dev/null
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-18.1.1.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT="18"
+MY_PN="SPIRV-LLVM-Translator"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake flag-o-matic llvm multiprocessing
+
+DESCRIPTION="Bi-directional translator between SPIR-V and LLVM IR"
+HOMEPAGE="https://github.com/KhronosGroup/SPIRV-LLVM-Translator"
+SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="UoI-NCSA"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-util/spirv-tools
+	sys-devel/llvm:${SLOT}=
+"
+DEPEND="${RDEPEND}
+	>=dev-util/spirv-headers-1.3.280
+"
+BDEPEND="
+	virtual/pkgconfig
+	test? (
+		dev-python/lit
+		sys-devel/clang:${SLOT}
+	)
+"
+
+PATCHES=(
+)
+
+src_prepare() {
+	append-flags -fPIC
+	cmake_src_prepare
+
+	# https://github.com/KhronosGroup/SPIRV-LLVM-Translator/pull/2555
+	sed -i -e 's/%triple/x86_64-unknown-linux-gnu/' test/DebugInfo/X86/*.ll || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCCACHE_ALLOWED="OFF"
+		-DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix ${LLVM_MAX_SLOT})"
+		-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv"
+		-DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF")
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}
+
+src_test() {
+	lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die
+}


             reply	other threads:[~2024-06-09 15:37 UTC|newest]

Thread overview: 140+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-09 15:37 Matt Turner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-03-23 20:46 [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-llvm-translator/ Conrad Kostecki
2025-03-11 14:56 Michał Górny
2025-03-09 16:08 Conrad Kostecki
2025-03-08 23:21 Conrad Kostecki
2025-02-05 21:43 Conrad Kostecki
2025-02-04 22:38 Conrad Kostecki
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-04 17:16 Matt Turner
2025-02-02 18:25 Michał Górny
2025-02-01 13:15 Michał Górny
2025-02-01 13:14 Michał Górny
2025-02-01 13:14 Michał Górny
2025-02-01 10:05 Michał Górny
2025-01-22 19:15 Michał Górny
2025-01-21  4:39 Michał Górny
2025-01-21  4:39 Michał Górny
2025-01-15 18:48 Sam James
2025-01-15 18:48 Sam James
2025-01-15 18:18 Sam James
2025-01-15 18:18 Sam James
2025-01-10  4:12 WANG Xuerui
2025-01-10  4:12 WANG Xuerui
2025-01-09  6:36 Sam James
2025-01-09  1:17 Sam James
2025-01-02 16:22 Conrad Kostecki
2024-12-14 17:36 Arthur Zamarin
2024-12-13  6:53 Arthur Zamarin
2024-12-12 21:18 Conrad Kostecki
2024-12-10 20:50 Sam James
2024-12-10 20:46 Sam James
2024-12-09 19:20 Arthur Zamarin
2024-12-07 10:49 Arthur Zamarin
2024-12-06 23:38 Conrad Kostecki
2024-12-02 16:38 Matt Turner
2024-11-12  4:21 Matt Turner
2024-11-09  1:41 Conrad Kostecki
2024-10-23  7:53 Jakov Smolić
2024-10-23  7:53 Jakov Smolić
2024-10-22 22:26 Conrad Kostecki
2024-10-22 22:26 Conrad Kostecki
2024-10-22 22:26 Conrad Kostecki
2024-10-04 15:23 Matt Turner
2024-10-04  0:10 Sam James
2024-10-04  0:10 Sam James
2024-09-29  9:52 Conrad Kostecki
2024-09-24  0:36 Matt Turner
2024-09-23  4:08 Matt Turner
2024-09-21 20:29 Conrad Kostecki
2024-09-21 15:47 Conrad Kostecki
2024-09-09 16:07 Matt Turner
2024-09-02 19:25 Sam James
2024-09-02 19:25 Sam James
2024-09-02 17:52 Matt Turner
2024-08-02  4:41 Matt Turner
2024-07-23 17:42 Sam James
2024-07-23 16:45 Jakov Smolić
2024-07-23 16:45 Jakov Smolić
2024-07-11 15:41 Matt Turner
2024-07-02 17:00 Matt Turner
2024-06-09  3:31 Ionen Wolkens
2024-06-07 21:59 Matt Turner
2024-04-25 19:17 Matt Turner
2024-04-02  6:09 Arthur Zamarin
2024-03-01 19:46 Arthur Zamarin
2024-02-08 21:50 Conrad Kostecki
2024-01-21 13:38 Conrad Kostecki
2023-12-17 13:18 Mart Raudsepp
2023-09-25 20:47 Matt Turner
2023-09-22 21:47 Conrad Kostecki
2023-08-14 17:57 Jakov Smolić
2023-06-17 23:22 Sam James
2023-05-23  2:58 Matt Turner
2023-05-23  2:58 Matt Turner
2023-05-23  2:58 Matt Turner
2023-05-23  2:58 Matt Turner
2023-05-23  2:58 Matt Turner
2023-05-23  2:58 Matt Turner
2023-05-23  2:58 Matt Turner
2023-05-04  3:41 Michał Górny
2023-04-25 18:48 Jakov Smolić
2023-03-25  0:11 Conrad Kostecki
2023-02-01  5:15 Michał Górny
2022-12-11 20:37 Arthur Zamarin
2022-11-11  7:04 Sam James
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-25 21: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-24 14:41 Michał Górny
2022-04-23 15:27 Sam James
2021-12-27  1:38 Sam James
2021-12-27  1:38 Sam James
2021-10-08 21:46 Conrad Kostecki
2021-10-08 18:48 Agostino Sarubbo
2021-09-12  7:09 Agostino Sarubbo
2021-08-16 17:12 Conrad Kostecki
2021-07-16  9:39 Joonas Niilola
2021-02-27 14:39 Conrad Kostecki
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-13 13:12 Marek Szuba
2020-07-29 13:57 Marek Szuba
2020-06-19 14:31 Marek Szuba
2020-04-26 21:27 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-24 16:24 Marek Szuba
2019-10-08 14:57 Marek Szuba
2019-10-07 12:23 Marek Szuba
2019-10-07 12:23 Marek Szuba
2019-10-01 21:54 Marek Szuba
2019-08-30 14:40 Michał Górny
2019-07-08 11:44 Marek Szuba
2019-07-04 12:01 Marek Szuba
2019-07-03 16:12 Marek Szuba
2019-05-03 14:05 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=1717947456.16944dcb8cca5e4a4fb0c1729ac1e299f0ccb77b.mattst88@gentoo \
    --to=mattst88@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