add EB option --generate-devel-module#3388
Conversation
|
closing-reopening |
|
@smoors Can you clarify the use case for this? What's the point of generating a module file you can't load? Also, this is for using together with I would rename it too, since it's a boolean option. It should be something like That being said, I think we need to re-evaluate generating those devel modules, I doubt they're actually useful at all (see also #109). |
|
@boegel my use case is discoverability: it should indeed be used together with renaming the is fine to me, I was not happy about the name in the first place. about the usefulness of devel modules, I never used them myself, if they work at all. maybe we can ask the community to see if anyone is using them? |
|
closing-reopening |
|
@boegel any objections to merging this PR? |
this option is useful for example when creating a module in combination with
--module-onlyand-modules-footerwhere the footer generates anLmodErrorupon loading the module.using
LmodErrorcauses EB to fail because it tries to load the module unless make_devel_module() is skipped. skipping this function is fine in this case because the module is not supposed to be loaded anyway.if this option is well-received I'll try to write a test for it as well.