diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-27 18:53:03 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-27 18:53:03 +0000 |
| commit | 3482ddf943eff7b8848f1fb31350b99ce349e86a (patch) | |
| tree | 9c9bb6ec6679e9dc44a84d87ba611989409b12ca /sci-libs | |
| parent | 8e8120eabdd28020aa69c7a60505cce2edd20adc (diff) | |
| download | baldeagleos-repo-21.1.3.tar.gz baldeagleos-repo-21.1.3.tar.xz baldeagleos-repo-21.1.3.zip | |
Updating liguros repov21.1.3
Diffstat (limited to 'sci-libs')
68 files changed, 915 insertions, 565 deletions
diff --git a/sci-libs/armadillo/Manifest b/sci-libs/armadillo/Manifest index b81f29c2eaee..d603294cedd1 100644 --- a/sci-libs/armadillo/Manifest +++ b/sci-libs/armadillo/Manifest @@ -1,2 +1,3 @@ +DIST armadillo-10.2.0.tar.xz 6042348 BLAKE2B e85f24ca7137c3a8c8fc53db15b382f2e4d468673c99e036ef9b4a4436be47d24a37664dfa88ff9effa08a4c868bd212d03c204dda09cd26038a0f8ccbf61375 SHA512 c5d6f4bac0acba63fbd7681653d521249fd303ffbbc5b18df71500eb111514c1d09db600a580091d6a23c83748c109c30938bbcd80a3a0b2c25e2fdea932f2cd DIST armadillo-8.300.2.tar.xz 4593916 BLAKE2B 0cb9082d9452b43599dea810036a1cdcd8ef4ab6ce5b2bc7b9d9201f1f396666a2aecb81ffa62388e1ee3de9a8c7df083df594224af47e5df7ee4d3c2743d6cc SHA512 df069634db377e95e02dfca02312b082b34cab91bae0b1fd04a97339477074fc50c74f8adf92786ac6f0fc148044d527461617f382cc996523251b6d1287e41c DIST armadillo-9.850.1.tar.xz 4715832 BLAKE2B 41256d8f54ec1f2d4f7cfdf58bd67e66cc2ffbe0f1daf259a4d76e0816d89708fa5528d57b244000393404108c8d0d613d03321f14e5653163d0c1cc6ec7e273 SHA512 b2b9f0290f8f39a687db71a02b127086d5ff22cee77fba5211da2ea8a8d8a5edc256b31b7fce8e98aa1955a84c63e488adcd22f8cd070015a6fcd4b4f1cb37c7 diff --git a/sci-libs/armadillo/armadillo-10.2.0.ebuild b/sci-libs/armadillo/armadillo-10.2.0.ebuild new file mode 100644 index 000000000000..91aba876efa5 --- /dev/null +++ b/sci-libs/armadillo/armadillo-10.2.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +CMAKE_IN_SOURCE_BUILD=1 + +inherit cmake toolchain-funcs multilib eutils + +DESCRIPTION="Streamlined C++ linear algebra library" +HOMEPAGE="https://sourceforge.net/projects/arma/" +SRC_URI="mirror://sourceforge/arma/${P}.tar.xz" + +LICENSE="Apache-2.0" +SLOT="0/10" +KEYWORDS="~amd64 ~arm ~ppc64 ~x86 ~amd64-linux ~x86-linux" +IUSE="arpack blas doc examples hdf5 lapack mkl superlu test" +RESTRICT="!test? ( test )" +REQUIRED_USE="test? ( lapack )" + +# atlas? ( sci-libs/atlas[lapack] ) + +RDEPEND=" + dev-libs/boost + arpack? ( sci-libs/arpack ) + blas? ( virtual/blas ) + lapack? ( virtual/lapack ) + superlu? ( >=sci-libs/superlu-5.2 ) +" + +DEPEND="${RDEPEND} + arpack? ( virtual/pkgconfig ) + blas? ( virtual/pkgconfig ) + hdf5? ( sci-libs/hdf5 ) + lapack? ( virtual/pkgconfig ) + mkl? ( sci-libs/mkl ) +" +PDEPEND="${RDEPEND} + hdf5? ( sci-libs/hdf5 ) + mkl? ( sci-libs/mkl ) +" + +src_prepare() { + # avoid the automagic cmake macros... + sed -i -e 's/^ *include(ARMA_Find/# No automagic include(ARMA_Find/g' CMakeLists.txt || die + + # ... except for mkl, since without a license it's hard to figure out what to do there + if use mkl; then + sed -i -e 's/^# No automagic include(ARMA_FindMKL)/include(ARMA_FindMKL)/g' CMakeLists.txt || die + fi + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" + ) + if use arpack; then + mycmakeargs+=( + -DARPACK_FOUND=ON + -DARPACK_LIBRARY="$($(tc-getPKG_CONFIG) --libs arpack)" + ) + else + mycmakeargs+=( + -DARPACK_FOUND=OFF + ) + fi +# if use atlas; then +# local c=atlas-cblas l=atlas-clapack +# $(tc-getPKG_CONFIG) --exists ${c}-threads && c+=-threads +# $(tc-getPKG_CONFIG) --exists ${l}-threads && l+=-threads +# mycmakeargs+=( +# -DCBLAS_FOUND=ON +# -DCBLAS_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${c} | sed 's/-I//')" +# -DCBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${c})" +# -DCLAPACK_FOUND=ON +# -DCLAPACK_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I ${l} | sed 's/-I//')" +# -DCLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs ${l})" +# ) +# fi + if use blas; then + mycmakeargs+=( + -DBLAS_FOUND=ON + -DBLAS_LIBRARIES="$($(tc-getPKG_CONFIG) --libs blas)" + ) + else + mycmakeargs+=( + -DBLAS_FOUND=OFF + ) + fi + if use hdf5; then + mycmakeargs+=( + -DDETECT_HDF5=ON + -DHDF5_LIBRARIES="-lhdf5" + -DHDF5_INCLUDE_DIRS=/usr/include + ) + else + mycmakeargs+=( + -DDETECT_HDF5=OFF + ) + fi + if use lapack; then + mycmakeargs+=( + -DLAPACK_FOUND=ON + -DLAPACK_LIBRARIES="$($(tc-getPKG_CONFIG) --libs lapack)" + ) + else + mycmakeargs+=( + -DLAPACK_FOUND=OFF + ) + fi + if use superlu; then + mycmakeargs+=( + -DSuperLU_FOUND=ON + -DSuperLU_LIBRARY="$($(tc-getPKG_CONFIG) --libs superlu)" + -DSuperLU_INCLUDE_DIR="$($(tc-getPKG_CONFIG) --cflags-only-I superlu | awk '{print $1}' | sed 's/-I//')" + ) + else + mycmakeargs+=( + -DSuperLU_FOUND=OFF + ) + fi + + cmake_src_configure +} + +src_test() { + pushd examples > /dev/null + emake \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="-I../include ${CXXFLAGS} -DARMA_USE_BLAS -DARMA_USE_LAPACK" \ + LIB_FLAGS="-L.. -larmadillo $($(tc-getPKG_CONFIG) --libs blas lapack)" + LD_LIBRARY_PATH="..:${LD_LIBRARY_PATH}" ./example1 || die + emake clean + popd > /dev/null +} + +src_install() { + cmake_src_install + dodoc README.md + use doc && dodoc *pdf *html + if use examples; then + docinto /usr/share/doc/${PF}/examples + dodoc -r examples/* + docompress -x /usr/share/doc/${PF}/examples + fi +} diff --git a/sci-libs/cfitsio/Manifest b/sci-libs/cfitsio/Manifest index d4be6d38173b..470fffa01b2d 100644 --- a/sci-libs/cfitsio/Manifest +++ b/sci-libs/cfitsio/Manifest @@ -1,3 +1 @@ -DIST cfitsio-3.360.tar.gz 4104894 BLAKE2B 7a84177c28679db5c27d0586cb6959a0663918a84d46ced9aea6ef7e6bdd32955946807efd4cd852e55128dbc887c4a2135b2eba26847b265011bfd6df049335 SHA512 158819b4a3a29c29a5f017283e2b20067420994e881d202dbf3ba199c9e564dc1e74f8be5ce84f78107126d2a8688cc55cc7ed284540ca647e44cdc3b0b02072 -DIST cfitsio-3.410.tar.gz 4194529 BLAKE2B 31250b9add5b6a85c919c33251d127117ceab81c2243e0b9f8bbe2ef0fd09c85a938b7525338bc718a9b3035efa3660ecffa17ec79e3e278c8014e727f23473b SHA512 cc1de2a4314e7c82bdd6855e11dea4e18dc4e7bcb27b0d15b884cbaeb4acd3b1e12dadd17ab83c7917570934913f89337035470ee4921e7b62409a81052d70cd DIST cfitsio-3.49.tar.gz 4934662 BLAKE2B ca8b701f0fec399d989efb61fdaa2bfbf49d0eea2d3ff47e156757c5a99bc77c23a1b91b4c91166696293c71c78210065dc48d0bb3c77039815f326d0ed55f0a SHA512 9836a4af3bbbfed1ea1b4c70b9d500ac485d7c3d8131eb8a25ee6ef6662f46ba52b5161c45c709ed9a601ff0e9ec36daa5650eaaf4f2cc7d6f4bb5640f10da15 diff --git a/sci-libs/cfitsio/cfitsio-3.360.ebuild b/sci-libs/cfitsio/cfitsio-3.360.ebuild deleted file mode 100644 index d281612a65bf..000000000000 --- a/sci-libs/cfitsio/cfitsio-3.360.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran - -inherit autotools-utils fortran-2 - -DESCRIPTION="C and Fortran library for manipulating FITS files" -HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" -SRC_URI="https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/1" -KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris" -IUSE="doc examples fortran static-libs +tools threads" - -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND} - fortran? ( dev-lang/cfortran )" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # avoid internal cfortran - if use fortran; then - mv cfortran.h cfortran.h.disabled - ln -s "${EPREFIX}"/usr/include/cfortran.h . || die - fi - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - $(use_enable fortran) - $(use_enable threads) - $(use_enable tools) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - dodoc README* Changes* docs/changes.txt docs/cfitsio.doc - use fortran && dodoc docs/fitsio.doc - use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf - use doc && use fortran && dodoc docs/fitsio.pdf - - if use examples; then - docinto examples - dodoc cookbook.c testprog.c speed.c smem.c - use fortran && dodoc cookbook.f testf77.f - fi -} diff --git a/sci-libs/cfitsio/cfitsio-3.410.ebuild b/sci-libs/cfitsio/cfitsio-3.410.ebuild deleted file mode 100644 index 2ff8d4bbe26e..000000000000 --- a/sci-libs/cfitsio/cfitsio-3.410.ebuild +++ /dev/null @@ -1,58 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit fortran-2 ltprune multilib-minimal - -DESCRIPTION="C and Fortran library for manipulating FITS files" -HOMEPAGE="https://heasarc.gsfc.nasa.gov/docs/software/fitsio/fitsio.html" -SRC_URI="https://dev.gentoo.org/~bicatali/distfiles/${P}.tar.gz" - -LICENSE="MIT" -SLOT="0/5" -KEYWORDS="~alpha amd64 ~hppa ppc ppc64 sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris" -IUSE="bzip2 doc examples fortran static-libs +tools threads" - -RDEPEND=" - sys-libs/zlib[${MULTILIB_USEDEP}] - bzip2? ( app-arch/bzip2[${MULTILIB_USEDEP}] )" -DEPEND="${RDEPEND} - fortran? ( dev-lang/cfortran )" - -pkg_setup() { - use fortran && fortran-2_pkg_setup -} - -src_prepare() { - # avoid internal cfortran - if use fortran; then - mv cfortran.h cfortran.h.disabled - ln -s "${EPREFIX}"/usr/include/cfortran.h . || die - fi - default -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - $(use_enable fortran) \ - $(use_enable static-libs static) \ - $(use_enable threads) \ - $(use_enable tools) \ - $(use_with bzip2) -} - -multilib_src_install_all() { - dodoc README README.md CHANGES.md docs/changes.txt docs/cfitsio.doc - use fortran && dodoc docs/fitsio.doc - use doc && dodoc docs/{quick,cfitsio,fpackguide}.pdf - use doc && use fortran && dodoc docs/fitsio.pdf - if use examples; then - docinto examples - dodoc cookbook.c testprog.c speed.c smem.c - use fortran && dodoc cookbook.f testf77.f - fi - prune_libtool_files --all -} diff --git a/sci-libs/cfitsio/metadata.xml b/sci-libs/cfitsio/metadata.xml index f594abc65509..6c06a37171a4 100644 --- a/sci-libs/cfitsio/metadata.xml +++ b/sci-libs/cfitsio/metadata.xml @@ -14,9 +14,5 @@ features for manipulating and filtering the information in FITS files. </longdescription> - <use> - <flag name="tools">Build execs fpack, funpack, imcopy, fitscopy, listhead - </flag> - </use> <origin>gentoo-staging</origin> </pkgmetadata> diff --git a/sci-libs/cholmod/cholmod-3.0.14.ebuild b/sci-libs/cholmod/cholmod-3.0.14.ebuild index 94e8ad014818..1c71ad12d486 100644 --- a/sci-libs/cholmod/cholmod-3.0.14.ebuild +++ b/sci-libs/cholmod/cholmod-3.0.14.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://202.36.178.9/sage/${P}.tar.bz2" LICENSE="LGPL-2.1+ modify? ( GPL-2+ ) matrixops? ( GPL-2+ )" SLOT="0" -KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~amd64 arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 sparc ~x86 ~amd64-linux ~x86-linux" IUSE="cuda doc +lapack +matrixops +modify +partition" BDEPEND="virtual/pkgconfig diff --git a/sci-libs/eccodes/Manifest b/sci-libs/eccodes/Manifest index d5d6bb46ae66..4a424f0a2a7d 100644 --- a/sci-libs/eccodes/Manifest +++ b/sci-libs/eccodes/Manifest @@ -1,2 +1,3 @@ -DIST eccodes-2.16.0-Source.tar.gz 11258869 BLAKE2B 4a1b3e953fc041beed47046c6ea4f74bb18230019b71c884f1dc5a102a7bae2b9083f51b74fc4078c493d188433f08db833a571e7deadd93b6c137f975f03006 SHA512 6e8768824152d8782c1457cfe79daed32114d1b4694d2843bd02a8aa63c42ccc435b53f7db6942239b3e56999fbaaba4ecef345d39fc5c5f7a5d20ceecf4422a +DIST eccodes-2.18.0-Source.tar.gz 11525701 BLAKE2B 9dc2861472309c0483e4e7eb7b79c2eb2eb72b1e99f8656bb0355630e8012468d9d6513fb3bab7b3fbc7b2c02c3c74d291a6a8862aa8434cdcce82868f359961 SHA512 8daf7f2e1aed055ca6402881f5473e4ae90ba24cc779005f57f99adc7468da459c7539e64f455e2122dd83df29992fd7a6dad2700c8331c4083226e091fbb629 DIST eccodes_test_data.tar.gz 139711871 BLAKE2B f2e89207835c78fa198f0a2fba8ac2cd4ab263c9160e02005a3ca851bc71586010e7f4742cbb9240463abb9421db83b7dadc83fe798f37321a553ca9856f68d7 SHA512 24c24ec9e01d230cf542abe5c131f05b8e627dd9d170c666628bb5fd8f7b1a6aa11a35456b8d742c59f54c6aabac78658efd68b0c50779d466aba3d35b4a0231 +DIST mercator.grib2 6339 BLAKE2B b63a72c711c28fa81568d123758f61804d73886c1f8dc27ab444daf3d1a0d104ef40b1469e9940413b5311c1cdcfa5de76a9d46ea0c57d08ccfd44ab41b8d4fb SHA512 e3d4e93833345675558b58c2e6f2b5a583c52083718da05cae72dd015d2e7699ee83c2dcce695143ee5e4423c890ef80f2448146d93e87fbfff8845f6efa8178 diff --git a/sci-libs/eccodes/eccodes-2.16.0.ebuild b/sci-libs/eccodes/eccodes-2.18.0.ebuild index d7249b7c621b..ea4ac9153dec 100644 --- a/sci-libs/eccodes/eccodes-2.16.0.ebuild +++ b/sci-libs/eccodes/eccodes-2.18.0.ebuild @@ -1,26 +1,33 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 PYTHON_COMPAT=( python3_{6,7,8,9,10} ) -inherit cmake-utils fortran-2 python-any-r1 +inherit cmake fortran-2 python-any-r1 MY_P="${P}-Source" DESCRIPTION="A set of encoding/decoding APIs and tools for WMO GRIB, BUFR, and GTS messages" HOMEPAGE="https://confluence.ecmwf.int/display/ECC" SRC_URI="https://confluence.ecmwf.int/download/attachments/45757960/${MY_P}.tar.gz - extra-test? ( http://download.ecmwf.org/test-data/eccodes/${PN}_test_data.tar.gz )" + extra-test? ( http://download.ecmwf.org/test-data/eccodes/${PN}_test_data.tar.gz + http://download.ecmwf.org/test-data/eccodes/data/mercator.grib2 )" LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~arm ~x86" -IUSE="defs examples extra-test -fortran memfs netcdf jpeg2k png python szip test threads" -RESTRICT="!test? ( test )" -REQUIRED_USE="threads? ( !fortran ) test? ( defs !memfs ) extra-test? ( test ) !test? ( memfs? ( python ) )" +IUSE="+defs examples extra-test fortran memfs netcdf jpeg2k openmp png python szip test threads" + +REQUIRED_USE=" + fortran? ( !threads ( openmp ) ) + openmp? ( !threads ( fortran ) ) + threads? ( !fortran !openmp ) + test? ( defs !memfs ) + extra-test? ( test ) + !test? ( memfs? ( python ) )" RDEPEND=" sys-libs/zlib @@ -34,6 +41,8 @@ DEPEND="${RDEPEND} BDEPEND="virtual/pkgconfig" +RESTRICT="!test? ( test )" + S="${WORKDIR}/${MY_P}" CMAKE_BUILD_TYPE=RelWithDebInfo @@ -45,24 +54,29 @@ pkg_setup() { src_configure() { local mycmakeargs=( + -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr" + -DINSTALL_LIB_DIR="$(get_libdir)" + -DCMAKE_SKIP_INSTALL_RPATH=TRUE -DENABLE_ECCODES_THREADS=$(usex threads TRUE FALSE) + -DENABLE_ECCODES_OMP_THREADS=$(usex openmp TRUE FALSE) -DENABLE_EXAMPLES=OFF # no need to build examples -DENABLE_INSTALL_ECCODES_DEFINITIONS=$(usex defs TRUE FALSE) -DENABLE_FORTRAN=$(usex fortran TRUE FALSE) -DENABLE_PYTHON=OFF # py2 support is deprecated -DENABLE_NETCDF=$(usex netcdf TRUE FALSE) -DENABLE_JPG=$(usex jpeg2k TRUE FALSE) + -DENABLE_JPG_LIBOPENJPEG=$(usex jpeg2k TRUE FALSE) -DENABLE_PNG=$(usex png TRUE FALSE) -DENABLE_MEMFS=$(usex memfs TRUE FALSE) -DENABLE_EXTRA_TESTS=$(usex extra-test TRUE FALSE) -DBUILD_SHARED_LIBS=ON - -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)" ) - cmake-utils_src_configure + use fortran && mycmakeargs+=( -DCMAKE_Fortran_FLAGS="-fallow-argument-mismatch" ) + cmake_src_configure } src_install() { - cmake-utils_src_install + cmake_src_install if use examples; then insinto "/usr/share/${PN}/examples" @@ -73,7 +87,11 @@ src_install() { } src_test() { - use extra-test && cp -r "${WORKDIR}"/data/* "${BUILD_DIR}"/data/ + if use extra-test; then + touch "${WORKDIR}"/data/.downloaded + cp -r "${WORKDIR}"/data/* "${BUILD_DIR}"/data/ + cp "${DISTDIR}"/mercator.grib2 "${BUILD_DIR}"/data/ + fi - cmake-utils_src_test + cmake_src_test } diff --git a/sci-libs/hipCUB/Manifest b/sci-libs/hipCUB/Manifest new file mode 100644 index 000000000000..e81dcfbc89c2 --- /dev/null +++ b/sci-libs/hipCUB/Manifest @@ -0,0 +1 @@ +DIST hipCUB-4.0.0.tar.gz 137513 BLAKE2B b7ef4d53037fba04771162ae8993def648f5e1401654286ffc6987bbb4b25baa1b1b14bc37035e1afe46eeffe3e564f244e339cdfd0e5a242574d248bf4683db SHA512 e778b94c86e09bf3b0bc043fb15ed8725387b875e8631a7e8599aee8da2d8085190effc9681d742fc0d286cc0c20762341f1f24699c8a52e9734611c716530d5 diff --git a/sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild b/sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild new file mode 100644 index 000000000000..922c5df9c8ab --- /dev/null +++ b/sci-libs/hipCUB/hipCUB-4.0.0-r1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A thin wrapper library on top of rocPRIM or CUB" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipCUB" +SRC_URI="https://github.com/ROCmSoftwarePlatform/hipCUB/archive/rocm-${PV}.tar.gz -> hipCUB-${PV}.tar.gz" + +LICENSE="BSD" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="=dev-util/hip-$(ver_cut 1-2)* + =sci-libs/rocPRIM-${PV}*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/hipCUB-rocm-${PV}" + +src_prepare() { + sed -e "/PREFIX hipcub/d" \ + -e "/DESTINATION/s:hipcub/include/:include/:" \ + -e "/rocm_install_symlink_subdir(hipcub)/d" \ + -e "/<INSTALL_INTERFACE/s:hipcub/include/:include/hipcub/:" -i hipcub/CMakeLists.txt || die + + sed -e "s:\${ROCM_INSTALL_LIBDIR}:\${CMAKE_INSTALL_LIBDIR}:" -i cmake/ROCMExportTargetsHeaderOnly.cmake || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -DBUILD_TEST=OFF + ) + + cmake_src_configure +} diff --git a/sci-libs/hipCUB/metadata.xml b/sci-libs/hipCUB/metadata.xml new file mode 100644 index 000000000000..925780ab8815 --- /dev/null +++ b/sci-libs/hipCUB/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCm-Developer-Tools/hipCUB</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/hipSPARSE/Manifest b/sci-libs/hipSPARSE/Manifest new file mode 100644 index 000000000000..f1697cac2574 --- /dev/null +++ b/sci-libs/hipSPARSE/Manifest @@ -0,0 +1 @@ +DIST hipSPARSE-4.0.tar.gz 271756 BLAKE2B d774632c145a842c5dd97df6e0c1c3b3fc6986a5d3e000564b3b9b4f8a9c72bc01b360baf93a82f8a70a85b8ee1833f4e767a48021d3869391000551ed00e614 SHA512 78c9501e6f9f8b0727d2f2207814048f8c784b2b06797559d6f639244cb1439e9218a46c582a6b337b15791519f0bcb9e0f42c17bff00c096c797c96cc7660ae diff --git a/sci-libs/hipSPARSE/hipSPARSE-4.0.0-r1.ebuild b/sci-libs/hipSPARSE/hipSPARSE-4.0.0-r1.ebuild new file mode 100644 index 000000000000..6db7fd375008 --- /dev/null +++ b/sci-libs/hipSPARSE/hipSPARSE-4.0.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="ROCm SPARSE marshalling library" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/hipSPARSE" +SRC_URI="https://github.com/ROCmSoftwarePlatform/hipSPARSE/archive/rocm-${PV}.tar.gz -> hipSPARSE-$(ver_cut 1-2).tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=">=dev-util/rocminfo-$(ver_cut 1-2) + =dev-util/hip-$(ver_cut 1-2)* + =sci-libs/rocSPARSE-${PV}*" +DEPEND="${RDPEND}" + +S="${WORKDIR}/hipSPARSE-rocm-${PV}" + +src_prepare() { + sed -e "s/PREFIX hipsparse//" \ + -e "/<INSTALL_INTERFACE/s,include,include/hipsparse," \ + -e "s:rocm_install_symlink_subdir(hipsparse):#rocm_install_symlink_subdir(hipsparse):" \ + -i library/CMakeLists.txt || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -DHIP_RUNTIME="ROCclr" + -DBUILD_CLIENTS_TESTS=OFF + -DBUILD_CLIENTS_SAMPLES=OFF + -DCMAKE_INSTALL_INCLUDEDIR=include/hipsparse + ) + + cmake_src_configure +} diff --git a/sci-libs/hipSPARSE/metadata.xml b/sci-libs/hipSPARSE/metadata.xml new file mode 100644 index 000000000000..7b1570158957 --- /dev/null +++ b/sci-libs/hipSPARSE/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCmSoftwarePlatform/hipSPARSE</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/kim-api/Manifest b/sci-libs/kim-api/Manifest index 35221f2e648f..059806d4dcc0 100644 --- a/sci-libs/kim-api/Manifest +++ b/sci-libs/kim-api/Manifest @@ -1 +1 @@ -DIST kim-api-2.1.3.txz 296492 BLAKE2B 707ae2eaeaa737865d9b4f48a7f1ed53fb6453fc3680dee3b5b41f315b60710dfa9546105bc871cf1a4667644434e4a8eab0c95976feef3bed73ff8401613ac3 SHA512 efbc0214234b43a65ed40d23d8faa5264ac1dbd056e9e340548ea7ee5dc530f9cfb2d85a1d9d47fba9dfc7aa660a8ec20374daf4aa8ee605e7c097ae2a12512d +DIST kim-api-2.2.1.txz 351144 BLAKE2B d8086904051633549e9fa5e3fd774cad625048a55864aa52840c4a03f8fca4c3e91746fac78a85449c31254a2ffd39bbb521bd119b2f0a79a9ce809aa4eb8bf5 SHA512 b2625dc41474849f281f266a1fa8a2b1738d2433031d2181bde36ac5ec050fcdec3925cb588b287a46c80c01c730be04352ca88a9ba71fc3b37c2da1c84ae650 diff --git a/sci-libs/kim-api/kim-api-2.1.3-r1.ebuild b/sci-libs/kim-api/kim-api-2.2.1.ebuild index b1edca4f5a16..94107339ee17 100644 --- a/sci-libs/kim-api/kim-api-2.1.3-r1.ebuild +++ b/sci-libs/kim-api/kim-api-2.2.1.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 @@ -12,7 +12,6 @@ SRC_URI="https://s3.openkim.org/${PN}/${P}.txz" LICENSE="CDDL" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" DEPEND="app-editors/vim-core" RDEPEND="${DEPEND}" diff --git a/sci-libs/libecpint/Manifest b/sci-libs/libecpint/Manifest index fdaecf16277a..b8a71480926f 100644 --- a/sci-libs/libecpint/Manifest +++ b/sci-libs/libecpint/Manifest @@ -1 +1 @@ -DIST libecpint-1.0.2.tar.gz 1161801 BLAKE2B 98b9264055bc9dab86ad54921f65380bca6cf96a2e6000bc061998367b3eeaffe122fa03ed83c75deb568ee7cce49ff85b97909bd57ae057a189025421dee82e SHA512 adf9394628a39d1e07e4f02bf4fad1c3d19cbfd9a9aa123d6151dddb78c7ef2c2cab07bc7060dba1d5114756c03964c2bd237c82203a1efb38b9facaaa24c74a +DIST libecpint-1.0.4.tar.gz 1313698 BLAKE2B 63f7ce2001ae9bdc975af083735f82fd03e133e880061d3c8659bf18d8236d09a7337049977cea6867a4e0e586d4112ccef6a8ee098903869111551364f614fb SHA512 ff38b598351e4499cd2d270a15e8c2dedcb0a6bc6aafcfc7a88ed8053199356e209bdb630713370aacbc3bba2a169050520405f7003feea7b064140d6d5337b6 diff --git a/sci-libs/libecpint/libecpint-1.0.2.ebuild b/sci-libs/libecpint/libecpint-1.0.4.ebuild index 40c0946f2990..47004ee7019c 100644 --- a/sci-libs/libecpint/libecpint-1.0.2.ebuild +++ b/sci-libs/libecpint/libecpint-1.0.4.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 @@ -9,18 +9,18 @@ DESCRIPTION="Efficient evaluation of integrals over ab initio effective core pot HOMEPAGE="https://github.com/robashaw/libecpint" SRC_URI="https://github.com/robashaw/libecpint/archive/v${PV}.tar.gz -> ${P}.tar.gz" -SLOT="0" LICENSE="MIT" +SLOT="0" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="test" RESTRICT="!test? ( test )" -DEPEND=" - dev-libs/pugixml +RDEPEND="dev-libs/pugixml" +DEPEND="${RDEPEND} test? ( dev-cpp/gtest )" src_configure() { - mycmakeargs=( + local mycmakeargs=( -DLIBECPINT_BUILD_TESTS=$(usex test) ) cmake_src_configure diff --git a/sci-libs/libgeotiff/Manifest b/sci-libs/libgeotiff/Manifest index 998b19aee176..930d7ae0d298 100644 --- a/sci-libs/libgeotiff/Manifest +++ b/sci-libs/libgeotiff/Manifest @@ -1 +1,2 @@ DIST libgeotiff-1.5.1.tar.gz 528083 BLAKE2B 24dd812c4b12a942b21640c031fd890bb2151f6dfedfd98d0b54cf41d6341ee4d352edd427d350f36542169f822a360f8d0c9f3bb13019a422db77f43e7bd893 SHA512 6599ec89dd39d975ba389584778dd084ded628d3304b302e3af25bb7d156cf583c56b52f1c89c253b041df43f99d6893190ee1556398dab1ba044f12ef8b8dc1 +DIST libgeotiff-1.6.0.tar.gz 537175 BLAKE2B 4b1430c9e80cdd4193f474484b295c151ecb9a654248e08527046f1aa35cfab0be59980edad2cc6ae90c1a7b0e03d46fd203affd5b01c83e0fd4435d5e56b2d3 SHA512 4c59598140d6c435a25aff6520e07a01a0153cac526df3b3e1366d5edc43cd82b15099da79ee8a2fb916e858f5a5d7421cfbf96bb485c91fac9e19c7209b7418 diff --git a/sci-libs/libgeotiff/libgeotiff-1.6.0.ebuild b/sci-libs/libgeotiff/libgeotiff-1.6.0.ebuild new file mode 100644 index 000000000000..0826b31d2196 --- /dev/null +++ b/sci-libs/libgeotiff/libgeotiff-1.6.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="Library for reading TIFF files with embedded tags for geographic information" +HOMEPAGE="https://trac.osgeo.org/geotiff/ https://github.com/OSGeo/libgeotiff" +SRC_URI="https://download.osgeo.org/geotiff/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0/5" +KEYWORDS="~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug doc static-libs" + +BDEPEND=" + doc? ( app-doc/doxygen ) + virtual/pkgconfig +" +DEPEND=" + >=media-libs/tiff-3.9.1:0 + >=sci-libs/proj-6.0.0:= + sys-libs/zlib + virtual/jpeg:= +" +RDEPEND="${DEPEND}" + +src_prepare() { + default + sed -e "s:-O3::g" -i configure.ac || die + eautoreconf +} + +src_configure() { + econf \ + --disable-static \ + --enable-debug=$(usex debug) \ + --with-jpeg="${EPREFIX}"/usr \ + --with-zip="${EPREFIX}"/usr +} + +src_compile() { + default + + if use doc; then + mkdir -p docs/api || die + cp "${FILESDIR}"/Doxyfile Doxyfile || die + doxygen -u Doxyfile || die "updating doxygen config failed" + doxygen Doxyfile || die "docs generation failed" + fi +} + +src_install() { + use doc && local HTML_DOCS=( docs/api/. ) + + default + + find "${D}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/libqalculate/Manifest b/sci-libs/libqalculate/Manifest index 2469b09cc2b3..0e8cd361b6ef 100644 --- a/sci-libs/libqalculate/Manifest +++ b/sci-libs/libqalculate/Manifest @@ -1,3 +1,2 @@ -DIST libqalculate-0.9.9.tar.gz 1509180 BLAKE2B 3f309add80ddb6b21730eab25d37c2d8fee163a79768a09ec5e7e5d329aa11ed9dafbf77f4ce194a96c2ac6a3b55a9c0d16755d5e106123cc2a5f931f6872d91 SHA512 c7692dcd91e0a7aea8184ca5366a3caf704b6e716c9e8552f4214ce7fc3157cf127daf7a063196383e4d5a99f8703486f2282c7fb01acafee5e1b3d8993de384 -DIST libqalculate-2.8.1.tar.gz 1961535 BLAKE2B 074d83a44cbc6cb5d8afe5121e4c34cec46f2f6fecf046f6b4e67c6ebc612030ccbd0f42c303cc675267374502ecb3e831c9bbfca0f13d339e31fb8933a99b7a SHA512 a258bf4f67db70263626ac77822afc75fd7a9e5af2feb1930314daff219865b28c43e82fef6ceae4f3f23957447d6eaebdc709e606d28457bca0f47eefb9274a DIST libqalculate-3.15.0.tar.gz 1747863 BLAKE2B eed4cf8f11546b80e9556cfdf09e48d8c4c29948e6bdc02b3f9efd9aa6dce8e6c5eecf440bf4b6243ddcdb59cb7176f1eb054a3ef73cc91444d86ed7645f3a37 SHA512 b8f2af83218a3f90326cb7f679b71cac328cf0591178ed718920cd491d682cf7341c702934b3a232bea5a67ec2d2e09b4321a7ac938c5bc1e221bee086ae4c36 +DIST libqalculate-3.16.1.tar.gz 1756176 BLAKE2B b09e06a4d89249bb3e38a47ed47acc7598bc62e966673a1eb175641b1018021199dbbcd38266301ec8b2d3c55747378adfde3db4e25e58771be162905cb493dc SHA512 3cc7ba66493252015b9d33835188c236b10afdce5f23021a5e686609609265aed81d592815ee6a172c269a0f144a3203c954435fea8ddb82637453d5c98cd05a diff --git a/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch b/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch deleted file mode 100644 index ab2a5a0eb3ff..000000000000 --- a/sci-libs/libqalculate/files/libqalculate-0.9.9-readline.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff -ru libqalculate-0.9.9.orig/src/qalc.cc libqalculate-0.9.9/src/qalc.cc ---- libqalculate-0.9.9.orig/src/qalc.cc 2016-07-26 14:41:40.000000000 +0200 -+++ libqalculate-0.9.9/src/qalc.cc 2016-08-04 18:27:36.553906707 +0200 -@@ -3179,7 +3179,9 @@ - if(!file) { - g_free(gstr_file); - g_free(gstr_oldfile); -+#ifdef HAVE_LIBREADLINE - g_free(historyfile); -+#endif - first_time = true; - set_saved_mode(); - return; diff --git a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild b/sci-libs/libqalculate/libqalculate-0.9.9.ebuild deleted file mode 100644 index 205d51b8dc7a..000000000000 --- a/sci-libs/libqalculate/libqalculate-0.9.9.ebuild +++ /dev/null @@ -1,66 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -DESCRIPTION="A modern multi-purpose calculator library" -HOMEPAGE="https://qalculate.github.io/" -SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0/6" -KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" -IUSE="gnuplot readline static-libs" - -COMMON_DEPEND=" - dev-libs/glib:2 - dev-libs/libxml2:2 - >=sci-libs/cln-1.2 - sys-libs/zlib - readline? ( sys-libs/readline:0= )" -DEPEND="${COMMON_DEPEND} - dev-util/intltool - sys-devel/gettext - virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - net-misc/wget - gnuplot? ( >=sci-visualization/gnuplot-3.7 )" - -PATCHES=( - # https://github.com/Qalculate/libqalculate/issues/6 - "${FILESDIR}"/${P}-readline.patch -) - -src_prepare() { - default - - cat >po/POTFILES.skip <<-EOF - # Required by make check - data/currencies.xml.in - data/datasets.xml.in - data/elements.xml.in - data/functions.xml.in - data/planets.xml.in - data/units.xml.in - data/variables.xml.in - src/defs2doc.cc - EOF -} - -src_configure() { - econf \ - $(use_enable static-libs static) \ - $(use_with readline) -} - -src_install() { - # docs/reference/Makefile.am -> referencedir= - emake \ - DESTDIR="${D}" \ - referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ - install - - dodoc AUTHORS ChangeLog NEWS README* TODO - - find "${ED}" -name '*.la' -delete || die -} diff --git a/sci-libs/libqalculate/libqalculate-3.15.0-r1.ebuild b/sci-libs/libqalculate/libqalculate-3.15.0-r1.ebuild index 822797484de7..35672fd3c7e3 100644 --- a/sci-libs/libqalculate/libqalculate-3.15.0-r1.ebuild +++ b/sci-libs/libqalculate/libqalculate-3.15.0-r1.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 @@ -9,7 +9,7 @@ SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz LICENSE="GPL-2" SLOT="0/21" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux" IUSE="curl icu gnuplot readline" DEPEND=" diff --git a/sci-libs/libqalculate/libqalculate-2.8.1.ebuild b/sci-libs/libqalculate/libqalculate-3.16.1.ebuild index 2cd5124b9489..94aa33f3f886 100644 --- a/sci-libs/libqalculate/libqalculate-2.8.1.ebuild +++ b/sci-libs/libqalculate/libqalculate-3.16.1.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 @@ -8,11 +8,11 @@ HOMEPAGE="https://qalculate.github.io/" SRC_URI="https://github.com/Qalculate/${PN}/releases/download/v${PV}/${P}.tar.gz" LICENSE="GPL-2" -SLOT="0/20" -KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="curl icu gnuplot readline static-libs" +SLOT="0/21" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux" +IUSE="curl icu gnuplot readline" -COMMON_DEPEND=" +DEPEND=" dev-libs/gmp:0= dev-libs/libxml2:2 dev-libs/mpfr:0= @@ -20,33 +20,35 @@ COMMON_DEPEND=" curl? ( net-misc/curl ) icu? ( dev-libs/icu:= ) readline? ( sys-libs/readline:0= )" -DEPEND="${COMMON_DEPEND} +RDEPEND="${DEPEND} + gnuplot? ( >=sci-visualization/gnuplot-3.7 )" +BDEPEND=" dev-util/intltool sys-devel/gettext virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - gnuplot? ( >=sci-visualization/gnuplot-3.7 )" src_prepare() { default - cat >po/POTFILES.skip <<-EOF - # Required by make check - data/currencies.xml.in - data/datasets.xml.in - data/elements.xml.in - data/functions.xml.in - data/planets.xml.in - data/units.xml.in - data/variables.xml.in - src/defs2doc.cc + cat >po/POTFILES.skip <<-EOF || die + # Required by make check + data/currencies.xml.in + data/datasets.xml.in + data/elements.xml.in + data/functions.xml.in + data/planets.xml.in + data/prefixes.xml.in + data/units.xml.in + data/variables.xml.in + src/defs2doc.cc EOF } src_configure() { econf \ - $(use_enable static-libs static) \ + --disable-static \ $(use_with curl libcurl) \ + $(use_with gnuplot gnuplot-call) \ $(use_with icu) \ $(use_with readline) } @@ -57,8 +59,7 @@ src_install() { DESTDIR="${D}" \ referencedir="${EPREFIX}/usr/share/doc/${PF}/html" \ install - - dodoc AUTHORS ChangeLog NEWS README* TODO + einstalldocs find "${ED}" -name '*.la' -delete || die } diff --git a/sci-libs/libtifiles2/Manifest b/sci-libs/libtifiles2/Manifest index e6d3eb8c3acf..87c03e569953 100644 --- a/sci-libs/libtifiles2/Manifest +++ b/sci-libs/libtifiles2/Manifest @@ -1,2 +1 @@ -DIST libtifiles2-1.1.6.tar.bz2 390447 BLAKE2B 182bd59aa5b45d2f86c64fb17b9ae9de6246cd6ffcd719069d7b94e67a5b5a2d674cbe0824f68a6492aa9844941bb74a59c2f81bea85a460f0463b962e81eb73 SHA512 abc40275e7af921a67b658c6b6aa8ec511e965a3e9e00fcdc676c2b85e1d95dbae0f118e127e0806950d26afde9949251e47eb85af04d8f8ecca777dc3afcd23 DIST libtifiles2-1.1.7.tar.bz2 122454 BLAKE2B 1ae51ccde4a5a9127b015b6fa5ad4d446e56b473330a3d220c6a6b7cb333161e9e9d80cae7ac8985beb0e844ce21ffdc4713847d69986b6d7f5506a5a6b1545f SHA512 e2ef4de0ce8c78f0da4098ec618a7194f9b94a028f9cb54a0ea1c29c00028d7cf144a067d8aaf8010ad094378b6426d05621d530cfbfa05f793f6c1ed41fcaef diff --git a/sci-libs/libtifiles2/libtifiles2-1.1.6-r1.ebuild b/sci-libs/libtifiles2/libtifiles2-1.1.6-r1.ebuild deleted file mode 100644 index 3990c850b5fb..000000000000 --- a/sci-libs/libtifiles2/libtifiles2-1.1.6-r1.ebuild +++ /dev/null @@ -1,47 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -inherit autotools-utils - -DESCRIPTION="Library for TI calculator files" -HOMEPAGE="https://lpg.ticalc.org/prj_tilp/" -SRC_URI="mirror://sourceforge/tilp/tilp2-linux/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux" -IUSE="doc nls static-libs" - -RDEPEND=" - app-arch/libarchive - dev-libs/glib:2 - >=sci-libs/libticables2-1.3.3 - >=sci-libs/libticonv-1.1.3 - nls? ( virtual/libintl )" - -DEPEND="${RDEPEND} - virtual/pkgconfig - nls? ( sys-devel/gettext )" - -DOCS=( AUTHORS LOGO NEWS README ChangeLog docs/api.txt ) - -src_prepare() { - cd src - sed -i -e "s|types\*.h|$(echo types*.h)|" Makefile.in || die - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - --disable-rpath - $(use_enable nls) - ) - autotools-utils_src_configure -} - -src_install() { - autotools-utils_src_install - use doc && dohtml docs/html/* -} diff --git a/sci-libs/libxc/Manifest b/sci-libs/libxc/Manifest index f49c88cee398..33d8bf9d9f86 100644 --- a/sci-libs/libxc/Manifest +++ b/sci-libs/libxc/Manifest @@ -1,2 +1,3 @@ DIST libxc-2.2.3.tar.gz 734714 BLAKE2B c5c4c3aec3373b8b481de8ec1779366b6916899e0b77964cbde0e83904b351e009b14a3ff64e9f020640e6ebf68d78828615b8abf83a46fdf86ea16480083643 SHA512 bfcd88c1946e459227e9b1a32c513f0e68ae7a5497925ac6e692085542526ebad9fe2cd5722077c839c06dbaaceca601c7f615ee6936e638eb150a9d68278d5a DIST libxc-3.0.0.tar.gz 8388775 BLAKE2B e82a7310c583c39b6c2313668a5d3a3d5ae7bf71ad450e9ac6241d1601bf1bb429abf98787f7e0c3c252e881c381b895e277d18619b57c46f2f910d7e079941c SHA512 42173341f917c2aed6954f76885d2a9149d7212d2525becf77072b9878753c28d752b5cf6b2c79c90a88d8aa033f0aa94fa9753eb67108e9325cee6919cece52 +DIST libxc-5.1.0.tar.gz 42951890 BLAKE2B 32ce8d15547882455e01cbf9d4ee8780b97059d5b710f25b799779a5efe7326c376a53111102f3d5e0853bb89ba1f4dd9c2f219cfb4d3f91a2f6e1100f8fb47a SHA512 615b82290e87a48484f6dbe41cd8f1538ba6201b99fc97be2db64b66232fa4349fe6cebfb51566098db3cabd7aff662bb7ace43a811507bff2e93afd03d56ce4 diff --git a/sci-libs/libxc/libxc-5.1.0.ebuild b/sci-libs/libxc/libxc-5.1.0.ebuild new file mode 100644 index 000000000000..bade5f34f401 --- /dev/null +++ b/sci-libs/libxc/libxc-5.1.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools fortran-2 + +DESCRIPTION="A library of exchange-correlation functionals for use in DFT" +HOMEPAGE="https://octopus-code.org/wiki/Libxc" +SRC_URI="https://gitlab.com/libxc/libxc/-/archive/${PV}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux" +IUSE="fortran test" +RESTRICT="!test? ( test )" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + --enable-shared \ + --disable-static \ + $(use_enable fortran) +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -type f -delete || die +} diff --git a/sci-libs/lrslib/lrslib-071.ebuild b/sci-libs/lrslib/lrslib-071.ebuild index 701a30f70848..72451092c6d2 100644 --- a/sci-libs/lrslib/lrslib-071.ebuild +++ b/sci-libs/lrslib/lrslib-071.ebuild @@ -11,7 +11,7 @@ SRC_URI="http://cgm.cs.mcgill.ca/~avis/C/lrslib/archive/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 ~arm ~x86 ~amd64-linux ~x86-linux" IUSE="gmp mpi" RDEPEND=" diff --git a/sci-libs/matio/Manifest b/sci-libs/matio/Manifest index 05e6aaa14183..28cc71e850f5 100644 --- a/sci-libs/matio/Manifest +++ b/sci-libs/matio/Manifest @@ -1 +1 @@ -DIST matio-1.5.17.tar.gz 10066268 BLAKE2B 0852d1861bb4c43acd8a34d7114d29b7e15aa00e6f995d8516d22ff9420268cf7de7b82e08ee33978891bdfd02fcf3f8441aa1466e66e112a21f01abd6f3f0e0 SHA512 af8ff11c7c44fea9ea6886e381f49ef9186946f3def98ad9695f2d5d1df045c35e8f4ceac12a44be397f7bbd708b4803762b5ce54c45b60a9f446d551c04f5d2 +DIST matio-1.5.19.tar.gz 10108869 BLAKE2B db641bda8d68e203af765aa83ecf661e011995e242c4f91aacb4bcc8ba2b545c36a3eec3f4954b3d7ecc286e630acd15b34ec48b372063bfb8b892259fc49ec7 SHA512 c087944a7d87d78a7de662d7e19f5f81c55858cf5bf315c28d5a0f7544555b0816045e20bb0c83752eb3d54b589d9237a27cf3de98e3ebefcc7ea0af9311740e diff --git a/sci-libs/matio/matio-1.5.17.ebuild b/sci-libs/matio/matio-1.5.19.ebuild index da6218a96d9f..adb63f7b65e3 100644 --- a/sci-libs/matio/matio-1.5.17.ebuild +++ b/sci-libs/matio/matio-1.5.19.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 @@ -8,7 +8,7 @@ HOMEPAGE="https://sourceforge.net/projects/matio/" SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" LICENSE="BSD-2" -SLOT="0/9" # subslot = soname version +SLOT="0/11" # subslot = soname version KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc examples hdf5 sparse" @@ -42,5 +42,5 @@ src_install() { fi # no static archives - find "${D}" -name "*.la" -delete || die + find "${ED}" -name "*.la" -delete || die } diff --git a/sci-libs/nanoflann/Manifest b/sci-libs/nanoflann/Manifest index 231a10156246..a11624ff8c38 100644 --- a/sci-libs/nanoflann/Manifest +++ b/sci-libs/nanoflann/Manifest @@ -1 +1 @@ -DIST nanoflann-1.2.3.tar.gz 1157793 BLAKE2B e6b3947c5c99689da5d3759e0217deca691bada8089cdd1e3cd41902b0db2533908fab1ff5474851064d3f2ab6a5a70429320bbf432a0381df4aec0139a6b2f4 SHA512 01d5226fb669c9ef21e1bd36bddb07c7bf8bbbf9798e90bfa7966de4ae01e05c669c33a73d37340c41c79fcab81c91c3991077d799a211985b2d0a2a365a8878 +DIST nanoflann-1.3.2.tar.gz 685060 BLAKE2B 2dd1ed9ae3f766099d86b00e1c84a11d9162930dba91053746177ff39b7c84f770120734a235b25196620f637b94986106d364db300f51c873171e7805849b7c SHA512 937d3787df389efe530060cd2723130251e2ca7937b10f8d770c7b0d21ffd972e6da21b2b9e655c5740d57b4af8f76f0cc6d9ae39527c440be8863be0deaa7ed diff --git a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild index 4db99558405a..0e91a4124d0e 100644 --- a/sci-libs/nanoflann/nanoflann-1.2.3.ebuild +++ b/sci-libs/nanoflann/nanoflann-1.3.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees" HOMEPAGE="https://github.com/jlblancoc/nanoflann" @@ -18,18 +18,16 @@ fi LICENSE="BSD" SLOT="0" -IUSE="" +IUSE="examples test" +RESTRICT="!test? ( test )" RDEPEND="dev-cpp/eigen:3" DEPEND="${RDEPEND}" -src_prepare() { - cmake-utils_src_prepare - - # do not compile examples - cmake_comment_add_subdirectory examples -} - -src_test() { - "${CMAKE_MAKEFILE_GENERATOR}" -C "${BUILD_DIR}" -j1 test +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(usex examples) + -DBUILD_TESTS=$(usex test) + ) + cmake_src_configure } diff --git a/sci-libs/nanoflann/nanoflann-9999.ebuild b/sci-libs/nanoflann/nanoflann-9999.ebuild index 4db99558405a..0e91a4124d0e 100644 --- a/sci-libs/nanoflann/nanoflann-9999.ebuild +++ b/sci-libs/nanoflann/nanoflann-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit cmake-utils +inherit cmake DESCRIPTION="C++ header-only library for Nearest Neighbor (NN) search wih KD-trees" HOMEPAGE="https://github.com/jlblancoc/nanoflann" @@ -18,18 +18,16 @@ fi LICENSE="BSD" SLOT="0" -IUSE="" +IUSE="examples test" +RESTRICT="!test? ( test )" RDEPEND="dev-cpp/eigen:3" DEPEND="${RDEPEND}" -src_prepare() { - cmake-utils_src_prepare - - # do not compile examples - cmake_comment_add_subdirectory examples -} - -src_test() { - "${CMAKE_MAKEFILE_GENERATOR}" -C "${BUILD_DIR}" -j1 test +src_configure() { + local mycmakeargs=( + -DBUILD_EXAMPLES=$(usex examples) + -DBUILD_TESTS=$(usex test) + ) + cmake_src_configure } diff --git a/sci-libs/nfft/Manifest b/sci-libs/nfft/Manifest index d431745d3883..da7de6adcaee 100644 --- a/sci-libs/nfft/Manifest +++ b/sci-libs/nfft/Manifest @@ -1 +1 @@ -DIST nfft-3.3.2.tar.gz 2821259 BLAKE2B b0029ecb0027a18de84f1a4db058101a26038547642c524125dec66bc6dc1da19873314ff6e4f483c401d39ee7c999cb9225de456be0928d55bca9fb1c1f6e69 SHA512 66bcd2439c9ba27063aa1db01c526a580c5c67938e2db332068ce20035ede1d8766e8f134a0e5dac5263aca14121573ca4f5a906b452c43f218636f5f6161c02 +DIST nfft-3.5.2.tar.gz 5377870 BLAKE2B 5a9b79fd2db781f163f3e694e25096f9abfac67ae9e2f0614444e99160ac6ce150356b72130ba44f82c541120f8876723a06e989a5c125e1da1b85976b7ff500 SHA512 e5437b358f22807de2251527025accf326d77322e029cfc3df6ee733ccca4d020cbd3c045773735de0641618c71e5cc9b8f4df53becea3b7a7e27750f21fa64e diff --git a/sci-libs/nfft/nfft-3.3.2.ebuild b/sci-libs/nfft/nfft-3.5.2.ebuild index 37901af7444f..f0ea656c7539 100644 --- a/sci-libs/nfft/nfft-3.3.2.ebuild +++ b/sci-libs/nfft/nfft-3.5.2.ebuild @@ -1,7 +1,7 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 inherit toolchain-funcs @@ -12,7 +12,7 @@ SRC_URI="https://github.com/NFFT/nfft/releases/download/${PV}/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="doc openmp static-libs" +IUSE="doc openmp" RDEPEND="sci-libs/fftw:3.0[threads,openmp?]" DEPEND="${RDEPEND}" @@ -34,16 +34,19 @@ pkg_pretend() { src_configure() { econf \ - --enable-all \ + --enable-all \ --enable-shared \ - $(use_enable openmp) \ - $(use_enable static-libs static) + --disable-static \ + $(use_enable openmp) } src_install() { default - use doc || rm -r "${ED}/usr/share/doc/${P}/html" || die - # infft uses pkg-config to record its private dependencies + if ! use doc; then + rm -r "${ED}"/usr/share/doc/${P}/html || die + fi + + # no static archives find "${ED}" -name '*.la' -delete || die } diff --git a/sci-libs/octomap/octomap-1.9.5.ebuild b/sci-libs/octomap/octomap-1.9.5.ebuild index 094b92ac45e4..206574aa0356 100644 --- a/sci-libs/octomap/octomap-1.9.5.ebuild +++ b/sci-libs/octomap/octomap-1.9.5.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 @@ -68,7 +68,7 @@ src_install() { dodoc -r dynamicEDT3D/doc/html/* fi - insinto /usr/share/ros_packages/${PN} + insinto /usr/share/ros_packages/${PN} doins "${ED}/usr/share/${PN}/package.xml" if use qt5; then diff --git a/sci-libs/openlibm/Manifest b/sci-libs/openlibm/Manifest index 7165687c80a6..1eed47ab8e47 100644 --- a/sci-libs/openlibm/Manifest +++ b/sci-libs/openlibm/Manifest @@ -1 +1 @@ -DIST openlibm-0.7.2.tar.gz 366285 BLAKE2B 0086d026e53c337e20dc895dad38157308b16392f590c8a2c2f7699f2bb8bd5bd0d1931672c2d31a320af0a5ad1cc2e10f2eeb953f30382cfcae5aaac0adc478 SHA512 25e5c28ef898d905ff589d24efb87a99f3772d59596ad5660afc7cafbcd709bca167e863aadc84b90b930add036d285db1332faa9adf1b73562abf1185b9ee5c +DIST openlibm-0.7.3.tar.gz 366268 BLAKE2B 31cb50e64a3211770b1b91550382a2d4844af020a3e71dd2a7268f8faf3b3b4b54feedf4de19f27b7b74efa05961999d2b76416b1b615a554dc794cac782306f SHA512 433ec9ed5c0364b58fe1eff8760b64ad4203c7711fef02ed12d0070a34442b10c806fe6bccd81eadaa7758af2dd116c76bb769480c56e3320d548aff29d249a7 diff --git a/sci-libs/openlibm/openlibm-0.7.2.ebuild b/sci-libs/openlibm/openlibm-0.7.3.ebuild index 83cb64621d13..baa2bdfd1729 100644 --- a/sci-libs/openlibm/openlibm-0.7.2.ebuild +++ b/sci-libs/openlibm/openlibm-0.7.3.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 @@ -19,7 +19,7 @@ PATCHES=( "${FILESDIR}"/${PN}-0.7.2-make_inc.patch ) src_prepare() { default sed -e "/^OLM_LIBS :=/s/^/#/" \ - -e "/install: /s/install-static//" \ + -e "/install: /s/install-static//" \ -i Makefile || die } diff --git a/sci-libs/rocFFT/Manifest b/sci-libs/rocFFT/Manifest new file mode 100644 index 000000000000..610854666625 --- /dev/null +++ b/sci-libs/rocFFT/Manifest @@ -0,0 +1 @@ +DIST rocFFT-4.0.0.tar.gz 772176 BLAKE2B f08db9487449e707ba814a66d23992f68c140017a38f72ee45b3b224fc3e46abd40b976aef645f4432601265b38cff8939456981c686360eba135349b5d28fb5 SHA512 db9a6b49162dfb7924aa5f5dc8d42c92a5a741e03c3c0b4ece2cfb72de7506a345f3d28d31a3d7755cfe78078c448c9f952ca671e472335a4301de8702916176 diff --git a/sci-libs/rocFFT/metadata.xml b/sci-libs/rocFFT/metadata.xml new file mode 100644 index 000000000000..3d5423574171 --- /dev/null +++ b/sci-libs/rocFFT/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCmSoftwarePlatform/rocFFT</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild b/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild new file mode 100644 index 000000000000..eee74cd57dc0 --- /dev/null +++ b/sci-libs/rocFFT/rocFFT-4.0.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake flag-o-matic check-reqs + +DESCRIPTION="Next generation FFT implementation for ROCm" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocFFT" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocFFT/archive/rocm-${PV}.tar.gz -> rocFFT-${PV}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="=dev-util/hip-$(ver_cut 1-2)*" +DEPEND="${RDEPEND}" + +CHECKREQS_MEMORY="28G" + +S="${WORKDIR}/rocFFT-rocm-${PV}" + +src_prepare() { + sed -e "s/PREFIX rocfft//" \ + -e "/rocm_install_symlink_subdir/d" \ + -e "/<INSTALL_INTERFACE/s,include,include/rocFFT," \ + -i library/src/CMakeLists.txt || die + + sed -e "/rocm_install_symlink_subdir/d" \ + -e "$!N;s:PREFIX\n rocfft:# PREFIX rocfft\n:;P;D" \ + -i library/src/device/CMakeLists.txt || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -Wno-dev + -DCMAKE_INSTALL_INCLUDEDIR="include/rocFFT/" + ) + + cmake_src_configure +} diff --git a/sci-libs/rocPRIM/Manifest b/sci-libs/rocPRIM/Manifest new file mode 100644 index 000000000000..835473471bc6 --- /dev/null +++ b/sci-libs/rocPRIM/Manifest @@ -0,0 +1 @@ +DIST rocPRIM-4.0.0.tar.gz 285576 BLAKE2B 44f3542068dee48c0f2bb475f4d3fd74592fe27f4ca00a7b754014deaaa7187c4363d4b2e7fe13ff771b48d2885b848b9632ef71ce85e80e0946e4e5f13495d8 SHA512 c37fce4f16788d82379459af69b9f47f2bccb3b0e655e7314a23936cc99a474afb0092f240bd950341f1b02ce93d03abce0df7ce62ffcb5d577171ce870dd1d2 diff --git a/sci-libs/rocPRIM/metadata.xml b/sci-libs/rocPRIM/metadata.xml new file mode 100644 index 000000000000..2926194bbddd --- /dev/null +++ b/sci-libs/rocPRIM/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCmSoftwarePlatform/rocPRIM</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild b/sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild new file mode 100644 index 000000000000..880998e8b08c --- /dev/null +++ b/sci-libs/rocPRIM/rocPRIM-4.0.0-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="HIP parallel primitives for developing performant GPU-accelerated code on ROCm" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocPRIM" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocPRIM/archive/rocm-${PV}.tar.gz -> rocPRIM-${PV}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" +IUSE="" + +RDEPEND=">=dev-util/hip-${PV} + >=dev-util/rocm-cmake-${PV}" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocPRIM-rocm-${PV}" + +src_prepare() { + # "hcc" is depcreated, new platform ist "rocclr" + sed -e "/HIP_PLATFORM STREQUAL/s,hcc,rocclr," -i cmake/VerifyCompiler.cmake || die + + # Install according to FHS + sed -e "/PREFIX rocprim/d" \ + -e "/INSTALL_INTERFACE/s,rocprim/include,include/rocprim," \ + -e "/DESTINATION/s,rocprim/include,include," \ + -e "/rocm_install_symlink_subdir(rocprim)/d" \ + -i rocprim/CMakeLists.txt || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -DAMDGPU_TARGETS="gfx803;gfx900;gfx906;gfx908" + -DBUILD_TEST=OFF + -DBUILD_BENCHMARK=OFF + ) + + cmake_src_configure +} diff --git a/sci-libs/rocRAND/Manifest b/sci-libs/rocRAND/Manifest new file mode 100644 index 000000000000..7059aa650348 --- /dev/null +++ b/sci-libs/rocRAND/Manifest @@ -0,0 +1 @@ +DIST rocRAND-4.0.0.tar.gz 3105585 BLAKE2B 0466d88c286290a9cd179fac61209051f7db5323457ccad9c5f0b579439662e1fe2b8951f85101c7c31bd058bc1448e839a19dc9a3a2d4ca42eb4e0b2baf4eb4 SHA512 c02bc32a9cf7660739ecf7ef99262fb14efa2c76afb3476105eedc4264dec987351ebd461c13c9e0aef9e640b42960b2a63295479664b83924cf0d5c34a157e8 diff --git a/sci-libs/rocRAND/metadata.xml b/sci-libs/rocRAND/metadata.xml new file mode 100644 index 000000000000..f3734040f918 --- /dev/null +++ b/sci-libs/rocRAND/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCmSoftwarePlatform/rocRAND</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/rocRAND/rocRAND-4.0.0-r1.ebuild b/sci-libs/rocRAND/rocRAND-4.0.0-r1.ebuild new file mode 100644 index 000000000000..1a112d2a73d1 --- /dev/null +++ b/sci-libs/rocRAND/rocRAND-4.0.0-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Generate pseudo-random and quasi-random numbers" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocRAND" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocRAND/archive/rocm-${PV}.tar.gz -> rocRAND-${PV}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="=dev-util/hip-$(ver_cut 1-2)*" +DEPEND="${RDEPEND} + =dev-util/rocm-cmake-$(ver_cut 1-2)*" + +S="${WORKDIR}/rocRAND-rocm-${PV}" + +src_prepare() { + sed -r -e "s:(hip|roc)rand/lib:\${CMAKE_INSTALL_LIBDIR}:" \ + -e "s:(hip|roc)rand/include:include/\1rand:" \ + -e "/INSTALL_RPATH/d" -i library/CMakeLists.txt || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -DBUILD_TEST=OFF + ) + + cmake_src_configure + # do not rerun cmake and the build process in src_install + sed '/RERUN/,+1d' -i "${BUILD_DIR}"/build.ninja || die +} diff --git a/sci-libs/rocSPARSE/Manifest b/sci-libs/rocSPARSE/Manifest new file mode 100644 index 000000000000..a9b843595f7e --- /dev/null +++ b/sci-libs/rocSPARSE/Manifest @@ -0,0 +1 @@ +DIST rocSPARSE-4.0.0.tar.gz 587761 BLAKE2B 25f9f0183c06b574505fe6e9011b32ea4fbe48c0a1883b8991baf45b8a2238312f352e614c0069531c986e548453b6e7b7a77f883dffea82ed41df488964b55d SHA512 4a4acf24a789ea58b53a8d06ea528a6aed8eabac21a7a3cd73011e9b31d03dceb488cc72f29c5513205f2b538d24e9dbaccda1a932bcc466cd04a65606a77b3b diff --git a/sci-libs/rocSPARSE/metadata.xml b/sci-libs/rocSPARSE/metadata.xml new file mode 100644 index 000000000000..67b29624e645 --- /dev/null +++ b/sci-libs/rocSPARSE/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCmSoftwarePlatform/rocSPARSE</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild b/sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild new file mode 100644 index 000000000000..14e2518eb4a7 --- /dev/null +++ b/sci-libs/rocSPARSE/rocSPARSE-4.0.0-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Basic Linear Algebra Subroutines for sparse computation" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocSPARSE" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocSPARSE/archive/rocm-${PV}.tar.gz -> rocSPARSE-${PV}.tar.gz" + +LICENSE="MIT" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND="=dev-util/hip-$(ver_cut 1-2)* + =sci-libs/rocPRIM-$(ver_cut 1-2)*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocSPARSE-rocm-${PV}" + +rocSPARSE_V="0.1" + +BUILD_DIR="${S}/build/release" + +src_prepare() { + sed -e "s/PREFIX rocsparse//" \ + -e "/<INSTALL_INTERFACE/s,include,include/rocsparse," \ + -e "/rocm_install_symlink_subdir(rocsparse)/d" \ + -e "s:rocsparse/include:include/rocsparse:" \ + -i "${S}/library/CMakeLists.txt" || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device to omit a sandbox violation + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -DBUILD_CLIENTS_SAMPLES=OFF + -DCMAKE_INSTALL_INCLUDEDIR="include/rocsparse" + ) + + cmake_src_configure +} diff --git a/sci-libs/rocThrust/Manifest b/sci-libs/rocThrust/Manifest new file mode 100644 index 000000000000..282c08da9b97 --- /dev/null +++ b/sci-libs/rocThrust/Manifest @@ -0,0 +1 @@ +DIST rocThrust-4.0.0.tar.gz 1166346 BLAKE2B 02c89e0c4ab2c888a20b7c956a73012157f2735e6ec76369a1f75fbc17bb3f995d1914106ec58562f28243fbe5f019ac230ac3313b6aacb4d8b868f3ac1f091e SHA512 476aa5706487c5801cc91908806a1a1fcb550171f63e0b2debd9b59b18c7435c484578ec456ccfabc140dd7bca7d9bb432a7ba223946b1fca22e72e7d053af2d diff --git a/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch b/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch new file mode 100644 index 000000000000..2b78fd0053ed --- /dev/null +++ b/sci-libs/rocThrust/files/rocThrust-4.0-operator_new.patch @@ -0,0 +1,29 @@ +# Use copy assignment instead of copy constructor to avoid unavailability of placement new operator. +# But more likely there is another hidden bug, since this syntax is actually correct. +# There are still similar syntax remain in other headers, which may cause identical compilation error. + +# Suggested by Yuyi Wang <strawberry_str@hotmail.com> +diff --color -uprN rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_copy.h rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_copy.h +--- rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_copy.h 2021-01-21 20:42:44.439246148 +0800 ++++ rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_copy.h 2021-01-21 21:13:20.926840762 +0800 +@@ -62,7 +62,7 @@ namespace __uninitialized_copy + InputType const& in = raw_reference_cast(input[idx]); + OutputType& out = raw_reference_cast(output[idx]); + +- ::new(static_cast<void*>(&out)) OutputType(in); ++ out = in; + } + }; // struct functor + +diff --color -uprN rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_fill.h rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_fill.h +--- rocThrust-rocm-4.0.0.orig/thrust/system/hip/detail/uninitialized_fill.h 2021-01-21 20:42:44.439246148 +0800 ++++ rocThrust-rocm-4.0.0/thrust/system/hip/detail/uninitialized_fill.h 2021-01-21 21:13:07.022489406 +0800 +@@ -59,7 +59,7 @@ namespace __uninitialized_fill + { + value_type& out = raw_reference_cast(items[idx]); + +- ::new(static_cast<void*>(&out)) value_type(value); ++ out = value; + } + }; // struct functor + } // namespace __uninitialized_copy diff --git a/sci-libs/rocThrust/metadata.xml b/sci-libs/rocThrust/metadata.xml new file mode 100644 index 000000000000..272c6a63e9bb --- /dev/null +++ b/sci-libs/rocThrust/metadata.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + </maintainer> + <maintainer type="person"> + <email>candrews@gentoo.org</email> + <name>Craig Andrews</name> + </maintainer> + <maintainer type="person"> + <email>gentoo@holzke.net</email> + <name>Wilfried Holzke</name> + </maintainer> + <upstream> + <remote-id type="github">ROCm-Developer-Tools/rocThrust</remote-id> + </upstream> + <origin>gentoo-staging</origin> +</pkgmetadata> diff --git a/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild b/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild new file mode 100644 index 000000000000..4ca8a58bad69 --- /dev/null +++ b/sci-libs/rocThrust/rocThrust-4.0.0-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Thrust dependent software on AMD GPUs" +HOMEPAGE="https://github.com/ROCmSoftwarePlatform/rocThrust" +SRC_URI="https://github.com/ROCmSoftwarePlatform/rocThrust/archive/rocm-${PV}.tar.gz -> rocThrust-${PV}.tar.gz" + +LICENSE="Apache-2.0" +KEYWORDS="~amd64" +SLOT="0" + +RDEPEND=">=dev-util/hip-${PV} + =sci-libs/rocPRIM-${PV}*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/rocThrust-rocm-${PV}" + +PATCHES="${FILESDIR}/rocThrust-4.0-operator_new.patch" + +src_prepare() { + sed -e "/PREFIX rocthrust/d" \ + -e "/DESTINATION/s:rocthrust/include/thrust:include/rocthrust/thrust:" \ + -e "/rocm_install_symlink_subdir(rocthrust)/d" \ + -e "/<INSTALL_INTERFACE/s:rocthrust/include/:include/rocthrust/:" -i thrust/CMakeLists.txt || die + sed -e "s:\${CMAKE_INSTALL_INCLUDEDIR}:&/rocthrust:" \ + -e "s:\${ROCM_INSTALL_LIBDIR}:\${CMAKE_INSTALL_LIBDIR}:" -i cmake/ROCMExportTargetsHeaderOnly.cmake || die + + eapply_user + cmake_src_prepare +} + +src_configure() { + # Grant access to the device + addwrite /dev/kfd + addpredict /dev/dri/ + + # Compiler to use + export CXX=hipcc + + local mycmakeargs=( + -DBUILD_TEST=OFF + ) + + cmake_src_configure +} diff --git a/sci-libs/trilinos/trilinos-13.0.1.ebuild b/sci-libs/trilinos/trilinos-13.0.1.ebuild index 2cb536ce445d..85feaf8d5e90 100644 --- a/sci-libs/trilinos/trilinos-13.0.1.ebuild +++ b/sci-libs/trilinos/trilinos-13.0.1.ebuild @@ -1,10 +1,10 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -CMAKE_MAKEFILE_GENERATOR=emake -inherit cmake-utils toolchain-funcs multilib toolchain-funcs +CMAKE_MAKEFILE_GENERATOR=emake +inherit cmake-utils toolchain-funcs multilib DESCRIPTION="Scientific library collection for large scale problems" HOMEPAGE="https://trilinos.sandia.gov/" @@ -14,7 +14,6 @@ SRC_URI="https://github.com/${PN}/Trilinos/archive/${PN}-release-${MY_PV}.tar.gz https://dev.gentoo.org/~tamiko/distfiles/${PN}-13.0.0-patches-${PATCHSET}.tar.xz" KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" - LICENSE="BSD LGPL-2.1" SLOT="0" diff --git a/sci-libs/udunits/Manifest b/sci-libs/udunits/Manifest index ec1d2f5bf2f7..f200a78d2bc6 100644 --- a/sci-libs/udunits/Manifest +++ b/sci-libs/udunits/Manifest @@ -1,2 +1,3 @@ DIST udunits-2.1.24.tar.gz 1059344 BLAKE2B a28f13e886d4db875078ffee7577f4e17712987b0d87df586e037c1f9a0986ad206ea8bf648920269890d458a6b65250c896f4ea9ec2e8e7bfbe6e1692967530 SHA512 71af2aa62300dd6a2c58318d75cb9182433a208e28446725334a3a80195ebdae77aebe66e6c4e12b53b675501cf3295de2960d1e8beb1496a547d4eed0cde98e DIST udunits-2.2.20.tar.gz 1002380 BLAKE2B 63bc2756b32aa620f390fa2b033192e8a519b4834d83ca93315ef94ec926814e01906476d7aa1dc8553505ca1a787e71ed358bccefd3c55f6141aa27247682a7 SHA512 5d5803d9c2cbfdba7c760739f522680e3e69921256119af83e139a36fbcb4d7c84e044661f2987e3422f1eea548abaf4f585946643e8db36cd1d7065b86f8737 +DIST udunits-2.2.28.tar.gz 1224503 BLAKE2B 64d64c609cfbada505c5e163a1e757cd25c09dd75865f255ec8f3bfc26dfafa0f2b9b9997602cb91f80ae81e1fa74bfc0f2d9f3d2d29f880c64e8785e5cbb1a8 SHA512 86146d489e1d472723e059fb15a5dd697a67568ffb5cdba17d191eb304c018bffffea708a73cce50a6c87ad33b387e5ee6653377ae0ebe9986117dfd41e9a5a1 diff --git a/sci-libs/udunits/udunits-2.2.28.ebuild b/sci-libs/udunits/udunits-2.2.28.ebuild new file mode 100644 index 000000000000..43ae140b3454 --- /dev/null +++ b/sci-libs/udunits/udunits-2.2.28.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit fortran-2 + +DESCRIPTION="Library for manipulating units of physical quantities" +HOMEPAGE="https://www.unidata.ucar.edu/software/udunits/" +SRC_URI="ftp://ftp.unidata.ucar.edu/pub/udunits/${P}.tar.gz" + +LICENSE="UCAR-BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux" + +RDEPEND="dev-libs/expat" +DEPEND="${RDEPEND}" + +src_configure() { + econf --disable-static +} + +src_install() { + default + + # no static archives + find "${ED}" -name '*.la' -delete || die +} diff --git a/sci-libs/volk/volk-2.4.1.ebuild b/sci-libs/volk/volk-2.4.1.ebuild index be60ab06145a..4cab427a028e 100644 --- a/sci-libs/volk/volk-2.4.1.ebuild +++ b/sci-libs/volk/volk-2.4.1.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 @@ -11,7 +11,7 @@ inherit cmake python-single-r1 DESCRIPTION="vector optimized library of kernels" HOMEPAGE="https://libvolk.org" -SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz -> ${P}.tar.xz" +SRC_URI="https://github.com/gnuradio/volk/releases/download/v${PV}/${P}.tar.xz" LICENSE="GPL-3" SLOT="0/$(ver_cut 1-2)" diff --git a/sci-libs/xkaapi/Manifest b/sci-libs/xkaapi/Manifest deleted file mode 100644 index 1cc539d30a82..000000000000 --- a/sci-libs/xkaapi/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST xkaapi-2.2.tar.gz 2858464 BLAKE2B 909ea71e3fe86ee6614724793a5a41edd03151025b50e1e99dcf262be9022dfdc8cfef636de4814db1fec99e97015b73f4e5ed8f45ad377e4a3a4ab46b54ee93 SHA512 1be98c4e3c50cf198ec3522c7ccbe7757464889b32fb39e53447548fc2975e727fb2b68b25ae99c367b155588b1ab2181e3280d099ceb991929aa2f0e9c83f0c -DIST xkaapi-3.0.3.tar.gz 1535482 BLAKE2B 6f10395b66d334e235df8dec7cfa4fa128aceeac10846e78c02cc96867fb2c649a0dc88f6a64d9c5afbfb97a02221f4e6971f313bb6ca52d217aae39caa26327 SHA512 28fb02a73269e55eec90b5c2c82e4ade3bfb24d55a1f61ac6bf47da4c7e2d864cfa1389772baca9ebef4f24b3373fb6971f3fe98a4d232187e9d29a88110eda1 diff --git a/sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch b/sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch deleted file mode 100644 index 485b6c21a969..000000000000 --- a/sci-libs/xkaapi/files/xkaapi-2.1-ffi.patch +++ /dev/null @@ -1,24 +0,0 @@ - configure.ac | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 2be95ec..13e876b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1034,12 +1034,12 @@ dnl ----------------------------------------------------------------------- - - dnl we need to always configure imported-soft/libffi in order to be able - dnl to run "make dist" --#if test x"$use_ffi" = xinternal; then -+if test x"$use_ffi" = xinternal; then - mkdir -p "imported-soft/libffi" - AC_CONFIG_SUBDIRS([imported-soft/libffi]) --#else --# AC_MSG_NOTICE([Not compiling embedded copy of libffi]) --#fi -+else -+ AC_MSG_NOTICE([Not compiling embedded copy of libffi]) -+fi - - dnl ----------------------------------------------------------------------- - dnl Dependencies between libs diff --git a/sci-libs/xkaapi/files/xkaapi-2.1-flags.patch b/sci-libs/xkaapi/files/xkaapi-2.1-flags.patch deleted file mode 100644 index a22cabf9e4dd..000000000000 --- a/sci-libs/xkaapi/files/xkaapi-2.1-flags.patch +++ /dev/null @@ -1,39 +0,0 @@ - configure.ac | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index c3364aa..2a734fe 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -82,6 +82,9 @@ AC_PROG_F77 - dnl ---------------------------------------------------------------- - dnl Disable default flag for compilation - dnl ---------------------------------------------------------------- -+CPPFLAGS_gentoo="${CPPFLAGS}" -+CFLAGS_gentoo="${CFLAGS}" -+CXXFLAGS_gentoo="${CXXFLAGS}" - CPPFLAGS="" - CFLAGS="" - CXXFLAGS="" -@@ -407,7 +410,7 @@ AC_ARG_ENABLE([mode],[AS_HELP_STRING([--enable-mode], - [choose special compilation mode (debug, release)])],[], - [enable_mode=default] - ) --clean_default_flags -+clean_default_flags=no - AS_CASE([$enable_mode], - [default], [dnl - AM_CPPFLAGS="$AM_CPPFLAGS" -@@ -428,6 +431,12 @@ AS_CASE([$enable_mode], - AM_CFLAGS="$AM_CFLAGS -O3 -DNDEBUG" - AM_CXXFLAGS="$AM_CXXFLAGS -O3 -DNDEBUG" - clean_default_flags=yes -+ ], [gentoo], [dnl -+ AC_MSG_NOTICE([Using gentoo compile mode]) -+ AM_CPPFLAGS="$AM_CPPFLAGS ${CPPFLAGS_gentoo}" -+ AM_CFLAGS="$AM_CFLAGS -DNDEBUG ${CFLAGS_gentoo}" -+ AM_CXXFLAGS="$AM_CXXFLAGS -DNDEBUG ${CXXFLAGS_gentoo}" -+ clean_default_flags=yes - ], [dnl - AC_MSG_ERROR([Unknown compilation mode '$enable_mode'. Aborting.]) - ]) diff --git a/sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch b/sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch deleted file mode 100644 index 0fdad94cb9b9..000000000000 --- a/sci-libs/xkaapi/files/xkaapi-3.0.3-flags.patch +++ /dev/null @@ -1,31 +0,0 @@ - configure.ac | 11 ++++++++++- - 1 file changed, 10 insertions(+), 1 deletion(-) - -diff --git a/configure.ac b/configure.ac -index c3364aa..2a734fe 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -82,6 +82,9 @@ AC_PROG_F77 - dnl ---------------------------------------------------------------- - dnl Disable default flag for compilation - dnl ---------------------------------------------------------------- -+CPPFLAGS_gentoo="${CPPFLAGS}" -+CFLAGS_gentoo="${CFLAGS}" -+CXXFLAGS_gentoo="${CXXFLAGS}" - CPPFLAGS="" - CFLAGS="" - CXXFLAGS="" -@@ -428,6 +431,13 @@ AS_CASE([$enable_mode], - AM_CXXFLAGS="$AM_CXXFLAGS -O3 -DNDEBUG" - clean_default_flags=yes - AM_CONDITIONAL([KAAPI_USE_DEBUG], [test "$enable_mode" = truc ]) -+ ], [gentoo], [dnl -+ AC_MSG_NOTICE([Using gentoo compile mode]) -+ AM_CPPFLAGS="$AM_CPPFLAGS ${CPPFLAGS_gentoo}" -+ AM_CFLAGS="$AM_CFLAGS -DNDEBUG ${CFLAGS_gentoo}" -+ AM_CXXFLAGS="$AM_CXXFLAGS -DNDEBUG ${CXXFLAGS_gentoo}" -+ clean_default_flags=yes -+ AM_CONDITIONAL([KAAPI_USE_DEBUG], [test "$enable_mode" = gentoo ]) - ], [dnl - AC_MSG_ERROR([Unknown compilation mode '$enable_mode'. Aborting.]) - ]) diff --git a/sci-libs/xkaapi/metadata.xml b/sci-libs/xkaapi/metadata.xml deleted file mode 100644 index 27c05f9d537a..000000000000 --- a/sci-libs/xkaapi/metadata.xml +++ /dev/null @@ -1,13 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="project"> - <email>sci@gentoo.org</email> - <name>Gentoo Science Project</name> - </maintainer> - <use> - <flag name="blas">Kaapi BLAS tasks for PLASMA</flag> - <flag name="gpu">Build library for gpu threading</flag> - </use> - <origin>gentoo-staging</origin> -</pkgmetadata> diff --git a/sci-libs/xkaapi/xkaapi-2.2.ebuild b/sci-libs/xkaapi/xkaapi-2.2.ebuild deleted file mode 100644 index 41511bcaf91d..000000000000 --- a/sci-libs/xkaapi/xkaapi-2.2.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils fortran-2 - -UPSTREAM_NO=33666 - -DESCRIPTION="Kernel for Adaptative, Asynchronous Parallel and Interactive programming" -HOMEPAGE="https://kaapi.gforge.inria.fr" -SRC_URI="https://gforge.inria.fr/frs/download.php/${UPSTREAM_NO}/${P}.tar.gz" - -SLOT="0" -LICENSE="CeCILL-2" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="blas cxx fortran gpu openmp static-libs" - -RDEPEND=" - sys-apps/hwloc - dev-libs/libffi -" -DEPEND="${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${PN}-2.1-flags.patch - "${FILESDIR}"/${PN}-2.1-ffi.patch - ) - -src_prepare() { - sed \ - -e 's:-Werror::g' \ - -i tests/testsuite* tests/*/*.am || die - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - --enable-mode=gentoo - --enable-api-kaapic - --enable-api-quark - --with-ccache=no - --enable-hwloc - --with-libffi="${EPREFIX}"/usr - --enable-target$(usex gpu gpu mt) - $(use_enable fortran api-kaapif) - $(use_enable cxx api-kaapixx) - $(use_enable blas kblas) - $(use_enable openmp libkomp) -# $(use_with plasma "${EPREFIX}"/usr) - ) - autotools-utils_src_configure -} diff --git a/sci-libs/xkaapi/xkaapi-3.0.3.ebuild b/sci-libs/xkaapi/xkaapi-3.0.3.ebuild deleted file mode 100644 index 8bc1f4e2a9b8..000000000000 --- a/sci-libs/xkaapi/xkaapi-3.0.3.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 - -FORTRAN_NEEDED=fortran -AUTOTOOLS_AUTORECONF=true - -inherit autotools-utils fortran-2 - -UPSTREAM_NO=34360 - -DESCRIPTION="Kernel for Adaptative, Asynchronous Parallel and Interactive programming" -HOMEPAGE="https://kaapi.gforge.inria.fr" -SRC_URI="https://gforge.inria.fr/frs/download.php/${UPSTREAM_NO}/${P}.tar.gz" - -SLOT="0" -LICENSE="CeCILL-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="cxx fortran openmp static-libs" - -RDEPEND=" - sys-apps/hwloc - dev-libs/libffi -" -DEPEND="${RDEPEND} -" - -PATCHES=( - "${FILESDIR}"/${P}-flags.patch - ) - -src_prepare() { - sed \ - -e 's:-Werror::g' \ - -i tests/testsuite* tests/*/*.am || die - autotools-utils_src_prepare -} - -src_configure() { - local myeconfargs=( - --enable-mode=gentoo - --enable-api-quark - --with-ccache=no - $(use_enable fortran api-kaapif) - $(use_enable cxx api-kaapixx) - $(use_enable openmp libkomp) -# $(use_with plasma "${EPREFIX}"/usr) - ) - autotools-utils_src_configure -} |
