comparison sources/native-builds/lfs-bootstrap/mnt/build/gmp.sh @ 1269:7a60afa1846c

More tweaks to bootstrap-skeleton, implement the first half of lfs-bootstrap for Linux From Scratch 6.7 against the new infrastructure, and tweak gentoo build to stay current with bootstrap-skeleton changes. (Now more common infrastructure, and requires package-list file.)
author Rob Landley <rob@landley.net>
date Sun, 24 Oct 2010 04:17:15 -0500
parents
children
comparison
equal deleted inserted replaced
1268:30bab195be94 1269:7a60afa1846c
1 #!/bin/sh
2
3 # Doesn't work with uClibc++ yet.
4 # [ ! -z "$(which c++)" ] && X="--enable-cxx"
5
6 ./configure --prefix=/usr $X --enable-mpbsd &&
7 make -j $CPUS || exit 1
8
9 if [ ! -z "$CHECK" ]
10 then
11 make check 2>&1 | tee gmp-check-log
12 awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log
13 fi
14
15 make install || exit 1
16
17 if [ ! -z "$DOCS" ]
18 then
19 mkdir -p /usr/share/doc/gmp-5.0.1 &&
20 cp doc/isa_abi_headache doc/connfiguration doc/*.html \
21 /usr/share/doc/gmp-5.0.1
22 fi