Conversation
healther
left a comment
There was a problem hiding this comment.
why isn't this taken care of by the depends_on(... type='run')?
|
On my system the lua modulefile for if not isloaded("tmux/2.7-7sgiyx2") then
load("tmux/2.7-7sgiyx2")
endand loading it adds the The dependency in the copy of the depends_on('tmux', type=('build', 'run'))with no extra environment setup. |
|
Without this patch, when I run |
|
I use Lmod modules and don't go through Do you have any modulefiles for Is your shell set up to use modules (e.g. does |
|
As far as I understand, I do have module files for byobu and tmux under share/spack. I didn't change any module configuration (as I am on Mac OS, I'm using
|
|
@hartzell I just tested this on macOS and without any changes to the default This problem affects hundreds of packages in Spack, not just |
|
I used to use or to effectively do the |
|
@adamjstewart ...
Hmmm. I just checked out a clean tree, built byobu, added this modules:
enable::
- lmod
- tcl
lmod:
core_compilers:
- '[email protected]'and generated the lmod modulefiles with I got the same result you got: neither the tcl nor the Lmod modulefiles autoloaded tmux. Then I added a bit from my standard modules:
enable::
- lmod
- tcl
lmod:
core_compilers:
- '[email protected]'
^python:
autoload: 'direct'The resulting byobu Lmod modulefile contained: if not isloaded("tmux/2.7-2b6gc3z") then
load("tmux/2.7-2b6gc3z")
end@alalazo -- I expected this line to only generate autoloads for things that depend on python. byobu does not seem to depend on Python: Is this a bug or a SNAFU on my part? |
41c4537 to
364bf89
Compare
No description provided.