all buildblocks moved one level up
This commit is contained in:
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::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'
|
||||
pbuild::add_to_group 'Libraries'
|
||||
pbuild::set_build_dependencies 'gmp' 'mpfr'
|
||||
pbuild::make_all
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
#%Module1.0
|
||||
|
||||
set whatis "GNU Mpc"
|
||||
set url "http://www.multiprecision.org"
|
||||
set license "GNU LGPL v3"
|
||||
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
|
||||
|
||||
set help "
|
||||
Gnu Mpc is a C library for the arithmetic of complex numbers with
|
||||
arbitrarily high precision and correct rounding of the result.
|
||||
"
|
||||
|
||||
source $env(PSI_LIBMODULES)
|
||||
@@ -0,0 +1,2 @@
|
||||
gmp/5.1.1
|
||||
mpfr/3.1.2
|
||||
@@ -0,0 +1,2 @@
|
||||
gmp/6.0.0
|
||||
mpfr/3.1.3
|
||||
Reference in New Issue
Block a user