Diff openblas-0.3.21-r1 with a openblas-0.3.23

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

  
4
EAPI=7
4
EAPI=8
5 5

  
6
inherit fortran-2 toolchain-funcs
6
inherit flag-o-matic fortran-2 toolchain-funcs
7 7

  
8 8
DESCRIPTION="Optimized BLAS library based on GotoBLAS2"
9 9
HOMEPAGE="https://github.com/xianyi/OpenBLAS"
......
12 12

  
13 13
LICENSE="BSD"
14 14
SLOT="0"
15
KEYWORDS="amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos"
15
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~riscv ~x86 ~amd64-linux ~x86-linux ~x64-macos"
16 16
IUSE="dynamic eselect-ldso index-64bit openmp pthread relapack test"
17 17
REQUIRED_USE="?? ( openmp pthread )"
18 18
RESTRICT="!test? ( test )"
......
26 26
BDEPEND="virtual/pkgconfig"
27 27

  
28 28
PATCHES=(
29
	"${FILESDIR}/${PN}-0.3.12-shared-blas-lapack.patch"
29
	"${FILESDIR}/${PN}-0.3.23-shared-blas-lapack.patch"
30 30
	"${FILESDIR}/${PN}-0.3.21-fix-loong.patch"
31
	"${FILESDIR}/${P}-clang16.patch"
31
	"${FILESDIR}/${PN}-0.3.23-parallel-make.patch"
32 32
)
33 33

  
34 34
pkg_pretend() {
......
54 54

  
55 55
	# List of most configurable options - Makefile.rule
56 56

  
57
	# not an easy fix, https://github.com/xianyi/OpenBLAS/issues/4128
58
	filter-lto
59

  
57 60
	# https://github.com/xianyi/OpenBLAS/pull/2663
58 61
	tc-export CC FC LD AR AS RANLIB
59 62

  
......
119 122
}
120 123

  
121 124
src_compile() {
122
	default
123
	cd interface || die
124
	emake shared-blas-lapack
125
	emake shared
126
	use eselect-ldso && emake -C interface shared-blas-lapack
125 127

  
126 128
	if use index-64bit; then
127 129
		emake -C"${S}-index-64bit" \
Thank you!