public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/sci:master commit in: sci-libs/aocl-libm/
@ 2021-03-19 11:09 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2021-03-19 11:09 UTC (permalink / raw
  To: gentoo-commits

commit:     42ebf37d95379a0fab81d95d14ab3b0832bb4831
Author:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
AuthorDate: Fri Mar 19 11:07:07 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Fri Mar 19 11:07:07 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=42ebf37d

sci-libs/aocl-libm: fix MisplacedVariable

Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>

 sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild b/sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild
index 44b708101..f7a741abb 100644
--- a/sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild
+++ b/sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -28,7 +28,7 @@ pkg_nofetch() {
 	einfo "The package's license prohibits redistribution."
 	einfo "Please download the package from"
 	einfo "\t ${HOMEPAGE}"
-	einfo "and place it into ${DISTDIR}."
+	einfo "and place it into your DISTDIR folder"
 }
 
 src_prepare() {


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] proj/sci:master commit in: sci-libs/aocl-libm/
@ 2022-01-25 15:48 Andrew Ammerlaan
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Ammerlaan @ 2022-01-25 15:48 UTC (permalink / raw
  To: gentoo-commits

commit:     ac0b2fbd33c6eb078386fb99c5ac9101810649ff
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 25 15:48:50 2022 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jan 25 15:48:50 2022 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=ac0b2fbd

sci-libs/aocl-libm: bump to 3.1.0

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 ...libm-3.6.0_p4.ebuild => aocl-libm-3.1.0.ebuild} | 23 ++++++++++------------
 1 file changed, 10 insertions(+), 13 deletions(-)

diff --git a/sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild b/sci-libs/aocl-libm/aocl-libm-3.1.0.ebuild
similarity index 78%
rename from sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild
rename to sci-libs/aocl-libm/aocl-libm-3.1.0.ebuild
index f7a741abb..890414de2 100644
--- a/sci-libs/aocl-libm/aocl-libm-3.6.0_p4.ebuild
+++ b/sci-libs/aocl-libm/aocl-libm-3.1.0.ebuild
@@ -1,19 +1,17 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit toolchain-funcs
 
-MY_PV=${PV/_p/-}
-
 DESCRIPTION="Optimized libm replacement from AMD for x86_64 architectures"
 HOMEPAGE="https://developer.amd.com/amd-aocl/amd-math-library-libm/"
 SRC_URI="
-	aocc? ( aocl-libm-linux-aocc-${MY_PV}.tar.gz )
-	!aocc? ( aocl-libm-linux-gcc-${MY_PV}.tar.gz )
+	aocc? ( aocl-libm-linux-aocc-${PV}.tar.gz )
+	!aocc? ( aocl-libm-linux-gcc-${PV}.tar.gz )
 "
-S="${WORKDIR}"/amd-libm
+S="${WORKDIR}/amd-libm"
 
 LICENSE="AMD"
 SLOT="0"
@@ -36,15 +34,15 @@ src_prepare() {
 
 	sed -e "s/^CC =.*$/CC = $(tc-getCC)/" -i examples/Makefile || die
 
-	cat <<- EOF > "${T}"/amdlibm.pc
-		prefix=${EROOT}/usr
+	cat <<- EOF > "${T}"/amdlibm.pc || die
+		prefix=${EPREFIX}/usr
 		exec_prefix=\${prefix}
 		libdir=\${prefix}/$(get_libdir)
 		includedir=\${prefix}/include
 
 		Name: ${PN}
 		Description: ${DESCRIPTION}
-		Version: ${MY_PV}
+		Version: ${PV}
 		Libs: -L\${libdir} -lamdlibm
 		Cflags: -I\${includedir}
 	EOF
@@ -61,9 +59,8 @@ src_install() {
 
 	doheader include/*
 
-	dolib.so lib/libamdlibm.so
-	use static-libs && \
-	dolib.a  lib/libamdlibm.a
+	dolib.so lib/*.so
+	use static-libs && dolib.a  lib/*.a
 
 	if use examples; then
 		dodoc -r examples


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-01-25 15:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-25 15:48 [gentoo-commits] proj/sci:master commit in: sci-libs/aocl-libm/ Andrew Ammerlaan
  -- strict thread matches above, loose matches on Subject: below --
2021-03-19 11:09 Andrew Ammerlaan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox