#!/bin/sh
# configure and compile gmp (C and C++) using four cores, its own cofigure, defaults but enable cxx,
# do not install

cd /tmp
rm -rf gmp-6.1.2

echo "untar"
tar -xf /sources/gmp-6.1.2.tar.xz
cd gmp-6.1.2

echo "configure and compile"

time ( ./configure --enable-cxx && make -j4 )


