H5hut_serial.build 616 Bytes
Newer Older
gsell's avatar
gsell committed
1 2
#!/bin/bash

3
source "$(dirname $0)/../../lib/libem.bash"
gsell's avatar
gsell committed
4 5

function em.configure() {
6 7
	(cd "${MODULE_SRCDIR}" && ./autogen.sh)
	"${MODULE_SRCDIR}"/configure \
gsell's avatar
gsell committed
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
		--prefix="${PREFIX}" \
		--enable-debug \
		--enable-vtkconverter \
		--with-hdf5="${HDF5_SERIAL_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
}

gsell's avatar
gsell committed
26
em.add_to_family 'HDF5_serial'
gsell's avatar
gsell committed
27 28 29 30
em.set_runtime_dependencies "${COMPILER}" 'hdf5_serial'
em.set_build_dependencies   "autoconf" "automake" "libtool" "${COMPILER}" "vtk" "hdf5_serial"
em.make_all