build 445 Bytes
Newer Older
gsell's avatar
gsell committed
1
#!/usr/bin/env modbuild
gsell's avatar
gsell committed
2

gsell's avatar
gsell committed
3
pbuild::configure() {
gsell's avatar
gsell committed
4 5 6 7
	cmake \
		-DCMAKE_INSTALL_PREFIX="${PREFIX}" \
		-DCMAKE_BUILD_TYPE=RELEASE \
		-DGMX_MPI=on \
8
		-DGMX_GPU=off \
gsell's avatar
gsell committed
9 10 11 12 13 14
		-DGMX_BUILD_OWN_FFTW=on \
		"${MODULE_SRCDIR}" \
		|| exit 1
}


gsell's avatar
gsell committed
15 16 17 18
pbuild::add_to_group 'MPI'
pbuild::set_runtime_dependencies "${COMPILER}" "${MPI}"
pbuild::set_build_dependencies "${COMPILER}" "${MPI}" cmake
pbuild::set_docfiles \
gsell's avatar
gsell committed
19 20 21
		AUTHORS \
		COPYING \
		README
gsell's avatar
gsell committed
22
pbuild::make_all
gsell's avatar
gsell committed
23