annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
1 #!/bin/sh
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
2
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
3 # Doesn't work with uClibc++ yet.
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
4 # [ ! -z "$(which c++)" ] && X="--enable-cxx"
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
5
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
6 ./configure --prefix=/usr $X --enable-mpbsd &&
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
7 make -j $CPUS || exit 1
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
8
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
9 if [ ! -z "$CHECK" ]
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
10 then
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
11 make check 2>&1 | tee gmp-check-log
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
12 awk '/tests passed/{total+=$2} ; END{print total}' gmp-check-log
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
13 fi
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
14
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
15 make install || exit 1
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
16
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
17 if [ ! -z "$DOCS" ]
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
18 then
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
19 mkdir -p /usr/share/doc/gmp-5.0.1 &&
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
20 cp doc/isa_abi_headache doc/connfiguration doc/*.html \
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
21 /usr/share/doc/gmp-5.0.1
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.)
Rob Landley <rob@landley.net>
parents:
diff changeset
22 fi