23 lines
420 B
Bash
Executable File
23 lines
420 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source "$(dirname $0)/../config/environment.bash"
|
|
source "$(dirname $0)/../lib/libem.bash"
|
|
|
|
|
|
function em.configure() {
|
|
CPPFLAGS="-DUSE_INTERP_ERRORLINE" "${EM_SRCDIR}"/configure \
|
|
--prefix="${EM_BINDIR}/${EM_FAMILY}" \
|
|
--with-module-path="${MODULEPATH_ROOT}" \
|
|
|| exit 1
|
|
}
|
|
# fake module command
|
|
module() {
|
|
:
|
|
}
|
|
|
|
# use system gcc to compile
|
|
declare -rx CC=gcc
|
|
|
|
em.add_to_family 'Tools'
|
|
em.make_all
|