Сравнение trilinos-13.4.1 с trilinos-14.0.0

/usr/portage/sci-libs/trilinos/trilinos-14.0.0.ebuild 2023-10-09 14:52:35.100368492 +0300
1
# Copyright 1999-2022 Gentoo Authors
1
# Copyright 1999-2023 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
......
10 10
HOMEPAGE="http://trilinos.sandia.gov/"
11 11
MY_PV="${PV//\./-}"
12 12
PATCHSET="r0"
13
SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz
14
	https://dev.gentoo.org/~tamiko/distfiles/${PN}-13.4.0-patches-${PATCHSET}.tar.xz"
13
SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz -> ${P}.tar.gz"
15 14

  
16 15
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
17 16
LICENSE="BSD LGPL-2.1"
......
66 65
S="${WORKDIR}/Trilinos-${PN}-release-${MY_PV}"
67 66

  
68 67
PATCHES=(
69
	"${WORKDIR}"/patches
68
	"${FILESDIR}"/${P}-missing_includes_gcc_13.patch
70 69
)
71 70

  
72 71
pkg_pretend() {
......
118 117
		-DTrilinos_ENABLE_SEACAS=OFF
119 118
		-DTrilinos_ENABLE_Amesos=ON
120 119
		-DTrilinos_ENABLE_AztecOO=ON
121
		-DTrilinos_ENABLE_COMPLEX_DOUBLE=ON
122
		-DTrilinos_ENABLE_COMPLEX_FLOAT=ON
123 120
		-DTrilinos_ENABLE_EpetraExt=ON
124 121
		-DTrilinos_ENABLE_Epetra=ON
125 122
		-DTrilinos_ENABLE_Ifpack=ON
......
236 233
	cmake_src_install
237 234

  
238 235
	# Clean up the mess:
236

  
237
	# Let us move the bin directory out of the way to avoid potential
238
	# clashes due to very generically named binaries such as
239
	# »nvcc_wrapper«, etc.
239 240
	mv "${ED}"/bin "${ED}/usr/$(get_libdir)"/trilinos || die "mv failed"
241

  
242
	# Move the cmake directory to the right location:
243
	mkdir -p "${ED}/usr/$(get_libdir)"/cmake
240 244
	mv "${ED}/usr/$(get_libdir)"/trilinos/cmake/* "${ED}/usr/$(get_libdir)"/cmake || die "mv failed"
245
	# Fix up include paths:
246
	sed -i -e 's#external_packages#trilinos/external_packages#g' \
247
		"${ED}/usr/$(get_libdir)"/cmake/**/*.cmake || die "sed failed"
241 248
	rmdir "${ED}/usr/$(get_libdir)/trilinos/cmake" || die "rmdir failed"
242 249

  
243
	#
244
	# register $(get_libdir)/trilinos in LDPATH so that the dynamic linker
245
	# has a chance to pick up the libraries...
246
	#
250
	# Register $(get_libdir)/trilinos in LDPATH so that the dynamic linker
251
	# has a chance to pick up the libraries, also add Trilinos' binaries ot
252
	# the PATH environment variable.
247 253
	cat >> "${T}"/99trilinos <<- EOF
248 254
	LDPATH="${EPREFIX}/usr/$(get_libdir)/trilinos"
249 255
	PATH="${EPREFIX}/usr/$(get_libdir)/trilinos/bin"
Спасибо!