diff options
-rw-r--r-- | sci-libs/gotoblas2/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/gotoblas2/gotoblas2-1.13.ebuild | 27 | ||||
-rw-r--r-- | sci-libs/openblas/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/openblas/openblas-9999.ebuild | 27 |
4 files changed, 36 insertions, 22 deletions
diff --git a/sci-libs/gotoblas2/Manifest b/sci-libs/gotoblas2/Manifest index ebd425a..5ca4394 100644 --- a/sci-libs/gotoblas2/Manifest +++ b/sci-libs/gotoblas2/Manifest @@ -3,6 +3,6 @@ AUX gotoblas2-1.13-dynamic.patch 608 RMD160 37947ee4aeeec6db1f32132adf97e802369b AUX gotoblas2-1.13-fcheck.patch 292 RMD160 d5163404d0eff01b21e5c7792a3e03677f210552 SHA1 73cd53f9b09ff4f147a8ed5f810b864c2ded8221 SHA256 19bbf3bdf5dfcb639c3817e545b3186b1e379e874ffcb586bd5e76ec40bfa533 AUX gotoblas2-1.13-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b DIST GotoBLAS2-1.13_bsd.tar.gz 3165294 RMD160 64a416b506b45ec4df33d9d7e9ec893585b794b2 SHA1 0e1a046bb51e50cf8cff5d1732157a083a620e64 SHA256 7c3eab57ef5ad5c42f73adade833a531591e78967bbe9fc6db31310d73fa2d86 -EBUILD gotoblas2-1.13.ebuild 2807 RMD160 572a756331212b09f67dabf28cb1f7de5b5d981d SHA1 c716929904a9e44f48ea3e5d109e355c6d3aee4c SHA256 c178d0882f2d4dfcdc2e118d09d59a5a1ff87952d919ed74b9204f6d39dbae44 +EBUILD gotoblas2-1.13.ebuild 2958 RMD160 f468ecf73cb721e1b4a0b7549247daf9dd252842 SHA1 a15bc9df091b12dd4849988eaafa0a15bdc5f516 SHA256 f6e1695fa23587f872eaa725cf6047a5aa515bee8571c514a6591bda40ee1f60 MISC ChangeLog 977 RMD160 1029dd4ef2c56cc34416f92d0488f6095dcfb9ef SHA1 305aa88db9c89385ca7224e7eb91c58df4d4a36d SHA256 d8b525cf38540ec0e3ece7b96d47838f5afd86065b89fd56ecd23141b02946ee MISC metadata.xml 856 RMD160 250635ac290516ed28e932e55ec87626d97b228e SHA1 9bdb2a1cb537025e5460141522746f3b07cea92f SHA256 4c5ea594bc1d07713211d39171d628b2cba8b3aeccef73309e816cecc79bd8c9 diff --git a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild index 9309935..7b8b91a 100644 --- a/sci-libs/gotoblas2/gotoblas2-1.13.ebuild +++ b/sci-libs/gotoblas2/gotoblas2-1.13.ebuild @@ -72,13 +72,20 @@ src_test() { } src_install() { - local libname=goto2 threads - use threads && threads="-pthread" + local profname=${PN} threads + use int64 && profname=${profname}-int64 + if use threads; then + threads="-pthread" + profname=${profname}-threads + elif use openmp; then + profname=${profname}-openmp + fi + dolib.so solibs/lib*.so use static-libs && dolib.a lib*.a # create pkg-config file and associated eselect file - cat <<-EOF > ${libname}.pc + cat <<-EOF > ${profname}.pc prefix=${EPREFIX}/usr libdir=\${prefix}/$(get_libdir) includedir=\${prefix}/include @@ -86,20 +93,20 @@ src_install() { Description: ${DESCRIPTION} Version: ${PV} URL: ${HOMEPAGE} - Libs: -L\${libdir} -l${libname} -lm ${threads} + Libs: -L\${libdir} -lgoto2 -lm ${threads} EOF insinto /usr/$(get_libdir)/pkgconfig - doins ${libname}.pc + doins ${profname}.pc - alternatives_for blas goto2 0 \ - "/usr/$(get_libdir)/pkgconfig/blas.pc" "${libname}.pc" + alternatives_for blas ${profname} 0 \ + "/usr/$(get_libdir)/pkgconfig/blas.pc" "${profname}.pc" if use incblas; then insinto /usr/include/${PN} doins cblas.h || die - echo >> ${libname}.pc "Cflags: -I\${includedir}/${PN}" - alternatives_for cblas goto2 0 \ - "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${libname}.pc" \ + echo >> ${profname}.pc "Cflags: -I\${includedir}/${PN}" + alternatives_for cblas ${profname} 0 \ + "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${profname}.pc" \ "/usr/include/cblas.h" "${PN}/cblas.h" fi dodoc 01Readme.txt 03FAQ.txt 05LargePage 06WeirdPerformance diff --git a/sci-libs/openblas/Manifest b/sci-libs/openblas/Manifest index 0f191c2..68f7082 100644 --- a/sci-libs/openblas/Manifest +++ b/sci-libs/openblas/Manifest @@ -1,5 +1,5 @@ AUX openblas-aliasing.patch 421 RMD160 1c4b38a0145f937f4c35afa03ec54196646ff311 SHA1 08a33e39d9e0a753e82b9298da73094d79311cbd SHA256 8d7c2fff88c9a51b3bc419897194bbf513fa96b9dbb6b9063c9a8e9e0d3c7773 AUX openblas-sharedlibs.patch 1929 RMD160 87db891bb2e0b538da7a4f21c10c65b78149a26c SHA1 031912957004745f5e68c2cdf3899f0e80118377 SHA256 fc5f014d6b81a481a9c9c29d82de07f5a5182d9355f90071ba89b680f7e09c1b -EBUILD openblas-9999.ebuild 2752 RMD160 6c3f89e4aa32cc86788048d57e98bbbb579f43d6 SHA1 6d1c5080826856db38cd27abe8aaee754fc150ff SHA256 db8e3f63ec19d217b4213ab07588ba2c285d904493f9663440c54717290d56e3 +EBUILD openblas-9999.ebuild 2900 RMD160 e2449f2a36acd114a59d56f3de281bb43363231f SHA1 6bd0f053e451d5573339d818cc738ab7c2af007e SHA256 6772291c286dbaf74696e37334f50773d76f1e700e1d858bf230e93161d2994b MISC ChangeLog 693 RMD160 9b9f879ccb36272cdd09ef1f844a3503288482b0 SHA1 b1efef0b7571b9d103ec501973c6403e10efe6a2 SHA256 1897a7f21fb253bad6bfb04710a8655c9751d0ea516248f67931e5e3461cf18e MISC metadata.xml 569 RMD160 4405ffe0e8941f0806ce0b7f984052be2ee4ed8b SHA1 ae10082e791ba7635e3c5986b0842fd74ff9ef38 SHA256 ddd3fa2f35204325b559955bc761c1c837265b9fc3ecc31dac760bc30fa082d2 diff --git a/sci-libs/openblas/openblas-9999.ebuild b/sci-libs/openblas/openblas-9999.ebuild index abe18ef..e0af712 100644 --- a/sci-libs/openblas/openblas-9999.ebuild +++ b/sci-libs/openblas/openblas-9999.ebuild @@ -69,13 +69,20 @@ src_test() { } src_install() { - local libname=${PN} threads - use threads && threads="-pthread" + local profname=${PN} threads + use int64 && profname=${profname}-int64 + if use threads; then + threads="-pthread" + profname=${profname}-threads + elif use openmp; then + profname=${profname}-openmp + fi + dolib.so solibs/lib*.so use static-libs && dolib.a lib*.a # create pkg-config file and associated eselect file - cat <<-EOF > ${libname}.pc + cat <<-EOF > ${profname}.pc prefix=${EPREFIX}/usr libdir=\${prefix}/$(get_libdir) includedir=\${prefix}/include @@ -83,20 +90,20 @@ src_install() { Description: ${DESCRIPTION} Version: ${PV} URL: ${HOMEPAGE} - Libs: -L\${libdir} -l${libname} -lm ${threads} + Libs: -L\${libdir} -lopenblas -lm ${threads} EOF insinto /usr/$(get_libdir)/pkgconfig - doins ${libname}.pc + doins ${profname}.pc - alternatives_for blas openblas 0 \ - "/usr/$(get_libdir)/pkgconfig/blas.pc" "${libname}.pc" + alternatives_for blas ${profname} 0 \ + "/usr/$(get_libdir)/pkgconfig/blas.pc" "${profname}.pc" if use incblas; then insinto /usr/include/${PN} doins cblas.h || die - echo >> ${libname}.pc "Cflags: -I\${includedir}/${PN}" - alternatives_for cblas openblas 0 \ - "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${libname}.pc" \ + echo >> ${profname}.pc "Cflags: -I\${includedir}/${PN}" + alternatives_for cblas ${profname} 0 \ + "/usr/$(get_libdir)/pkgconfig/cblas.pc" "${profname}.pc" \ "/usr/include/cblas.h" "${PN}/cblas.h" fi dodoc GotoBLAS_{01Readme,03FAQ,04FAQ,05LargePage,06WeirdPerformance}.txt |