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-util/spirv-llvm-translator/
Date: Sat, 21 Sep 2024 20:29:52 +0000 (UTC)	[thread overview]
Message-ID: <1726950580.91639db0d39458ff9201d42e99f2d3169cec123d.conikost@gentoo> (raw)

commit:     91639db0d39458ff9201d42e99f2d3169cec123d
Author:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 21 20:28:43 2024 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sat Sep 21 20:29:40 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91639db0

dev-util/spirv-llvm-translator: add 19.1.0

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

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

diff --git a/dev-util/spirv-llvm-translator/Manifest b/dev-util/spirv-llvm-translator/Manifest
index 657c6325a205..a030f8894811 100644
--- a/dev-util/spirv-llvm-translator/Manifest
+++ b/dev-util/spirv-llvm-translator/Manifest
@@ -7,3 +7,4 @@ DIST spirv-llvm-translator-17.0.4.tar.gz 1631063 BLAKE2B c55c5160355b797d52f8368
 DIST spirv-llvm-translator-18.1.2.tar.gz 1694843 BLAKE2B 13409096e6ae69509a393741d674a89f5468797fd3ce51c06c69a766f1d34ba952b915013f1bc2aff3ea1524e863a81609d7179096a7b8141ded64a6b366546c SHA512 889cdc0960f6029129dad62f7afe6f61b51bed9d8fb9fa6b743318e2243252dce62cbacf71a2b56decec24ce37746b4b4787dd426ad76e2feb74e1781cb070c8
 DIST spirv-llvm-translator-18.1.3.tar.gz 1700577 BLAKE2B 0d92c6259956db9cb4a49c521dff7cbc0c4353ac779372bb92efb8ff4b1aa61d11ec35b56059e9d4ef22170e6550ba6eadd50f07b97811a65c81113758efeec6 SHA512 b47f4ddd2f404aaaa23e7eabe1450e7cc622809fcb0fb8679647b0f06e6340d36fc63286120580277db59e5a95ad61f086d61072adeeb060a5964436dca97186
 DIST spirv-llvm-translator-18.1.4.tar.gz 1701536 BLAKE2B f9326299bd239721752c2b8dacb7ad5b053e189aae2374848c581e3a6110789c4e4078c1efb69bf8fdd01b30df445821130e92c1285b9cb791dbd290f796d183 SHA512 f0f7e9c3e6544707bb20cbda523f6081be42f5acb513d99b326ed0753f8d285bfb301934fa7ea78fc60bcb5672306f0ffb8a7937cc731c2bb08b72f4b7f5ef61
+DIST spirv-llvm-translator-19.1.0.tar.gz 1751496 BLAKE2B 13fbd34642622721d0a2f46342e549e1ce0e654a5243a76b7b5b4ccfc655e764701015758cb9ce0ae0de64ae7625f6070bb40473b178d8fdee1d586ee86e296d SHA512 646e8d812390550469aa1f0f27c9a2af09a9c16f1e2a7ec3a952be88973f70eda5dae54251f0cfe955802b97579185d964d947c2ccc41e8e6c7a1a95908f0c42

diff --git a/dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.0.ebuild b/dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.0.ebuild
new file mode 100644
index 000000000000..69a16f04bd1d
--- /dev/null
+++ b/dev-util/spirv-llvm-translator/spirv-llvm-translator-19.1.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_COMPAT=( 19 )
+MY_PN="SPIRV-LLVM-Translator"
+MY_P="${MY_PN}-${PV}"
+
+inherit cmake-multilib flag-o-matic llvm-r1 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[${MULTILIB_USEDEP}]
+	sys-devel/llvm:${SLOT}=[${MULTILIB_USEDEP}]
+"
+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
+}
+
+multilib_src_configure() {
+	local mycmakeargs=(
+		-DCCACHE_ALLOWED="OFF"
+		-DCMAKE_INSTALL_PREFIX="$(get_llvm_prefix)"
+		-DLLVM_EXTERNAL_SPIRV_HEADERS_SOURCE_DIR="${ESYSROOT}/usr/include/spirv"
+		-DLLVM_SPIRV_INCLUDE_TESTS=$(usex test "ON" "OFF")
+		-Wno-dev
+	)
+
+	cmake_src_configure
+}
+
+multilib_src_test() {
+	lit -vv "-j${LIT_JOBS:-$(makeopts_jobs)}" "${BUILD_DIR}/test" || die
+}


             reply	other threads:[~2024-09-21 20:29 UTC|newest]

Thread overview: 93+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-21 20:29 Conrad Kostecki [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-12  4:21 [gentoo-commits] repo/gentoo:master commit in: dev-util/spirv-llvm-translator/ 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 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 15:37 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=1726950580.91639db0d39458ff9201d42e99f2d3169cec123d.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