2018-03-22 18:11:39 +01:00
|
|
|
#%Module1.0
|
|
|
|
#
|
|
|
|
# To be installed as ${MODULEPATH}/app4triqs/@APP4TRIQS_VERSION@
|
|
|
|
|
|
|
|
set name app4triqs
|
|
|
|
set version @APP4TRIQS_VERSION@
|
|
|
|
set root @CMAKE_INSTALL_PREFIX@
|
|
|
|
set git_hash @APP4TRIQS_GIT_HASH@
|
|
|
|
|
|
|
|
set url "https://github.com/TRIQS/app4triqs"
|
|
|
|
set description "An example application using cpp2py and triqs."
|
|
|
|
|
|
|
|
module-whatis "$description"
|
|
|
|
|
|
|
|
proc ModulesHelp { } {
|
|
|
|
global description url version git_hash
|
|
|
|
puts stderr "Description: $description"
|
|
|
|
puts stderr "URL: $url"
|
|
|
|
puts stderr "Version: $version"
|
|
|
|
puts stderr "Git hash: $git_hash"
|
|
|
|
}
|
|
|
|
|
2019-04-16 17:17:12 +02:00
|
|
|
# You may need to edit the next line if the triqs module
|
|
|
|
# is installed under a different name in your setup.
|
|
|
|
prereq triqs/@TRIQS_VERSION@
|
2018-03-22 18:11:39 +01:00
|
|
|
|
|
|
|
# Only one version of app4triqs can be loaded at a time
|
|
|
|
conflict $name
|
|
|
|
|
|
|
|
setenv APP4TRIQS_ROOT $root
|
|
|
|
setenv APP4TRIQS_VERSION $version
|
|
|
|
setenv APP4TRIQS_GIT_HASH $git_hash
|
|
|
|
|
|
|
|
prepend-path PATH $root/bin
|
2018-10-11 23:17:12 +02:00
|
|
|
prepend-path CPLUS_INCLUDE_PATH $root/include
|
2018-03-22 18:11:39 +01:00
|
|
|
prepend-path LIBRARY_PATH $root/lib
|
|
|
|
prepend-path LD_LIBRARY_PATH $root/lib
|
2019-04-16 17:17:12 +02:00
|
|
|
prepend-path PYTHONPATH $root/@TRIQS_PYTHON_LIB_DEST_ROOT@
|
|
|
|
prepend-path CMAKE_PREFIX_PATH $root/lib/cmake/app4triqs
|