Diff clblast-1.5.2 with a clblast-1.5.2-r1
| /usr/portage/sci-libs/clblast/clblast-1.5.2-r1.ebuild 2023-10-09 14:52:35.064368491 +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 |
| ... | ... | |
| 9 | 9 | |
| 10 | 10 |
DESCRIPTION="Tuned OpenCL BLAS" |
| 11 | 11 |
HOMEPAGE="https://github.com/CNugteren/CLBlast" |
| 12 |
SRC_URI="https://github.com/CNugteren/${MYPN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 12 |
SRC_URI="https://github.com/CNugteren/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
|
| 13 | 13 |
S="${WORKDIR}/${MYPN}-${PV}"
|
| 14 | 14 | |
| 15 | 15 |
LICENSE="Apache-2.0" |
| 16 | 16 |
SLOT="0" |
| 17 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
|
| 17 |
KEYWORDS="~amd64 ~riscv ~x86 ~amd64-linux ~x86-linux" |
|
| 18 | 18 |
# Cuda is still beta, default to opencl |
| 19 | 19 |
IUSE="client cuda examples +opencl test" |
| 20 | 20 |
REQUIRED_USE=" |
| ... | ... | |
| 33 | 33 | |
| 34 | 34 |
DEPEND="${RDEPEND}"
|
| 35 | 35 | |
| 36 |
PATCHES=( |
|
| 37 |
"${FILESDIR}"/level2_xtrsv.patch
|
|
| 38 |
"${FILESDIR}"/level3_xtrsv.patch
|
|
| 39 |
) |
|
| 40 | ||
| 36 | 41 |
src_prepare() {
|
| 37 | 42 |
# no forced optimisation, libdir |
| 38 | 43 |
sed -e 's/-O3//g' \ |