Commit 074dda7b authored by gsell's avatar gsell

changes to support easy bootstraping; re-orginazation of build scripts

parent 62181b76
#!/bin/bash #!/bin/bash
source $(dirname $0)/../lib/libem.bash source $(dirname $0)/../../lib/libem.bash
function em.pre_configure() { function em.pre_configure() {
./autogen.sh ./autogen.sh
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
cat <<EOF > "${MODULE_SRCDIR}/make.inc" cat <<EOF > "${MODULE_SRCDIR}/make.inc"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
cat <<EOF > "${MODULE_SRCDIR}/make.inc" cat <<EOF > "${MODULE_SRCDIR}/make.inc"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
cat <<EOF > "${MODULE_SRCDIR}/make.inc" cat <<EOF > "${MODULE_SRCDIR}/make.inc"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
cat <<EOF > "${MODULE_SRCDIR}/SuiteSparse_config/SuiteSparse_config.mk" cat <<EOF > "${MODULE_SRCDIR}/SuiteSparse_config/SuiteSparse_config.mk"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.pre_configure() { function em.pre_configure() {
./autogen.sh ./autogen.sh
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.pre_configure() { function em.pre_configure() {
: :
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
(cd "${MODULE_SRCDIR}" && ./autogen.sh) (cd "${MODULE_SRCDIR}" && ./autogen.sh)
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
case ${OS} in case ${OS} in
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}/bootstrap" --prefix="${PREFIX}" "${MODULE_SRCDIR}/bootstrap" --prefix="${PREFIX}"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
em.add_to_family 'Programming' em.add_to_family 'Programming'
em.set_runtime_dependencies "" em.set_runtime_dependencies ""
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
# Lua cannot be build in a seperate directory! # Lua cannot be build in a seperate directory!
# #
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
cd "${MODULE_SRCDIR}" cd "${MODULE_SRCDIR}"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
: :
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
TCL_VERSION='8.6.3' TCL_VERSION='8.6.3'
TCL_DIR="${PSI_PREFIX}/Programming/Tcl/${TCL_VERSION}" TCL_DIR="${PSI_PREFIX}/Programming/Tcl/${TCL_VERSION}"
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
module use 'Libraries' module use 'Libraries'
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
#!/bin/bash #!/bin/bash
source "$(dirname $0)/../lib/libem.bash" source "$(dirname $0)/../../lib/libem.bash"
function em.configure() { function em.configure() {
"${MODULE_SRCDIR}"/configure \ "${MODULE_SRCDIR}"/configure \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment