comparison sources/control-images/lfs-bootstrap/mnt/build/gmp.sh @ 1275:a4cb2ed0a551

Move sources/native-builds to sources/control-images, so the naming is consistent.
author Rob Landley <rob@landley.net>
date Sun, 07 Nov 2010 15:55:26 -0600
parents sources/native-builds/lfs-bootstrap/mnt/build/gmp.sh@7a60afa1846c
children
comparison
equal deleted inserted replaced
1274:b41dbea3ba14 1275:a4cb2ed0a551
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