Markus,
you are absolutely right.
The only way to do what I want is the following:

$ eb GCC-5.4.0-2.26.eb -D --hide-deps=M4,Bison,flex,zlib,binutils,GCCcore 
--hide-toolchains=GCCcore

or to specify the dependencies that need to be hidden in the 
EASYBUILD_HIDE_DEPS environment variable.
I think that at the moment it is good enough for me.

DV


On Oct 18 2016, at 12:41 pm, Markus Geimer <m.gei...@fz-juelich.de> wrote:

Alan, Davide,

> hidden = True is now supported within EB (see
> https://github.com/hpcugent/easybuild-framework/pull/1837), just add
> that to your GCCcore eb file

Since GCCcore is a toolchain, '--hide-deps' or 'hidden = True' alone
doesn't help. 'hidden = True' only applies to the installation itself,
but not necessarily when the package is used as a dependency (see
below). And '--hide-deps' only applies if GCCcore is used as a
dependency, but not when used as a toolchain. Therefore, EB 2.9.0
also supports a '--hide-toolchains' option, which should help in this
case. (Note that GCCcore needs to be marked as hidden in both ways.)

> If so, is there any chance we will see such feature (maybe not by
> default but as an eb option flag) in the future?
>
> If not, what would you suggest? Obviously I could manually edit all
> easyconfig files by adding the hiddendependencies but that may be
> quite annoying in the long term.

If you list your easyconfig archive and/or "golden repo" before the
easyconfig dir of your EB install in robot path, EasyBuild will look
at those first and correctly handles packages including 'hidden=True'
even w/o listing them in hiddendependencies. However, for other
robot-path setups, an 'automatically consider hidden modules' feature
is still missing in EasyBuild. Let me use Kenneth's favorite in such
cases: "It should not be too hard to implement this..." ;-)

Markus

--
Dr. Markus Geimer
Juelich Supercomputing Centre
Institute for Advanced Simulation
Forschungszentrum Juelich GmbH
52425 Juelich, Germany

Phone: +49-2461-61-1773
Fax: +49-2461-61-6656
E-Mail: m.gei...@fz-juelich.de
Web: http://www.fz-juelich.de/jsc

------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzender des Aufsichtsrats: MinDir Dr. Karl Eugen Huthmacher
Geschaeftsfuehrung: Prof. Dr.-Ing. Wolfgang Marquardt (Vorsitzender),
Karsten Beneke (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------

Reply via email to