Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment

This commit is contained in:
2014-05-22 16:47:57 +02:00
8 changed files with 38 additions and 6 deletions
+1
View File
@@ -0,0 +1 @@
*.conf
-1
View File
@@ -1 +0,0 @@
gcc-4.7.3
-1
View File
@@ -1 +0,0 @@
hdf5-1.8.12
-1
View File
@@ -1 +0,0 @@
hdf5_serial-1.8.12
-1
View File
@@ -1 +0,0 @@
openmpi-1.6.5
+1
View File
@@ -7,6 +7,7 @@ giflib 5.0.6
gmp 5.1.1
gnuplot 4.6.3
gsl 1.15
fsstress 1.0.0
h5hut_serial 1.99.13
H5hut 1.99.13
H5root 1.2.0
+2 -2
View File
@@ -375,8 +375,8 @@ function _set_link() {
local x
IFS='/' x=(${_path})
local -r _target="../"$(eval printf "../%.s" {1..${#x[@]}})${EM_ETCDIR##*/}/"${EM_FAMILY}/${P}"
ln -fs "${_target}" "${EM_MODULENAME##*/}"
local -r _target="../"$(eval printf "../%.s" {1..${#x[@]}})${EM_ETCDIR##*/}/"${EM_FAMILY}/${P}/modulefile"
ln -fhs "${_target}" "${EM_MODULENAME##*/}"
)
}
+34
View File
@@ -0,0 +1,34 @@
#!/bin/bash
source "$(dirname $0)/../lib/libem.bash"
function em.configure() {
:
}
function em.build() {
cd "${EM_SRCDIR}"
make -j ${JOBS}
}
function em.install() {
cd "${EM_SRCDIR}"
mkdir -p ${PREFIX}/bin
install -m 0755 fsstress "${PREFIX}/bin"
}
#function em.install_doc() {
# install -m 0444 \
# Copyright \
# ChangeLog \
# NEWS \
# README \
# README.1ST \
# "${DOCDIR}"
#}
#em.supported_os 'Linux'
em.add_to_family 'System'
em.set_build_dependencies "${COMPILER}"
em.make_all