Merge branch 'master' of gitorious.psi.ch:scicomp/psi-modules-buildenvironment
This commit is contained in:
1
config/families.d/.gitignore
vendored
Normal file
1
config/families.d/.gitignore
vendored
Normal file
@@ -0,0 +1 @@
|
||||
*.conf
|
||||
@@ -1 +0,0 @@
|
||||
gcc-4.7.3
|
||||
@@ -1 +0,0 @@
|
||||
hdf5-1.8.12
|
||||
@@ -1 +0,0 @@
|
||||
hdf5_serial-1.8.12
|
||||
@@ -1 +0,0 @@
|
||||
openmpi-1.6.5
|
||||
@@ -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
|
||||
|
||||
@@ -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
scripts/fsstress.build
Executable file
34
scripts/fsstress.build
Executable 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
|
||||
Reference in New Issue
Block a user