- em.xyz renamed to pmodules.xxy
- underscore removed as prefix of function names - keyword function removed
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
em.add_to_family 'Libraries'
|
||||
em.set_build_dependencies "${COMPILER}"
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Libraries'
|
||||
pmodules.set_build_dependencies "${COMPILER}"
|
||||
pmodules.make_all
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--disable-shared \
|
||||
@@ -13,6 +13,6 @@ function em.configure() {
|
||||
declare -rx CC=gcc
|
||||
declare -rx CPP=/usr/bin/cpp
|
||||
|
||||
em.add_to_family 'Libraries'
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Libraries'
|
||||
pmodules.make_all
|
||||
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
em.add_to_family 'Libraries'
|
||||
em.set_build_dependencies "${COMPILER}"
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Libraries'
|
||||
pmodules.set_build_dependencies "${COMPILER}"
|
||||
pmodules.make_all
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-gmp=$GMP_PREFIX \
|
||||
@@ -15,7 +15,7 @@ function em.configure() {
|
||||
declare -rx CC=gcc
|
||||
|
||||
module use 'Libraries'
|
||||
em.add_to_family 'Libraries'
|
||||
em.set_build_dependencies 'gmp' 'mpfr'
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Libraries'
|
||||
pmodules.set_build_dependencies 'gmp' 'mpfr'
|
||||
pmodules.make_all
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
--with-gmp=$GMP_PREFIX \
|
||||
@@ -15,6 +15,6 @@ declare -rx CC=gcc
|
||||
|
||||
module use 'Libraries'
|
||||
|
||||
em.add_to_family 'Libraries'
|
||||
em.set_build_dependencies 'gmp'
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Libraries'
|
||||
pmodules.set_build_dependencies 'gmp'
|
||||
pmodules.make_all
|
||||
|
||||
@@ -1,13 +1,13 @@
|
||||
#!/bin/bash
|
||||
|
||||
source "$(dirname $0)/../../../lib/libem.bash"
|
||||
source "$(dirname $0)/../../../lib/libpmodules.bash"
|
||||
|
||||
function em.configure() {
|
||||
pmodules.configure() {
|
||||
"${MODULE_SRCDIR}"/configure \
|
||||
--prefix="${PREFIX}" \
|
||||
|| exit 1
|
||||
}
|
||||
|
||||
em.add_to_family 'Libraries'
|
||||
em.set_build_dependencies "${COMPILER}"
|
||||
em.make_all
|
||||
pmodules.add_to_group 'Libraries'
|
||||
pmodules.set_build_dependencies "${COMPILER}"
|
||||
pmodules.make_all
|
||||
|
||||
Reference in New Issue
Block a user