major reorganization; updates to versions; fixes
This commit is contained in:
21
scripts/Libraries/mpc/build
Executable file
21
scripts/Libraries/mpc/build
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
|
||||
function em.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-gmp=$GMP_PREFIX \
|
||||
--with-mpfr=$MPFR_PREFIX \
|
||||
--disable-shared \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
# use system gcc to compile
|
||||
declare -rx CC=gcc
|
||||
|
||||
module use 'Libraries'
|
||||
em.add_to_family 'Libraries'
|
||||
em.set_build_dependencies 'gmp' 'mpfr'
|
||||
em.make_all
|
||||
|
||||
Reference in New Issue
Block a user