update temanejo package
This commit is contained in:
parent
04e48efa99
commit
d8da62e782
1 changed files with 23 additions and 7 deletions
|
@ -11,16 +11,32 @@ PACKAGE="temanejo"
|
||||||
URL="http://www.hlrs.de/temanejo/"
|
URL="http://www.hlrs.de/temanejo/"
|
||||||
INSTALLER="Jose Gracia <gracia@hlrs.de>"
|
INSTALLER="Jose Gracia <gracia@hlrs.de>"
|
||||||
|
|
||||||
|
# build with Temanejo gui (0|1)
|
||||||
|
enable_gui=${enable_gui:=1}
|
||||||
|
# install modulefile
|
||||||
|
enable_module=${enable_module:=1}
|
||||||
|
MODULE_TEMPLATE=${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/modulefiles/HLRS_temanejo_modulefile.in
|
||||||
|
# build OmpSs plugin; set to path to OmpSs installation
|
||||||
|
enable_ompss=${enable_ompss:=0}
|
||||||
|
|
||||||
# Archive A and package name P
|
# Archive A and package name P
|
||||||
A=${PACKAGE}-${VERSION}.tar.gz
|
A=${PACKAGE}-${VERSION}.tar.gz
|
||||||
P=${PACKAGE}-${VERSION}
|
P=${PACKAGE}-${VERSION}
|
||||||
|
|
||||||
|
|
||||||
# Other interesting configure options:
|
# Other interesting configure options:
|
||||||
MODULE_TEMPLATE=${PREFIX_BASE}/${CATEGORY}/${PACKAGE}/modulefiles/HLRS_temanejo_modulefile.in
|
CONFIGURE_OPTS+=" "
|
||||||
CONFIGURE_OPTS=" \
|
|
||||||
--enable-modulefile=${MODULE_TEMPLATE} \
|
if [ $enable_module == 1 ] ; then
|
||||||
"
|
CONFIGURE_OPTS+=" --enable-modulefile=${MODULE_TEMPLATE} "
|
||||||
|
fi
|
||||||
|
if [ $enable_gui == 0 ]; then
|
||||||
|
CONFIGURE_OPTS+=" --disable-temanejo "
|
||||||
|
fi
|
||||||
|
if [ $enable_ompss != 0 ]; then
|
||||||
|
CONFIGURE_OPTS+=" --with-ompss=$enable_ompss "
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
src_postinst() {
|
src_postinst() {
|
||||||
# set link to module file
|
# set link to module file
|
||||||
|
@ -29,8 +45,8 @@ src_postinst() {
|
||||||
sit_info "Modulefile has been linked into ${PREFIX}/../modulefiles"
|
sit_info "Modulefile has been linked into ${PREFIX}/../modulefiles"
|
||||||
|
|
||||||
# set link to latest ayudame clients for OmpSs
|
# set link to latest ayudame clients for OmpSs
|
||||||
cd ${PREFIX}/lib
|
#cd ${PREFIX}/lib
|
||||||
ln -s ../../share/clients/libnanox-instrumentation-ayudame_* .
|
#ln -s ../../share/clients/libnanox-instrumentation-ayudame_* .
|
||||||
sit_info "OmpSs clients have been linked into ${PREFIX}/lib/"
|
#sit_info "OmpSs clients have been linked into ${PREFIX}/lib/"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue