I like this idea as well, I'll implement it a.s.a.p.

Thanks for all the thoughts and considerations everyone!

Cheers,

Caspar



----- Original Message -----
From: "Kenneth Hoste" <[email protected]>
To: "easybuild" <[email protected]>, "John Donners" 
<[email protected]>
Sent: Monday, 8 January, 2018 22:13:14
Subject: Re: [easybuild] Use of EBROOT of a dependency as modextravar

On 08/01/2018 21:58, John Donners wrote:
> maybe it's easier to put a symlink to the bar executable in the bin directory 
> of Foo and then
> point BAR_BIN simply there? I'm not sure where in the easyconfig to create 
> the symlink (a
> postinstallopts doesn't exist..).

That's actually a very good suggestion! :)

You're close: there's a postinstallcmds easyconfig parameter that is 
suited for this ("eb -a | grep postinstall").

postinstallcmds = ["ln -s $EBROOTBAR/bin/bar %(installdir)s/bin/bar"]

modextrapaths = {'BAR_BIN': '%(installdir)s/bin'}


regards,

Kenneth

Reply via email to