SuperLU_DIST/3.3: added UMFPACK/5.6.2: added netcdf/4.3.2: added trilinos/11.8.1: new version
34 lines
564 B
Bash
Executable File
34 lines
564 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "$(dirname $0)/../lib/libem.bash"
|
|
|
|
function em.configure() {
|
|
cat <<EOF > "${EM_SRCDIR}/make.inc"
|
|
SHELL = /bin/sh
|
|
PLAT =
|
|
DRVOPTS = \$(OPTS)
|
|
LOADER = \$(FORTRAN) -pthread
|
|
ARCHFLAGS= -ru
|
|
#RANLIB = ranlib
|
|
EOF
|
|
}
|
|
|
|
function em.build() {
|
|
cd "${EM_SRCDIR}"
|
|
make TARGET=CORE2 BINARY=64 USE_THREAD=0 NO_SHARED=1
|
|
}
|
|
|
|
function em.install() {
|
|
make PREFIX="${PREFIX}" install
|
|
}
|
|
|
|
function em.install_doc() {
|
|
:
|
|
}
|
|
|
|
em.add_to_family 'Compiler'
|
|
em.set_runtime_dependencies "${COMPILER}"
|
|
em.set_build_dependencies "${COMPILER}"
|
|
em.make_all
|
|
em.cleanup_src
|