diff options
author | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2021-10-08 23:06:07 +0100 |
commit | e23a08d0c97a0cc415aaa165da840b056f93c997 (patch) | |
tree | 4c5f7db60483518201fef36f8cc0712789a08db2 /sci-libs/qd | |
parent | 391b5b359a346aff490103da7dddc85047f83830 (diff) |
gentoo resync : 08.10.2021
Diffstat (limited to 'sci-libs/qd')
-rw-r--r-- | sci-libs/qd/Manifest | 5 | ||||
-rw-r--r-- | sci-libs/qd/files/qd-2.3.22-fix-build-system.patch | 177 | ||||
-rw-r--r-- | sci-libs/qd/qd-2.3.22.ebuild | 51 | ||||
-rw-r--r-- | sci-libs/qd/qd-2.3.23.ebuild | 2 |
4 files changed, 2 insertions, 233 deletions
diff --git a/sci-libs/qd/Manifest b/sci-libs/qd/Manifest index 866a1618b88a..eefeb8321b9e 100644 --- a/sci-libs/qd/Manifest +++ b/sci-libs/qd/Manifest @@ -1,6 +1,3 @@ -AUX qd-2.3.22-fix-build-system.patch 6617 BLAKE2B 6712f53a1b46a4d1f74d45380330ff5b15b7f2216f61245d467748557f607f670fbb0d977f4e6455c93c383ef6eb466e243177d29a3227ba89cf34ec836c54d2 SHA512 e70d4b87342840fb63cab04e63ceddb790d5509f65188894cbedb077042e2dbb6e7e18a108589fb77e8ec6253ba6b70680f637ce30c62575aa4a0eb7fbed36ce -DIST qd-2.3.22.tar.gz 1427456 BLAKE2B 628fb88b8cb105baa689380e4084cc2e327415674fcebca59721cc163e1043f39e48c1b2a2bdc68ba402d311f37e71c9e3c390a119515128e0296aa413c850d5 SHA512 2228b6ed019d1462939957d0d0f64ab2ecfa98ac5aefecf56e9dbcf0c6ed63bdd895b86019fbb0dfdbc22d047c4c2d4e42ff91ca18846b5c1bdaa1ad28a55c2b DIST qd-2.3.23.tar.gz 781558 BLAKE2B bbda1ede1e93c100ca831b3eddc34ad6092007f9674c83803e5a5e140f80cc6b4b41fa71857beb9ef255d77265470537e43ef81886d6a013958a429b1c641c55 SHA512 ab311883db7708cee1c307eead5d02dac3b9809389b8d29e2fda5207decb752ca360a9aab234dd8a70228e0e004a6b6d6cdf92fd098536e96a2fa01c5b2ced2c -EBUILD qd-2.3.22.ebuild 1100 BLAKE2B 50c55e5d7b4bb1d1e8c0298619aad3ec1d7ba65084dd87f59105cd2be3a4e940ab71e03ecdbb3e3fd842d9604fc84df1c4c5b8ed30a9d5c8a1508be364aa7f5f SHA512 f86a94765cd174ec9d2573d79cb39e94c381d4d752ca13ea47d805336381284dd6382695c375e589899f627cf9bf2fb5b66688f82f598dcd3c5b9dd1461bac95 -EBUILD qd-2.3.23.ebuild 927 BLAKE2B ed541806090cadbd74ddd09f335b239862ed4d0b775a0c4d36f41a5ca34754586ab688d47263465a082e22b2ac4b649ec365ffe79215ec5835fceddbea6f3892 SHA512 7cc669c010d07388201bda2d999234883e75986a3c25d4690dad5274ff3b3dfc5afd341d46069089a0aa76a2951f7fcb33e1aadec27b7f4438fb6ac4cef4d3d2 +EBUILD qd-2.3.23.ebuild 925 BLAKE2B f398349c6067ef3d39b9d0ce5c58b09ca34db094f730bda5a60568aa470a06ddccfd240abdbd2de6631cb287357361a83c0de816129d05e7fac25993bd703b23 SHA512 9536b41dee4d249df116736b262359966613458748914d4b410fdcec3fdd7ef9638aa0a9017e699d1472ad9db5f7aba2a39657e3d6fec4293f199150619ed849 MISC metadata.xml 260 BLAKE2B 14d3d7872b9a3cb341301daf85c6b037c567163317516100d5af08e7ae02970252f210e90118d5df9e0cf6e0b3560add3a7894d379609b864e60dfdda3036423 SHA512 973385fccdcb0ccc36e00a09dc85204cf15081b8b61bc20e02d7d1311cb05af4927f01aac36ec93275158f5b990874ca03ab7d381cf6ee6f5e30bc4926d2f045 diff --git a/sci-libs/qd/files/qd-2.3.22-fix-build-system.patch b/sci-libs/qd/files/qd-2.3.22-fix-build-system.patch deleted file mode 100644 index 204880de95cd..000000000000 --- a/sci-libs/qd/files/qd-2.3.22-fix-build-system.patch +++ /dev/null @@ -1,177 +0,0 @@ -diff -U3 -r qd-2.3.22.orig/configure.ac qd-2.3.22/configure.ac ---- qd-2.3.22.orig/configure.ac 2018-10-30 23:01:31.000000000 +0700 -+++ qd-2.3.22/configure.ac 2018-11-09 21:45:39.415092314 +0700 -@@ -18,14 +18,14 @@ - - AC_CONFIG_AUX_DIR(config) - AM_INIT_AUTOMAKE([nostdinc foreign]) --AM_CONFIG_HEADER([config.h]) --AM_CONFIG_HEADER([include/qd/qd_config.h]) -+AC_CONFIG_HEADERS([config.h]) -+AC_CONFIG_HEADERS([include/qd/qd_config.h]) - - AC_CANONICAL_HOST - - # Checks for arguments - # --enable-inline --AC_ARG_ENABLE(enable_inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]])) -+AC_ARG_ENABLE([inline], AS_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]])) - AC_MSG_CHECKING([if commonly used function is to be inlined]) - if test "$enable_inline" != "no"; then - enable_inline="yes" -@@ -34,7 +34,7 @@ - AC_MSG_RESULT($enable_inline) - - # --enable-ieee-add --AC_ARG_ENABLE(enable_ieee_add, AC_HELP_STRING(--enable-ieee-add, [use addition that satisfies IEEE-style error bound instead of Cray-style error bound. [[default=no]]])) -+AC_ARG_ENABLE([ieee-add], AS_HELP_STRING(--enable-ieee-add, [use addition that satisfies IEEE-style error bound instead of Cray-style error bound. [[default=no]]])) - AC_MSG_CHECKING([if addition with IEEE-style error bound is to be used]) - if test "$enable_ieee_add" = "yes"; then - AC_DEFINE([QD_IEEE_ADD], [1], [Define to 1 to use additions with IEEE-style error bounds.]) -@@ -44,7 +44,7 @@ - AC_MSG_RESULT($enable_ieee_add) - - # --enable-sloppy-mul --AC_ARG_ENABLE(enable_sloppy_mul, AC_HELP_STRING(--enable-sloppy-mul, [use fast but slightly inaccurate multiplication. [[default=yes]]])) -+AC_ARG_ENABLE([sloppy-mul], AS_HELP_STRING(--enable-sloppy-mul, [use fast but slightly inaccurate multiplication. [[default=yes]]])) - AC_MSG_CHECKING([if sloppy multiplication is to be used]) - if test "$enable_sloppy_mul" != "no"; then - enable_sloppy_mul="yes" -@@ -53,7 +53,7 @@ - AC_MSG_RESULT($enable_sloppy_mul) - - # --enable-sloppy-div --AC_ARG_ENABLE(enable_sloppy_div, AC_HELP_STRING(--enable-sloppy-div, [use fast but slightly inaccurate division. [[default=yes]]])) -+AC_ARG_ENABLE([sloppy-div], AS_HELP_STRING(--enable-sloppy-div, [use fast but slightly inaccurate division. [[default=yes]]])) - AC_MSG_CHECKING([if sloppy division is to be used]) - if test "$enable_sloppy_div" != "no"; then - enable_sloppy_div="yes" -@@ -63,7 +63,7 @@ - - - # --enable-debug --AC_ARG_ENABLE(enable_debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]])) -+AC_ARG_ENABLE([debug], AS_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]])) - AC_MSG_CHECKING([if debugging code is to be enabled]) - if test "$enable_debug" = "yes"; then - AC_DEFINE([QD_DEBUG], [1], [Define to 1 to enable debugging code.]) -@@ -73,7 +73,7 @@ - AC_MSG_RESULT($enable_debug) - - # --enable-warnings --AC_ARG_ENABLE(enable_warnings, AC_HELP_STRING(--enable-warnings, [enable compiler warnings. [[default=no]]])) -+AC_ARG_ENABLE([warnings], AS_HELP_STRING(--enable-warnings, [enable compiler warnings. [[default=no]]])) - AC_MSG_CHECKING([if compiler warnings is to be enabled]) - if test "$enable_warnings" != "yes"; then - enable_warnings="no" -@@ -83,13 +83,6 @@ - - # Checks for programs. - AC_LANG(C++) --if test "$CXXFLAGS" = ""; then -- if test "$enable_debug" = "yes"; then -- CXXFLAGS="-O" -- else -- CXXFLAGS="-O2" -- fi --fi - - # Set up compiler search list. DUe to possible case insensitive filesystems, - # Cygwin and Apple systems sometimes gets confused between cc and CC. -@@ -106,50 +99,10 @@ - fi - AC_PROG_CC - -- --CXX_PROG_NAME=`basename $CXX` --case $host in -- powerpc*-*-*) -- case "$CXX_PROG_NAME" in -- xlC*) -- REQ_CXXFLAGS="$REQ_CXXFLAGS -qstrict" -- ;; -- esac -- ;; -- i?86-*-* | k?*-*-* | athlon-*-* | ia64-*-* | x86_64-*-*) -- case "$CXX_PROG_NAME" in -- icc|icpc|ecc) -- REQ_CXXFLAGS="$REQ_CXXFLAGS -mp" -- if test "$enable_warnings" = "yes"; then -- CXXFLAGS="$CXXFLAGS -wd1572 -wd981 -wd1418 -wd1419" -- fi -- ;; -- esac -- ;; -- alpha*-*-*) -- case "$CXX_PROG_NAME" in -- cxx) -- CXXFLAGS="$CXXFLAGS -std strict_ansi -tweak" -- ;; -- esac -- ;; --esac -- --AC_SUBST(REQ_CXXFLAGS) --CXXFLAGS="$CXXFLAGS $REQ_CXXFLAGS" -- --if test "$enable_warnings" = "yes"; then -- if test "$GCC" = "yes"; then -- CXXFLAGS="$CXXFLAGS -Wall" -- fi --fi -- --if test "$enable_debug" = "yes"; then -- CXXFLAGS="$CXXFLAGS -g" --fi -+CXXFLAGS="${CXXFLAGS} -Wall" - - # --enable-fma --AC_ARG_ENABLE(enable_fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,ia64,c99,ibm,compiler). Use this option with care. [[default=auto]]])) -+AC_ARG_ENABLE([fma], AS_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,ia64,c99,ibm,compiler). Use this option with care. [[default=auto]]])) - if test "x$enable_fma" = "x"; then - enable_fma="auto" - fi -@@ -248,7 +201,7 @@ - FCFLAGS="-O2" - fi - fi --AC_ARG_ENABLE(enable_fortran, AC_HELP_STRING(--enable-fortran, [build Fortran 77/90 interfaces [[default=auto]]])) -+AC_ARG_ENABLE([fortran], AS_HELP_STRING(--enable-fortran, [build Fortran 77/90 interfaces [[default=auto]]])) - if test "$enable_fortran" != "no"; then - AC_LANG_PUSH(Fortran) - AC_PROG_FC([xlf95 ifort pathf95 f95 gfortran g95 pgf95 lf95 fort ifc efc pathf90 xlf90 pgf90 epcf90 xlf f90]) -@@ -312,8 +265,7 @@ - AC_CHECK_LIB(m,sqrt) - - # libtool stuff --AC_DISABLE_SHARED --AC_PROG_LIBTOOL -+LT_INIT - - # Output - AC_CONFIG_FILES([Makefile config/Makefile src/Makefile include/Makefile -diff -U3 -r qd-2.3.22.orig/fortran/Makefile.am qd-2.3.22/fortran/Makefile.am ---- qd-2.3.22.orig/fortran/Makefile.am 2018-10-30 23:05:01.000000000 +0700 -+++ qd-2.3.22/fortran/Makefile.am 2018-11-09 21:47:44.530083871 +0700 -@@ -16,7 +16,9 @@ - - lib_LTLIBRARIES = libqdmod.la libqd_f_main.la - libqdmod_la_SOURCES = ddext.f ddmod.f qdext.f qdmod.f f_dd.cpp f_qd.cpp -+libqdmod_la_LIBADD = $(top_builddir)/src/libqd.la $(FCLIBS) - libqd_f_main_la_SOURCES = main.cpp -+libqd_f_main_la_LIBADD = $(top_builddir)/src/libqd.la libqdmod.la $(FCLIBS) - ddmod.lo: $(DDEXT) ddext.lo - qdmod.lo: ddmod.lo $(DDMOD) qdext.lo - $(QDMOD): qdmod.lo $(DDMOD) -diff -U3 -r qd-2.3.22.orig/qd-config.in qd-2.3.22/qd-config.in ---- qd-2.3.22.orig/qd-config.in 2018-10-30 23:04:56.000000000 +0700 -+++ qd-2.3.22/qd-config.in 2018-11-09 21:49:18.140077553 +0700 -@@ -14,7 +14,7 @@ - build_CXXFLAGS="@CXXFLAGS@" - build_LDFLAGS="@LDFLAGS@" - CXX="@CXX@" --CXXFLAGS="-I$includedir @REQ_CXXFLAGS@" -+CXXFLAGS="-I$includedir" - FC="@FC@" - - LDFLAGS="-L$libdir -lqd @LIBS@" diff --git a/sci-libs/qd/qd-2.3.22.ebuild b/sci-libs/qd/qd-2.3.22.ebuild deleted file mode 100644 index 46948cd55894..000000000000 --- a/sci-libs/qd/qd-2.3.22.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -FORTRAN_NEEDED=fortran - -inherit autotools fortran-2 - -DESCRIPTION="Quad-double and double-double float arithmetics" -HOMEPAGE="https://www.davidhbailey.com/dhbsoftware/" -SRC_URI="http://crd.lbl.gov/~dhbailey/mpdist/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD" -KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" -IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran static-libs" - -PATCHES=( "${FILESDIR}"/${P}-fix-build-system.patch ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - econf \ - --disable-ieee-add \ - --disable-sloppy-mul \ - --disable-sloppy-div \ - --enable-inline \ - --enable-shared \ - $(use_enable static-libs static) \ - $(use_enable cpu_flags_x86_fma$(usex cpu_flags_x86_fma3 3 4) fma) \ - $(use_enable fortran) -} - -src_install() { - default - - dosym qd_real.h /usr/include/qd/qd.h - dosym dd_real.h /usr/include/qd/dd.h - - if ! use doc; then - rm "${ED%/}"/usr/share/doc/${PF}/*.pdf || die - fi - - if ! use static-libs; then - find "${D}" -name '*.la' -delete || die - fi -} diff --git a/sci-libs/qd/qd-2.3.23.ebuild b/sci-libs/qd/qd-2.3.23.ebuild index d3c5bfd71d45..e3d6651702a7 100644 --- a/sci-libs/qd/qd-2.3.23.ebuild +++ b/sci-libs/qd/qd-2.3.23.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://www.davidhbailey.com/dhbsoftware/${P}.tar.gz" SLOT="0" LICENSE="BSD" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="cpu_flags_x86_fma3 cpu_flags_x86_fma4 doc fortran" src_configure() { |