diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 11:55:01 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-18 11:55:01 +0100 |
commit | 7288c6e5fa05acddbf692a5187d925ef85662b46 (patch) | |
tree | 54bfc06561e59d1ad1e6e7bdbd06b76fc4ba0d06 /sys-cluster/legion | |
parent | 5a1fb66df455454109e1de61d38b48f509dc68b8 (diff) |
gentoo auto-resync : 18:04:2023 - 11:55:01
Diffstat (limited to 'sys-cluster/legion')
-rw-r--r-- | sys-cluster/legion/Manifest | 3 | ||||
-rw-r--r-- | sys-cluster/legion/files/legion-23.03.0-gcc13.patch | 24 | ||||
-rw-r--r-- | sys-cluster/legion/legion-23.03.0.ebuild | 47 |
3 files changed, 74 insertions, 0 deletions
diff --git a/sys-cluster/legion/Manifest b/sys-cluster/legion/Manifest index cbaed374fee3..dfd6651ed0f1 100644 --- a/sys-cluster/legion/Manifest +++ b/sys-cluster/legion/Manifest @@ -1,4 +1,7 @@ +AUX legion-23.03.0-gcc13.patch 648 BLAKE2B 18e6a01079e29e293b633efed5a034d18d42aa1834316382b10effe3415dae37eab13e880ac7cb28c48b3d2103db6f5abff806baf659aa81ff9710096b326b90 SHA512 ae198122e28cb6112b1acb85ee068e1b26be275ab79245c09096ab1eaa99e0f5e107b3662352917820530f654125328b5dba75827383ca761bc7d4d4ace063b4 DIST legion-21.09.0.tar.gz 4017440 BLAKE2B 8f2919ed89f94cd12aff761de0e91ea0b5f9fd6001b83f69f8aff4703df159f001c562ed62ac22404fb15ebecc86a175d7acb528aba2e2d05ef7a6e6c0a9d830 SHA512 ffdbc8fa50100b7feb1709299dc1a9d01f14a6368812a6c5c16fa58746e9627f20863060c3ca25fd8865c8569c5a5f274a0298902bb82f6567b05299f55f6f75 +DIST legion-23.03.0.tar.gz 4330417 BLAKE2B efcc1f071fb7d9a03e03c4640976961634c6c630186c3cb2314098ae4260ba15b65739743eb355ad7dd74454d1e07542e9a58dbe558b652f0bf788811ff94ed1 SHA512 0a07fc3913fb1108c4b0d3ba9af80464f0acc1f69727dd9271a4f98f1ed7cc51a2e97699a16f0ebd437a0fa47933f1aa78c4cbc0401d332a432d1e839d39201c EBUILD legion-21.09.0-r1.ebuild 1021 BLAKE2B e9f59f836af17a8f4d47935d5fe3a22429eb6aa3d54c06eeac18bda87fb87f8ff783e001ef63111e93e645ee14f99cf1440ee81a54c62d523da6e9231e5b673e SHA512 2553d8d2c65cb1f38614a424f4753fb8b46d8eea5aa5bfb81b10995154ed5970af4992aebd405a6549277d687e28f60bfebf1ba596254986bb68f696f3267d54 +EBUILD legion-23.03.0.ebuild 1141 BLAKE2B 56a6cf38fa5b4d11def34c07890c60d9c7070ffc86038bdbf07d1a38a0628f4d435622edd0d063ab8c33928e407afa845fff2e0591de95e85e32045437c85768 SHA512 1b0262bc851bee82f98810962f54bd7e251ee6b547a0a50a1f4b872d673ef9b46433ede8557a8e00f9d7ce59d945500ca32f71dba6b40a2f30da7a5e076bf701 EBUILD legion-9999.ebuild 1021 BLAKE2B e9f59f836af17a8f4d47935d5fe3a22429eb6aa3d54c06eeac18bda87fb87f8ff783e001ef63111e93e645ee14f99cf1440ee81a54c62d523da6e9231e5b673e SHA512 2553d8d2c65cb1f38614a424f4753fb8b46d8eea5aa5bfb81b10995154ed5970af4992aebd405a6549277d687e28f60bfebf1ba596254986bb68f696f3267d54 MISC metadata.xml 483 BLAKE2B 2acf9792efe87678449a543be25ee16b3b6652b1e44200259f8b8e0de6982183ed5230228c097c6f01119eb209d56123e0b9d81b86198fcf10587a82a3f76da6 SHA512 35543d28f4248bb5b83d19ef3635a0b787a9600cf7687f6a1ed37f4fae16df14eed0951d5c6a51bfe9ddee9e790a65983d5a3559514ce8980ef138088c0eb9b2 diff --git a/sys-cluster/legion/files/legion-23.03.0-gcc13.patch b/sys-cluster/legion/files/legion-23.03.0-gcc13.patch new file mode 100644 index 000000000000..6c0eed1e15c7 --- /dev/null +++ b/sys-cluster/legion/files/legion-23.03.0-gcc13.patch @@ -0,0 +1,24 @@ +https://github.com/StanfordLegion/legion/pull/1461 + +From 6165e09b8d990bd5c6baa7b7a487b6757d89d3e3 Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Tue, 18 Apr 2023 06:54:38 +0100 +Subject: [PATCH] Fix build with GCC 13 + +GCC 13 (as usual for new compiler releases) shuffles around some internal includes so some +are no longer transitively included. + +See https://gnu.org/software/gcc/gcc-13/porting_to.html. + +Bug: https://bugs.gentoo.org/895564 +--- a/runtime/realm/utils.h ++++ b/runtime/realm/utils.h +@@ -27,6 +27,7 @@ + #include <vector> + #include <map> + #include <cassert> ++#include <cstdint> + #include <sstream> + + namespace Realm { + diff --git a/sys-cluster/legion/legion-23.03.0.ebuild b/sys-cluster/legion/legion-23.03.0.ebuild new file mode 100644 index 000000000000..95cdbf4b0a3c --- /dev/null +++ b/sys-cluster/legion/legion-23.03.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="A data-centric parallel programming system" +HOMEPAGE="https://legion.stanford.edu/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="git://StanfordLegion/${PN}.git https://github.com/StanfordLegion/${PN}.git" +else + SRC_URI="https://github.com/StanfordLegion/${PN}/archive/${P}.tar.gz" + S="${WORKDIR}"/${PN}-${P} + + KEYWORDS="~amd64" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="examples gasnet hwloc test" +RESTRICT="!test? ( test )" + +# https://github.com/StanfordLegion/legion/issues/575 re <hwloc-2 +# See bug #821424 for examples/mpi +DEPEND="examples? ( virtual/mpi[cxx] ) + gasnet? ( >=sys-cluster/gasnet-1.26.4-r1 ) + hwloc? ( <sys-apps/hwloc-2:= )" +RDEPEND="${DEPEND}" + +PATCHES=( + "${FILESDIR}"/${PN}-23.03.0-gcc13.patch +) + +src_configure() { + local mycmakeargs=( + -DLegion_USE_HWLOC=$(usex hwloc) + -DLegion_USE_GASNet=$(usex gasnet) + -DLegion_ENABLE_TESTING=$(usex test) + -DLegion_BUILD_EXAMPLES=$(usex examples) + -DLegion_BUILD_TESTS=ON + -DLegion_BUILD_TUTORIAL=ON + ) + + cmake_src_configure +} |