GNU MPFR 4.1.0

This commit is contained in:
Andrius Štikonas 2021-04-17 23:54:19 +01:00
parent 41d8cc2825
commit 2e5ccce9be
7 changed files with 68 additions and 1 deletions

View File

@ -44,6 +44,7 @@ c4e63399b12f5858d11c44cea8e92f21cd564f8548e488dadc84046b424c80fc libtool-2.2.4.
093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz 093c993767f563a11e41c1cf887f4e9065247129679d4c1e213d0544d16d8303 m4-1.4.7.tar.gz
64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz 64b30b41fde2ebf669e6af489883fb1df6a06ac30555a96cfa3c39ecce7267dd make-3.80.tar.gz
7a140e43565181bb54bf416117ea0efff057922ed284db5fc98b3740a7f3d956 mes-0.23.tar.gz 7a140e43565181bb54bf416117ea0efff057922ed284db5fc98b3740a7f3d956 mes-0.23.tar.gz
0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f mpfr-4.1.0.tar.xz
1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz 1370c9a812b2cf2a7d92802510cca0058cc37e66a7bedd70051f0a34015022a3 musl-1.1.24.tar.gz
9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd musl-1.2.2.tar.gz 9b969322012d796dc23dda27a35866034fa67d8fb67e0e2c45c913c3d43219dd musl-1.2.2.tar.gz
ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a patch-2.5.9.tar.gz ecb5c6469d732bcf01d6ec1afe9e64f1668caba5bfdb103c28d7f537ba3cdb8a patch-2.5.9.tar.gz

View File

@ -609,4 +609,11 @@ autoconf-archive 2021.02.19
=========================== ===========================
The GNU Autoconf Archive is a collection of Autoconf macros that are used by The GNU Autoconf Archive is a collection of Autoconf macros that are used by
various projects. various projects and in particular GNU MPFR.
mpfr 4.1.0
==========
The GNU Multiple Precision Floating-Point Reliable Library (GNU MPFR) is a library
for arbitrary-precision binary floating-point computation with correct rounding,
based on GNU Multi-Precision Library.

View File

@ -435,3 +435,6 @@ class SysA:
# autoconf archive 2021.02.19 # autoconf archive 2021.02.19
self.get_file("https://mirrors.kernel.org/gnu/autoconf-archive/autoconf-archive-2021.02.19.tar.xz") self.get_file("https://mirrors.kernel.org/gnu/autoconf-archive/autoconf-archive-2021.02.19.tar.xz")
# mpfr 4.1.0
self.get_file("https://mirrors.kernel.org/gnu/mpfr/mpfr-4.1.0.tar.xz")

View File

@ -0,0 +1,3 @@
c37eb935fe06afa7467369ac16d83b39d55f83aa01a53e15f5b8b1595dce298f /after/lib/musl/libmpfr.a
3cb9910a3b257e489e16c03f7453d86120fc4f88d5e2cbabaf8852f19868ddb0 /after/lib/musl/libmpfr.la
e7ab45d9acc58a74b32ea8b19095df2d4ac9b750e66fff53f1c5b69cb253f2c2 /after/lib/musl/libmpfr.so.6.1.0

View File

@ -0,0 +1,21 @@
/*
SPDX-FileCopyrightText: 2005-2020 Free Software Foundation, Inc.
SPDX-License-Identifier: GPL-3.0-or-later
*/
/* This file is truncated version of src/mparam.h
*/
#ifndef __MPFR_IMPL_H__
# error "MPFR Internal not included"
#endif
#define MPFR_TUNE_CASE "default"
/****************************************************************
* Default values of Threshold. *
* Must be included in any case: it checks, for every constant, *
* if it has been defined, and it sets it to a default value if *
* it was not previously defined. *
****************************************************************/
#include "generic/mparam.h"

30
sysa/mpfr-4.1.0/mpfr-4.1.0.sh Executable file
View File

@ -0,0 +1,30 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later
src_prepare() {
default_src_prepare
find . -name '*.info' -delete
autoreconf-2.69 -fi
}
src_configure() {
./configure \
--prefix="${PREFIX}" \
--libdir="${PREFIX}/lib/musl" \
--target=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--build=i386-unknown-linux-gnu
# Disable tuning as that might cause non-reproducible build
mv mparam.h src
}
src_compile() {
make MAKEINFO=true DESTDIR="${DESTDIR}"
}
src_install() {
make MAKEINFO=true DESTDIR="${DESTDIR}" install
}

View File

@ -24,6 +24,8 @@ build gmp-6.2.1
build autoconf-archive-2021.02.19 build autoconf-archive-2021.02.19
build mpfr-4.1.0
echo "Bootstrapping completed." echo "Bootstrapping completed."
exec env - PATH=/after/bin PS1="\w # " bash -i exec env - PATH=/after/bin PS1="\w # " bash -i