all buildblocks moved one level up
This commit is contained in:
Executable
+26
@@ -0,0 +1,26 @@
|
||||
#!/usr/bin/env modbuild
|
||||
|
||||
pbuild::configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-languages=c,c++,objc,obj-c++,lto,fortran \
|
||||
--with-gmp="${GMP_PREFIX}" \
|
||||
--with-mpfr="${MPFR_PREFIX}" \
|
||||
--with-mpc="${MPC_PREFIX}" \
|
||||
--enable-lto \
|
||||
--disable-multilib \
|
||||
--with-pkgversion="PSI Environment Module" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
|
||||
# use system gcc to compile
|
||||
declare -rx CC=gcc
|
||||
declare -rx CXX=g++
|
||||
|
||||
module use 'Libraries'
|
||||
pbuild::add_to_group 'Programming'
|
||||
pbuild::set_build_dependencies 'gmp' 'mpfr' 'mpc'
|
||||
pbuild::set_docfiles 'COPYING' 'COPYING.LIB' 'COPYING.RUNTIME' 'COPYING3' 'COPYING3.LIB' 'NEWS' 'README'
|
||||
pbuild::make_all
|
||||
|
||||
Reference in New Issue
Block a user