From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/
Date: Sat, 24 Dec 2022 14:03:18 +0000 (UTC) [thread overview]
Message-ID: <1671890584.e03dbe1a2fe010085615279f76893d209258dae4.asturm@gentoo> (raw)
commit: e03dbe1a2fe010085615279f76893d209258dae4
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 24 14:02:24 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Dec 24 14:03:04 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e03dbe1a
dev-lang/ispc: Revert "drop 1.17.0-r2"
This reverts commit 01a8653e5090a4363e02b13bc6c6de706789f103.
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-lang/ispc/Manifest | 1 +
dev-lang/ispc/ispc-1.17.0-r2.ebuild | 78 +++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/dev-lang/ispc/Manifest b/dev-lang/ispc/Manifest
index 5357aeb5efa4..11843f8095de 100644
--- a/dev-lang/ispc/Manifest
+++ b/dev-lang/ispc/Manifest
@@ -1 +1,2 @@
+DIST ispc-1.17.0.tar.gz 19436681 BLAKE2B 11af6e22c4c297a2fbd0ae1bfe2a37ce2f836607b2caf42634cff0b0fe1116542e71f056de12e3472724db04f1c5174c0deb47c2bd64fb756b4bdaef48935707 SHA512 b1c67381bb8b71d268c6e68c95cc5e2d64411ce351506de96d31850b879f7777fbc1cb33f3761437f84e52ae726fabbb794ebba9cf05d5200acaca07a2ebf0ac
DIST ispc-1.18.0.tar.gz 19469764 BLAKE2B dd95ec177120899066d5539add0f35685d73f65512e8be1cc42cf6725741d7f307fbecefc22c4944d9be0e3659d511546b15506213f3dbb97829953507996283 SHA512 350b43876d6885ab4c5c0d49c5b44323fd258d5cf7c68fcdea774baa92589542f2caeea93c347a37f0dab3dcf14e7b3e685973b41694f08ce7a2da64dc81bf06
diff --git a/dev-lang/ispc/ispc-1.17.0-r2.ebuild b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
new file mode 100644
index 000000000000..804e3471c52c
--- /dev/null
+++ b/dev-lang/ispc/ispc-1.17.0-r2.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..10} )
+LLVM_MAX_SLOT=14
+inherit cmake python-any-r1 llvm
+
+DESCRIPTION="Intel SPMD Program Compiler"
+HOMEPAGE="https://ispc.github.io/"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/ispc/ispc.git"
+else
+ SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86"
+fi
+
+LICENSE="BSD BSD-2 UoI-NCSA"
+SLOT="0"
+IUSE="examples"
+
+RDEPEND="<sys-devel/clang-$((${LLVM_MAX_SLOT} + 1)):="
+DEPEND="${RDEPEND}"
+BDEPEND="
+ sys-devel/bison
+ sys-devel/flex
+ ${PYTHON_DEPS}
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.18.0-llvm.patch"
+)
+
+CMAKE_BUILD_TYPE="RelWithDebInfo"
+
+pkg_setup() {
+ llvm_pkg_setup
+ python-any-r1_pkg_setup
+}
+
+src_prepare() {
+ if use amd64; then
+ # On amd64 systems, build system enables x86/i686 build too.
+ # This ebuild doesn't even have multilib support, nor need it.
+ # https://bugs.gentoo.org/730062
+ ewarn "Removing auto-x86 build on amd64"
+ sed -i -e 's:set(target_arch "i686"):return():' cmake/GenerateBuiltins.cmake || die
+ fi
+
+ cmake_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DARM_ENABLED=$(usex arm)
+ -DCMAKE_SKIP_RPATH=ON
+ -DISPC_NO_DUMPS=ON
+ )
+ cmake_src_configure
+}
+
+src_test() {
+ # Inject path to prevent using system ispc
+ PATH="${BUILD_DIR}/bin:${PATH}" ${EPYTHON} ./run_tests.py || die "Testing failed under ${EPYTHON}"
+}
+
+src_install() {
+ dobin "${BUILD_DIR}"/bin/ispc
+ einstalldocs
+
+ if use examples; then
+ docompress -x /usr/share/doc/${PF}/examples
+ dodoc -r examples
+ fi
+}
next reply other threads:[~2022-12-24 14:03 UTC|newest]
Thread overview: 68+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-24 14:03 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-06 4:10 [gentoo-commits] repo/gentoo:master commit in: dev-lang/ispc/ Michał Górny
2024-11-23 17:23 Michał Górny
2024-11-23 17:21 Michał Górny
2024-11-08 4:52 Michał Górny
2024-11-02 7:14 Michał Górny
2024-11-02 6:32 Michał Górny
2024-11-02 6:32 Michał Górny
2024-10-17 2:51 Michał Górny
2024-10-15 7:00 Michał Górny
2024-06-15 13:08 Michał Górny
2024-06-15 10:54 Arthur Zamarin
2024-05-23 2:11 Michał Górny
2024-03-10 3:35 Michał Górny
2024-03-09 21:10 Sam James
2024-02-16 5:40 Michał Górny
2024-01-25 3:14 Sam James
2023-12-31 15:30 Michał Górny
2023-12-31 14:56 Michał Górny
2023-12-31 10:07 Michał Górny
2023-12-31 9:57 Michał Górny
2023-12-31 9:57 Michał Górny
2023-10-19 15:13 Michał Górny
2023-06-12 15:44 Sam James
2023-02-26 8:27 罗百科
2023-01-26 20:51 Andreas Sturmlechner
2023-01-08 16:04 Joonas Niilola
2022-12-24 14:01 Andreas Sturmlechner
2022-12-19 14:47 Andreas Sturmlechner
2022-10-13 10:31 Ionen Wolkens
2022-07-19 7:47 Michał Górny
2022-05-20 13:21 Joonas Niilola
2022-05-20 11:25 Joonas Niilola
2022-04-25 2:40 Sam James
2022-01-20 7:41 罗百科
2022-01-19 7:32 罗百科
2021-11-07 11:38 Jakov Smolić
2021-10-31 5:53 Sam James
2021-10-20 4:11 Sam James
2021-09-19 3:30 Sam James
2021-09-19 3:09 Sam James
2021-09-19 3:09 Sam James
2021-06-19 23:23 Ionen Wolkens
2021-06-19 23:23 Ionen Wolkens
2020-12-09 9:42 Joonas Niilola
2020-09-10 3:18 Sam James
2020-09-10 2:16 Sam James
2020-09-10 1:18 Sam James
2020-09-10 1:18 Sam James
2020-09-10 1:18 Sam James
2020-09-10 1:18 Sam James
2020-09-10 0:42 Sam James
2020-09-10 0:42 Sam James
2020-07-29 16:52 Andreas Sturmlechner
2018-04-11 16:19 Michał Górny
2018-04-04 13:17 Christoph Junghans
2017-09-29 22:40 Christoph Junghans
2017-07-30 8:47 Michał Górny
2017-03-19 14:06 Christoph Junghans
2016-07-13 15:26 Christoph Junghans
2016-07-13 15:26 Christoph Junghans
2016-07-12 19:31 Christoph Junghans
2016-05-30 20:11 Christoph Junghans
2016-05-30 20:11 Christoph Junghans
2015-10-20 23:27 Christoph Junghans
2015-10-20 16:01 Christoph Junghans
2015-10-07 15:59 Christoph Junghans
2015-10-07 15:59 Christoph Junghans
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=1671890584.e03dbe1a2fe010085615279f76893d209258dae4.asturm@gentoo \
--to=asturm@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