all build scripts moved to a sub-directory according their name

This commit is contained in:
2015-01-20 16:18:09 +01:00
parent 1aa5fef253
commit d9be0b6af2
50 changed files with 0 additions and 0 deletions

28
scripts/Programming/gcc.build Executable file
View File

@@ -0,0 +1,28 @@
#!/bin/bash
source "$(dirname $0)/../lib/libem.bash"
function em.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'
em.add_to_family 'Programming'
em.set_build_dependencies 'gmp' 'mpfr' 'mpc'
em.set_docfiles 'COPYING' 'COPYING.LIB' 'COPYING.RUNTIME' 'COPYING3' 'COPYING3.LIB' 'NEWS' 'README'
em.make_all