On 26/06/14 07:58, Kenneth Hoste wrote:
Short answer: eb --help | grep buildininstall

Sorry, correction:

$ eb -a | grep buildininstall
buildininstalldir: Boolean to build (True) or not build (False) in the installation directory (default: False)

So, just include 'buildininstalldir = True' in the easyconfig file.


There's also an open pull request for AMBER I think...

See https://github.com/hpcugent/easybuild-easyconfigs/pull/778 .

buildininstalldir is not being used there, it's using the MakeCp easyblock and just copies what is really needed.

Please test that PR, and let us know (in the PR) whether it worked for you.


K.

On 26 Jun 2014, at 07:12, Bart Verleye <[email protected]> wrote:

Hi,

It doesn't always have to be difficult.

We want to install amber. The installation goes as follows:

./configure <options>
make <options>
make install

However, it does not accept the prefix option, and will install the bin and lib 
in the src directory.

The options can be set via configopts and makeopts. Basically, I would like EB 
to run the whole build in the install directory. As it will also need some 
parts of the src to be copied, but not sure which...

Which block should I use, and which option in the config file to set to make eb 
do that?

Thanks,
Bart

--
Dr. Bart Verleye
Centre for e-Research
Level G, Room 409-G21
24 Symonds St.
Auckland 1010
New Zealand
+64 (0) 9 923 9740 ext 89740

Reply via email to