refactor variable names according to changes in Pmodules/0.99.15 in build-scripts of group 'MPI'
This commit is contained in:
@@ -12,7 +12,7 @@ pbuild::configure() {
|
||||
die 3 "Oops: unknown compiler: ${COMPILER}"
|
||||
;;
|
||||
esac
|
||||
cat <<EOF > "${MODULE_SRCDIR}/make.inc"
|
||||
cat <<EOF > "${SRC_DIR}/make.inc"
|
||||
PLAT =
|
||||
DSuperLUroot = \${PREFIX}
|
||||
DSUPERLULIB = \$(DSuperLUroot)/lib/libsuperlu_dist.a
|
||||
@@ -37,7 +37,7 @@ EOF
|
||||
}
|
||||
|
||||
pbuild::build() {
|
||||
cd "${MODULE_SRCDIR}"
|
||||
cd "${SRC_DIR}"
|
||||
mkdir -p "${PREFIX}/lib"
|
||||
make
|
||||
}
|
||||
@@ -45,7 +45,7 @@ pbuild::build() {
|
||||
pbuild::install() {
|
||||
make install
|
||||
mkdir -p "${PREFIX}/include"
|
||||
install -m 0444 "${MODULE_SRCDIR}"/SRC/*.h "${PREFIX}/include"
|
||||
install -m 0444 "${SRC_DIR}"/SRC/*.h "${PREFIX}/include"
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user