all build scripts moved to a sub-directory according their name
This commit is contained in:
43
scripts/HDF5/H5hut.build
Executable file
43
scripts/HDF5/H5hut.build
Executable file
@@ -0,0 +1,43 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../lib/libem.bash"
|
||||
|
||||
function em.pre_configure() {
|
||||
./autogen.sh
|
||||
}
|
||||
|
||||
function em.configure() {
|
||||
CC=$MPICC
|
||||
CXX=$MPICXX
|
||||
F77=$MPIF77
|
||||
F90=$MPIF90
|
||||
FC=$MPIFC
|
||||
FORTRAN=$MPIFORTRAN
|
||||
#( cd "${MODULE_SRCDIR}" && ./autogen.sh )
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-parallel \
|
||||
--enable-debug \
|
||||
--enable-vtkconverter \
|
||||
--with-hdf5=$HDF5_PREFIX \
|
||||
--with-pic \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
function em.build() {
|
||||
make -C src
|
||||
make -C tools
|
||||
}
|
||||
|
||||
function em.install() {
|
||||
make -C src install
|
||||
make -C tools install
|
||||
}
|
||||
|
||||
|
||||
em.add_to_family 'HDF5'
|
||||
em.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
|
||||
em.set_build_dependencies "autoconf" "automake" "libtool" "${COMPILER}" "${MPI}" "vtk" "hdf5"
|
||||
em.set_docfiles 'AUTHORS' 'COPYING'
|
||||
em.make_all
|
||||
|
||||
28
scripts/HDF5/netcdf.build
Executable file
28
scripts/HDF5/netcdf.build
Executable file
@@ -0,0 +1,28 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../lib/libem.bash"
|
||||
|
||||
function em.pre_configure() {
|
||||
:
|
||||
}
|
||||
|
||||
function em.configure() {
|
||||
CC=$MPICC
|
||||
CXX=$MPICXX
|
||||
F77=$MPIF77
|
||||
F90=$MPIF90
|
||||
FC=$MPIFC
|
||||
FORTRAN=$MPIFORTRAN
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--enable-netcdf-4 \
|
||||
--with-pic \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
em.add_to_family 'HDF5'
|
||||
em.set_runtime_dependencies "${COMPILER}" "${MPI}" 'hdf5'
|
||||
em.set_build_dependencies "${COMPILER}" "${MPI}" 'hdf5'
|
||||
em.set_docfiles 'COPYRIGHT' 'README.md' 'RELEASE_NOTES.md'
|
||||
em.make_all
|
||||
|
||||
Reference in New Issue
Block a user