Diff legion-23.03.0 with a legion-9999

/usr/portage/sys-cluster/legion/legion-9999.ebuild 2024-07-02 13:51:49.409851594 +0300
3 3

  
4 4
EAPI=8
5 5

  
6
inherit cmake flag-o-matic
6
inherit cmake
7 7

  
8 8
DESCRIPTION="A data-centric parallel programming system"
9 9
HOMEPAGE="https://legion.stanford.edu/"
......
22 22
IUSE="examples gasnet hwloc test"
23 23
RESTRICT="!test? ( test )"
24 24

  
25
# https://github.com/StanfordLegion/legion/issues/575 re <hwloc-2
26 25
# See bug #821424 for examples/mpi
27 26
DEPEND="examples? ( virtual/mpi[cxx] )
28 27
	gasnet? ( >=sys-cluster/gasnet-1.26.4-r1 )
29 28
	hwloc? ( <sys-apps/hwloc-2:= )"
30 29
RDEPEND="${DEPEND}"
31 30

  
32
PATCHES=(
33
	"${FILESDIR}"/${PN}-23.03.0-gcc13.patch
34
)
35

  
36 31
src_configure() {
37
	# -Werror=odr
38
	# https://bugs.gentoo.org/863731
39
	# Fixed upstream / in live ebuild.
40
	filter-lto
41

  
42 32
	local mycmakeargs=(
43 33
		-DLegion_USE_HWLOC=$(usex hwloc)
44 34
		-DLegion_USE_GASNet=$(usex gasnet)
Thank you!