diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-08 13:07:48 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-08 13:07:48 +0000 |
commit | 7825305c5ddf11fffe24fa30453c4e8468f64305 (patch) | |
tree | f3c43caefa7210acc3d8fd79ac82f8ade47a8dc9 /sci-libs | |
parent | dc22a05dc2db2827053483e8cab136b33b339307 (diff) |
gentoo auto-resync : 08:03:2024 - 13:07:48
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/Manifest.gz | bin | 44771 -> 44776 bytes | |||
-rw-r--r-- | sci-libs/caffe2/Manifest | 2 | ||||
-rw-r--r-- | sci-libs/caffe2/caffe2-2.1.2-r6.ebuild | 2 | ||||
-rw-r--r-- | sci-libs/cgnslib/Manifest | 4 | ||||
-rw-r--r-- | sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild | 9 | ||||
-rw-r--r-- | sci-libs/cgnslib/cgnslib-4.4.0.ebuild | 96 |
6 files changed, 108 insertions, 5 deletions
diff --git a/sci-libs/Manifest.gz b/sci-libs/Manifest.gz Binary files differindex fffe7c766f45..7617fa6c895e 100644 --- a/sci-libs/Manifest.gz +++ b/sci-libs/Manifest.gz diff --git a/sci-libs/caffe2/Manifest b/sci-libs/caffe2/Manifest index 72c2b7f09a0b..8f5e0126911f 100644 --- a/sci-libs/caffe2/Manifest +++ b/sci-libs/caffe2/Manifest @@ -16,5 +16,5 @@ DIST pytorch-2.0.1.tar.gz 111335778 BLAKE2B 7a10cc2b2d5e2422aef7e060a0c3a62ca5c7 DIST pytorch-2.1.2.tar.gz 116316469 BLAKE2B c5a55ee264bc3477d3556ba6376b5591117e992e56e0dd0c9ba93d12526e2727f7840f6f1e0730a38223b6492c9556840c4ebf22ffd220e97225c2abff303747 SHA512 a8961d78ad785b13c959a0612563a60e0de17a7c8bb9822ddea9a24072796354d07e81c47b6cc8761b21a6448845b088cf80e1661d9e889b0ed5474d3dc76756 EBUILD caffe2-1.13.1-r6.ebuild 5244 BLAKE2B d7f5f16e1f1122604a6df64f16c62552fb8b4b0de67bd231036b4835a5a71c58da02f0e1df64f3bd22c2a282a150d7f5a803c87cdf792e3e97ec8f518e055191 SHA512 58b1a09e5e3814d9475d4fe0e46aa837477843e09ed1b0c803c2ac3190e5c819d4216e33e3003652194e90a9f3f35146657eb25f30a4419bf16b2067e5a4b027 EBUILD caffe2-2.0.1-r5.ebuild 5868 BLAKE2B c17450d01ff68d42188c9da9e9c7a6d6469fe5c8b72c91e4ea4456eb4fe9d08cf30619fbb06f3dae21add641329f3ce8ced24bca93eb05900340639c042a1cdb SHA512 d32fa4c194c51efb76b143f22f783efa7a1415902b03ddea1d3f145d632455ebfe672a1b05b1203f2ba752f3331831455ae631a66bb409f45d6c695c68f39c3b -EBUILD caffe2-2.1.2-r6.ebuild 6672 BLAKE2B dd4e772f6a1b0e049c25550ddbe8270d2f56390cdac5ccd6fe23bbcb5824a64085d4d8c0fa076779681cbc055f6f00191d8dcb485b91b9706bde45747a6223c1 SHA512 c71321f4e76fbb8ab3fb2af46560b0d689b2fdfb951ed1ead83d6ca8b30042a4080ec98695f43112b97a07aa748ec62c08e40a95e3b37440fb2306839f0b9847 +EBUILD caffe2-2.1.2-r6.ebuild 6674 BLAKE2B f12792b8f93c1ef0fccd1d8c2f46d5ce451729051d6f1cc6a04c2bd94324c5eb507e3210597ddad18be186bd42c21bcab0d7e4db2180a7d7f1b6334d94a518ab SHA512 b2f32fd716640a44b582b9c3a7d819c3da78723d93e5b8962cb32d38124ec078602066a08aaa0d0e632ddae1387d9224329fedc528d180f7d5326a54cce54e4f MISC metadata.xml 1161 BLAKE2B 77145d6b17a38da3fc791b85ec6d1d8a4faa5f08485f7b8d7918f301342c9d95b9b9db9147334788ffa5137526365d0161a5e1420eabafb2058e1d85a5fa52bb SHA512 44fa18ac5e1abcfb021e8fc48db1bb9c0f61bc115484ae6f293f38c48d1f42704524490c8e3977eec8dccb728837e1fcb3ce2e892986e55044af3a15e82a61e9 diff --git a/sci-libs/caffe2/caffe2-2.1.2-r6.ebuild b/sci-libs/caffe2/caffe2-2.1.2-r6.ebuild index a8d3fb624cf2..969c36754c5c 100644 --- a/sci-libs/caffe2/caffe2-2.1.2-r6.ebuild +++ b/sci-libs/caffe2/caffe2-2.1.2-r6.ebuild @@ -237,6 +237,6 @@ src_install() { if use cuda; then python_domodule python/nvfuser fi - rm -rf "${ED}"/var/tmp + rm -rf "${ED}${WORKDIR}" find "${ED}" -empty -delete } diff --git a/sci-libs/cgnslib/Manifest b/sci-libs/cgnslib/Manifest index 1d5a89ec3f6a..d78be7b277d8 100644 --- a/sci-libs/cgnslib/Manifest +++ b/sci-libs/cgnslib/Manifest @@ -1,3 +1,5 @@ DIST cgnslib-4.3.0.tar.gz 1472044 BLAKE2B 8fa59eb2c13b163553c03991af1886d2162295367094937c3b7bbbc687f098e736a927fb6835fabb43ecfbe59edcf0e58e8977e89eeb1ef12b26568fbdc78e2c SHA512 5db97b8df8cb5b108a65513e20774881c1dfa790dd96bec46119883d934db18e3f88450d287690cb785e0875af87a3ec32b6c4665c54edb623161122ee85aa93 -EBUILD cgnslib-4.3.0-r2.ebuild 1934 BLAKE2B 8f917cedc499a64913e6ddb216c5caa2487540a5d3532853753e1da45f087ac5663f38d9e0a4d7fbc6e9762bb279dcf63c909ab66cfbff41c313f1c6ed044d86 SHA512 5d87190074cc9914d8e70bc43b82d385c838aa0fe60faf052ca4c3e96e30a86808bba0b14a3f7e65f3ced4e1a604e5930df07ecf8fea9c66a6e330b5c76ce671 +DIST cgnslib-4.4.0.tar.gz 1979828 BLAKE2B 1bf7a5eb8a69a488707da6e945228e053486cdfc64508ae6362ca84777bb5c22a7238676f24ca453cc8b5e2825482d473a2b84c1648849bb6f853fc0aa0a9100 SHA512 86c16d40b524519362645c553c91bade9bb7e4bffde7bf4de96a7f471ae3779a15781efa91efa059b2af0b127f08a560d2e903df6b45e1c79eaec6061db226e9 +EBUILD cgnslib-4.3.0-r2.ebuild 2066 BLAKE2B 10a9064f30e3c2af9d17f06144d003f3d92390cb49ec45c80eaee799bbe6385c1d88f8b6097736d91cb6227435d02015d77e542465be17eafa8801cb77928df2 SHA512 e428d30c5403f230753ee655d8494df261c005dd0ee8a5820ba451e00dd7bbb229b5670a843bb5fdadebf0c7a144cfa23472fd3a5f558b69de80f2d95efd227d +EBUILD cgnslib-4.4.0.ebuild 2067 BLAKE2B 93aa8f8a98ec7e550f6e4eaae4cbdfb82e594f9f650e3dfd8f80b847db83643a86d6dae13536f5f49fd433399e06cfbe2aa45b3be266ca24f7d5c7c8fe8db687 SHA512 f075ae9b6861375bd0e5d586f4d33a7e8fc4ace531e691b2e31ee8c7095a50f655277818328c170163adeb7840894f930d2035387614777bdf26f0aa9bc52d5f MISC metadata.xml 1273 BLAKE2B 05b98760182f6ab2586a969e7cd49a56b077f3c0f208460967b5b240cde12c3b62655223947646d48c743cb706b81e59693c693fbcdf703c75642958491d5902 SHA512 af36842f7cefc358474fd6b3646dda0974c0ee443d56babc48955340be64719b1c4548e952c93898265d6950f32bfb7db87472ca196b290ca13a8c20ed2244c2 diff --git a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild index 039b318c01be..39fb7c61d4a2 100644 --- a/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild +++ b/sci-libs/cgnslib/cgnslib-4.3.0-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -6,7 +6,7 @@ EAPI=8 FORTRAN_NEEDED="fortran" FORTRAN_STANDARD="90 2003" -inherit cmake fortran-2 +inherit cmake flag-o-matic fortran-2 DESCRIPTION="CFD General Notation System standard library" HOMEPAGE=" @@ -56,6 +56,11 @@ src_prepare() { } src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/862684 + # https://github.com/CGNS/CGNS/issues/758 + filter-lto + local mycmakeargs=( -DCGNS_BUILD_SHARED=ON -DCGNS_USE_SHARED=ON diff --git a/sci-libs/cgnslib/cgnslib-4.4.0.ebuild b/sci-libs/cgnslib/cgnslib-4.4.0.ebuild new file mode 100644 index 000000000000..efb68a32697b --- /dev/null +++ b/sci-libs/cgnslib/cgnslib-4.4.0.ebuild @@ -0,0 +1,96 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +FORTRAN_NEEDED="fortran" +FORTRAN_STANDARD="90 2003" + +inherit cmake flag-o-matic fortran-2 + +DESCRIPTION="CFD General Notation System standard library" +HOMEPAGE=" + https://cgns.github.io/ + https://github.com/CGNS/CGNS +" +SRC_URI="https://github.com/CGNS/CGNS/archive/v${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/CGNS-${PV}" + +LICENSE="ZLIB" +SLOT="0/4" +KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux" +IUSE="base-scope debug examples fortran hdf5 legacy mpi scoping szip test tools" + +RDEPEND=" + hdf5? ( sci-libs/hdf5:=[mpi=,szip=] ) + tools? ( + dev-lang/tcl:= + dev-lang/tk:= + x11-libs/libXmu:= + virtual/glu + virtual/opengl + ) +" +DEPEND="${RDEPEND}" + +RESTRICT=" + fortran? ( test ) + !test? ( test ) +" +REQUIRED_USE=" + mpi? ( hdf5 ) + szip? ( hdf5 ) +" + +pkg_setup() { + use fortran && fortran-2_pkg_setup +} + +src_prepare() { + # gentoo libdir + sed \ + -e 's|/lib|/'$(get_libdir)'|' \ + -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ + -i src/CMakeLists.txt || die + cmake_src_prepare +} + +src_configure() { + # -Werror=lto-type-mismatch + # https://bugs.gentoo.org/862684 + # https://github.com/CGNS/CGNS/issues/758 + filter-lto + + local mycmakeargs=( + -DCGNS_BUILD_SHARED=ON + -DCGNS_USE_SHARED=ON + + -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" + -DCGNS_ENABLE_BASE_SCOPE="$(usex base-scope)" + -DCGNS_ENABLE_FORTRAN="$(usex fortran)" + -DCGNS_ENABLE_HDF5="$(usex hdf5)" + -DCGNS_ENABLE_LEGACY="$(usex legacy)" + -DCGNS_ENABLE_SCOPING="$(usex scoping)" + -DCGNS_ENABLE_MEM_DEBUG="$(usex debug)" + -DCGNS_ENABLE_TESTS="$(usex test)" + ) + + if use mpi; then + mycmakeargs+=( + -DHDF5_NEED_MPI="$(usex mpi)" + -DHDF5_NEED_SZIP="$(usex szip)" + -DHDF5_NEED_ZLIB="$(usex szip)" + ) + fi + + cmake_src_configure +} + +src_install() { + cmake_src_install + dodoc README.md release_docs/{HISTORY,RELEASE,changes_from_2.5}.txt + rm "${ED}/usr/$(get_libdir)/libcgns.a" || die + dodoc release_docs/*.pdf + docompress -x /usr/share/doc/${PF}/examples + use examples && dodoc -r src/examples +} |