all buildblocks moved one level up

This commit is contained in:
2015-10-14 18:20:36 +02:00
parent 75832ca05a
commit 0a9fefd921
134 changed files with 0 additions and 0 deletions

28
HDF5_serial/H5hut_serial/build Executable file
View File

@@ -0,0 +1,28 @@
#!/usr/bin/env modbuild
pbuild::configure() {
(cd "${MODULE_SRCDIR}" && ./autogen.sh)
"${MODULE_SRCDIR}"/configure \
--prefix="${PREFIX}" \
--enable-debug \
--enable-vtkconverter \
--with-hdf5="${HDF5_SERIAL_PREFIX}" \
--with-pic \
|| exit 1
}
pbuild::build() {
make -C src
make -C tools
}
pbuild::install() {
make -C src install
make -C tools install
}
pbuild::add_to_group 'HDF5_serial'
pbuild::set_runtime_dependencies "${COMPILER}" 'hdf5_serial'
pbuild::set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "vtk" "hdf5_serial"
pbuild::make_all

View File

@@ -0,0 +1,17 @@
#%Module1.0
set whatis "HDF5 utility toolkit"
set url "http://amas.psi.ch/H5hut"
set license "BSD-like"
set maintainer "Achim Gsell <achim.gsell@psi.ch>"
set help "
H5hut is a veneer API for HDF5: H5hut files are also valid HDF5 files
and are compatible with other HDF5-based interfaces and tools. For
example, the h5dump tool that comes standard with HDF5 can export H5hut
files to ASCII or XML for additional portability. H5hut also includes
tools to convert H5hut data to the Visualization ToolKit (VTK) format
and to generate scripts for the GNUplot data plotting tool.
"
source $env(PSI_LIBMODULES)

23
HDF5_serial/build_all_variants Executable file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
declare -r basedir=$(dirname $0)
source '../../config/Pmodules.conf'
declare -r recipe="${basedir}/$1/build"
shift
if [[ ! -x "${recipe}" ]]; then
echo "Error: no recipe to build '$1'!"
exit 1
fi
for cc in "${COMPILER_VERSIONS[@]}"; do
for hdf in "${HDF5_SERIAL_VERSIONS[@]}"; do
"${recipe}" "$@" --with=$cc --with=$hdf || {
echo "Oops: build failed for:"
echo " compiler: $cc"
echo " HDF5 (serial): $hdf"
exit 1
}
done
done