Skip to content

Commit

Permalink
GMP 6.2.1
Browse files Browse the repository at this point in the history
  • Loading branch information
stikonas committed Apr 3, 2021
1 parent dcec416 commit 6f9fcbe
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 0 deletions.
1 change: 1 addition & 0 deletions SHA256SUMS.sources
Expand Up @@ -33,6 +33,7 @@ bc79b890f35ca38d66ff89a6e3758226131e51ccbd10ef78d5ff150b7bd73689 flex-2.5.11.ta
e87aae032bf07c26f85ac0ed3250998c37621d95f8bd748b31f15b33c45ee995 flex-2.6.4.tar.gz
5cc35def1ff4375a8b9a98c2ff79e95e80987d24f0d42fdbb7b7039b3ddb3fb0 gawk-3.0.4.tar.gz
e9bf58c761a4f988311aef6b41f12fd5c7e51d09477468fb73826aecc1be32e7 gcc-4.0.4.tar.bz2
fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 gmp-6.2.1.tar.xz
a32032bab36208509466654df12f507600dfe0313feebbcd218c32a70bf72a16 grep-2.4.tar.gz
4d2ce9f314f39c9575f913503b0178d6fb2c92920db8e7b7b176b7bab7980fe6 gzip-1.2.4.tar
9f233d8b78e4351fe9dd2d50d83958a0e5af36f54e9818521458a08e058691ba heirloom-devtools-070527.tar.bz2
Expand Down
9 changes: 9 additions & 0 deletions parts.rst
Expand Up @@ -594,3 +594,12 @@ automake 1.15.1
===============

GNU Automake from 1.15 series. This is the last version that runs on Perl 5.6.

gmp 6.2.1
=========

GNU Multiple Precision Arithmetic Library (GMP) is a free library for
arbitrary-precision arithmetic, operating on signed integers, rational numbers,
and floating-point numbers.

GMP is required by newer versions of GCC and Guile.
3 changes: 3 additions & 0 deletions rootfs.sh
Expand Up @@ -297,6 +297,9 @@ get_file https://ftp.gnu.org/gnu/automake/automake-1.13.4.tar.xz
# automake 1.15.1
get_file https://ftp.gnu.org/gnu/automake/automake-1.15.1.tar.xz

# gmp 6.2.1
get_file https://ftp.gnu.org/gnu/gmp/gmp-6.2.1.tar.xz

# General cleanup
find tmp -name .git -exec rm -rf \;

Expand Down
3 changes: 3 additions & 0 deletions sysa/gmp-6.2.1/checksums
@@ -0,0 +1,3 @@
bfaced23588bc183f34364896cdfbf63cf63418f577a7cd1b2964753445621a7 /after/lib/musl/libgmp.a
86607fe734f726f40fe3cc50038a3f15ec5bb9c6c05288b3536d5419dab60487 /after/lib/musl/libgmp.la
89c9be645cd64ed5ed835460ad6305c945227c8e53f631dde96808d5cba3e4b7 /after/lib/musl/libgmp.so.10.4.1
23 changes: 23 additions & 0 deletions sysa/gmp-6.2.1/gmp-6.2.1.sh
@@ -0,0 +1,23 @@
# SPDX-FileCopyrightText: 2021 Andrius Štikonas <andrius@stikonas.eu>
#
# SPDX-License-Identifier: GPL-3.0-or-later

src_prepare() {
default_src_prepare

rm demos/calc/calc.{c,h} demos/calc/calclex.c

libtoolize -f
aclocal
autoconf
automake --add-missing
}

src_configure() {
./configure \
--prefix="${PREFIX}" \
--build=i386-unknown-linux-gnu \
--host=i386-unknown-linux-gnu \
--target=i386-unknown-linux-gnu \
--libdir="${PREFIX}/lib/musl"
}
2 changes: 2 additions & 0 deletions sysa/run2.sh
Expand Up @@ -22,6 +22,8 @@ build automake-1.13.4

build automake-1.15.1

build gmp-6.2.1

echo "Bootstrapping completed."

exec env - PATH=/after/bin PS1="\w # " bash -i

0 comments on commit 6f9fcbe

Please sign in to comment.