Hi Franky,
On 05/01/16 10:30, Backeljauw Franky wrote:
Hello all,
Is there a possibility to put a list of environment variables in the easyconfig
file which should be included in the final module file?
Say, I have the file franky.eb to build a package, and the module file needs to
include the environment variable FRANKY_WAS_HERE in the generated module file
with some setting. Is this possible in the easyconfig file, or do I need to
change/add an easyblock for this?
You can use the 'modextravars' easyconfig parameter for this, see
https://github.com/hpcugent/easybuild-easyconfigs/search?q=modextravars
for examples.
— Regards and best wishes to all,
+1!
regards,
Kenneth