diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-01-04 01:27:12 +0000 |
commit | 3517852e3b8a68d1e997770fc0650c5053bafc6c (patch) | |
tree | 44068672445b1418489aed82de58df3c470289e7 /dev-cpp/eigen | |
parent | 0f15659d48c193027158492acb726297501202c5 (diff) |
gentoo resync : 04.01.2022
Diffstat (limited to 'dev-cpp/eigen')
-rw-r--r-- | dev-cpp/eigen/Manifest | 5 | ||||
-rw-r--r-- | dev-cpp/eigen/eigen-3.3.9.ebuild | 107 | ||||
-rw-r--r-- | dev-cpp/eigen/eigen-3.4.0-r1.ebuild | 3 | ||||
-rw-r--r-- | dev-cpp/eigen/files/eigen-3.4.0-doc-nocompress.patch | 15 |
4 files changed, 19 insertions, 111 deletions
diff --git a/dev-cpp/eigen/Manifest b/dev-cpp/eigen/Manifest index 15b9b88d9d00..387c699725d3 100644 --- a/dev-cpp/eigen/Manifest +++ b/dev-cpp/eigen/Manifest @@ -1,7 +1,6 @@ AUX eigen-3.3.7-gentoo-cmake.patch 910 BLAKE2B 9cad2b9c54fb1299dfe45f9a94a427d1c7980fa0e5372db69465ccf964e7294213ae459e200a39f2721849df94a8433febcfb225813af3b43bc204b0edd3d64c SHA512 b8c4701f22c483078fb7d25df60c8f002f47573ec434a309b1a3739aecc1c51f79852b06f46c1ed9ae4cbec0e7d70aaabd06bc59e561c19d81b05388d3cedc61 AUX eigen-3.3.9-max-macro.patch 476 BLAKE2B aa2e810a7be5a934a8bf5844b7e24633ab8f6b6a58388d6d9cb9b4b925f68311443f79cb3f94c8c50adc14f2165530c43b735abc4aa21340868d9330c1e9b4fa SHA512 ad8d10c90136188ffda547b8d8781e9d26bc43d1dba7e9c3ff12f8a73725d1b331dd47bccdd331f998a0b03251eb2e3373a8cb39284f82c4bc63a5a703f21a46 -DIST eigen-3.3.9.tar.gz 2142379 BLAKE2B 437dc190fdf7a416d0a5cf81703ef4cc73c195f0f3e7c853e0ab38cf904608ddd4485cc4e15eb0cd5e3c401276f270f3c86f538f205cc91b8c83e131d1bc916d SHA512 16244cc89f2e1879543232b965cbf653b3ccf10e967c8c437a41e27d8320392bdf584d8c24b8a97406ab7d1481d5154da74e0702ec1334ae6a46de83f4573a46 +AUX eigen-3.4.0-doc-nocompress.patch 873 BLAKE2B 0458b8e4c03fb8ef3f4ecd74d9f285ca8aa3787a0fd466922f45cb96386c8c5cd35116db4ab2caddc841e47cbf2678594ebf727153804878761dc455f08c2c81 SHA512 a4763cb037a16c12dc3d6a6ac075c7ff130ea9d2913f76472e61d821e45cfcce446ad11e43426227e7b60268a14cd952ee81104ca594c3710bde56d655f910b0 DIST eigen-3.4.0.tar.gz 2705005 BLAKE2B ae5f774a6ed36f52cf9fc3206e50796abacbba69fd0f67cd5759b4e04d847aa656861d5e06e6cd0d798a17f2b06abdb70b16f795a626bdd29edcc872c33821f8 SHA512 ba75ecb760e32acf4ceaf27115468e65d4f77c44f8d519b5a13e7940af2c03a304ad433368cb6d55431f307c5c39e2666ab41d34442db3cf441638e51f5c3b6a -EBUILD eigen-3.3.9.ebuild 2510 BLAKE2B 5a6792afa7132411ad9980ee7f8be71776f73991e7f3328595a29712d71491b9f433f033b9c422054a472a90b3e7555a5a4debd42fed7a704c15c36062efe2a1 SHA512 86e5e560bb26edd70469c0ccc372e51acdf8971c58ed7b9838744bd7ead54227d4cf801c8605348f6c37bf9edff4a0f6fa6b209cdc408249c9e4d8745b6375c3 -EBUILD eigen-3.4.0-r1.ebuild 2498 BLAKE2B 105842c4337b185b440d7905ad41a4f16002c472fa9493935d8a434f3e0973e5a0e347b2bf623ceffa01e1b0ed12917d38c45667a48326805c42bdeed93f45b3 SHA512 7db2f02c577a6a46241ca3fef0eb826e2fd43fbf7369723d29d96596cb7abc07039b8436ca5c3704436610d35ac1d2709be669bdbe3885f2070e964b5dc21488 +EBUILD eigen-3.4.0-r1.ebuild 2551 BLAKE2B c0ae5d0bfd726dd41802cdc3779f3764c1b0bb20ab26bcc01ab702ece9a576d10076cfd2ca8478c4c8775c4e502fc03bcf7926ba30f88f57f107ffd1ec22b14b SHA512 60cc64c87f5b098765ad70447ba8d331031986cae5d5697d670270cbf05607b05bc17a88eaa13f3b4566a97492e117e3fa0481b6daa7292b80c0dbb6c5d99842 MISC metadata.xml 887 BLAKE2B f6d225ff8a5b80f64b8e326962953b412526a0706c5dd7d9724d813a0e903d4d689f6a03249d33f1302c7575688e3246987bce6438163bb3130e7fee020cf9ed SHA512 a779ec093ee5008f881c07d3c3c9ea730a3393f8f9b6f1dde036b215ce30a006317d5f765df66f424491269179980cf3433061f693d902f5ac2e3341b4166ac8 diff --git a/dev-cpp/eigen/eigen-3.3.9.ebuild b/dev-cpp/eigen/eigen-3.3.9.ebuild deleted file mode 100644 index 6d4b9b345248..000000000000 --- a/dev-cpp/eigen/eigen-3.3.9.ebuild +++ /dev/null @@ -1,107 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -FORTRAN_NEEDED="test" -inherit cmake cuda fortran-2 - -DESCRIPTION="C++ template library for linear algebra" -HOMEPAGE="https://eigen.tuxfamily.org/index.php?title=Main_Page" -SRC_URI="https://gitlab.com/lib${PN}/${PN}/-/archive/${PV}/${P}.tar.gz" - -LICENSE="MPL-2.0" -SLOT="3" -KEYWORDS="amd64 arm arm64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux" -IUSE="cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_ppc_vsx cuda debug doc openmp test" #zvector - -RESTRICT="!test? ( test )" - -BDEPEND=" - doc? ( - app-doc/doxygen[dot] - dev-texlive/texlive-bibtexextra - dev-texlive/texlive-fontsextra - dev-texlive/texlive-fontutils - dev-texlive/texlive-latex - dev-texlive/texlive-latexextra - ) - test? ( virtual/pkgconfig ) -" -DEPEND=" - cuda? ( dev-util/nvidia-cuda-toolkit ) - test? ( - dev-libs/gmp:0 - dev-libs/mpfr:0 - media-libs/freeglut - media-libs/glew - sci-libs/adolc[sparse] - sci-libs/cholmod - sci-libs/fftw:3.0 - sci-libs/pastix - sci-libs/scotch - sci-libs/spqr - sci-libs/superlu - sci-libs/umfpack - virtual/opengl - ) -" -# Missing: -# METIS-5 -# GOOGLEHASH - -PATCHES=( - "${FILESDIR}"/${PN}-3.3.7-gentoo-cmake.patch - "${FILESDIR}"/${PN}-3.3.9-max-macro.patch -) - -src_prepare() { - cmake_src_prepare - - cmake_comment_add_subdirectory demos - - if ! use test; then - sed -e "/add_subdirectory(test/s/^/#DONOTCOMPILE /g" \ - -e "/add_subdirectory(blas/s/^/#DONOTCOMPILE /g" \ - -e "/add_subdirectory(lapack/s/^/#DONOTCOMPILE /g" \ - -i CMakeLists.txt || die - fi - - use cuda && cuda_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DCMAKEPACKAGE_INSTALL_DIR=$(get_libdir)/cmake/${PN}${SLOT} - ) - use test && mycmakeargs+=( - # the OpenGL testsuite is extremely brittle, bug #712808 - -DEIGEN_TEST_NO_OPENGL=ON - # the cholmod tests are broken and always fail - -DCMAKE_DISABLE_FIND_PACKAGE_Cholmod=ON - -DEIGEN_TEST_CXX11=ON - -DEIGEN_TEST_NOQT=ON - -DEIGEN_TEST_ALTIVEC=$(usex cpu_flags_ppc_altivec) - -DEIGEN_TEST_CUDA=$(usex cuda) - -DEIGEN_TEST_OPENMP=$(usex openmp) - -DEIGEN_TEST_NEON64=$(usex cpu_flags_arm_neon) - -DEIGEN_TEST_VSX=$(usex cpu_flags_ppc_vsx) - ) - cmake_src_configure -} - -src_compile() { - cmake_src_compile - if use doc; then - cmake_src_compile doc - HTML_DOCS=( "${BUILD_DIR}"/doc/html/. ) - fi - if use test; then - cmake_src_compile blas - cmake_src_compile buildtests - - # tests generate random data, which - # obviously fails for some seeds - export EIGEN_SEED=712808 - fi -} diff --git a/dev-cpp/eigen/eigen-3.4.0-r1.ebuild b/dev-cpp/eigen/eigen-3.4.0-r1.ebuild index efe66bd9b8a6..173ae17f83f3 100644 --- a/dev-cpp/eigen/eigen-3.4.0-r1.ebuild +++ b/dev-cpp/eigen/eigen-3.4.0-r1.ebuild @@ -12,7 +12,7 @@ SRC_URI="https://gitlab.com/lib${PN}/${PN}/-/archive/${PV}/${P}.tar.gz" LICENSE="MPL-2.0" SLOT="3" -KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux" IUSE="cpu_flags_arm_neon cpu_flags_ppc_altivec cpu_flags_ppc_vsx cuda debug doc openmp test" #zvector # Tests failing again because of compiler issues @@ -54,6 +54,7 @@ DEPEND=" PATCHES=( #"${FILESDIR}"/${PN}-3.3.7-gentoo-cmake.patch "${FILESDIR}"/${PN}-3.3.9-max-macro.patch + "${FILESDIR}"/${P}-doc-nocompress.patch # bug 830064 ) src_prepare() { diff --git a/dev-cpp/eigen/files/eigen-3.4.0-doc-nocompress.patch b/dev-cpp/eigen/files/eigen-3.4.0-doc-nocompress.patch new file mode 100644 index 000000000000..b9c252ebb09c --- /dev/null +++ b/dev-cpp/eigen/files/eigen-3.4.0-doc-nocompress.patch @@ -0,0 +1,15 @@ +--- a/doc/CMakeLists.txt ++++ b/doc/CMakeLists.txt +@@ -112,11 +112,7 @@ + COMMAND doxygen + COMMAND doxygen Doxyfile-unsupported + COMMAND ${CMAKE_COMMAND} -E copy ${Eigen_BINARY_DIR}/doc/html/group__TopicUnalignedArrayAssert.html ${Eigen_BINARY_DIR}/doc/html/TopicUnalignedArrayAssert.html +- COMMAND ${CMAKE_COMMAND} -E rename html eigen-doc +- COMMAND ${CMAKE_COMMAND} -E remove eigen-doc/eigen-doc.tgz eigen-doc/unsupported/_formulas.log eigen-doc/_formulas.log +- COMMAND ${CMAKE_COMMAND} -E tar cfz eigen-doc.tgz eigen-doc +- COMMAND ${CMAKE_COMMAND} -E rename eigen-doc.tgz eigen-doc/eigen-doc.tgz +- COMMAND ${CMAKE_COMMAND} -E rename eigen-doc html ++ COMMAND ${CMAKE_COMMAND} -E remove html/unsupported/_formulas.log html/_formulas.log + WORKING_DIRECTORY ${Eigen_BINARY_DIR}/doc) + + add_dependencies(doc doc-eigen-prerequisites doc-unsupported-prerequisites) |