I don't think its so simple, how would you do this for fftw where there are so 
many different linking options depending on what you want to do?

For X11 libs in particular, you don't need to handle it, this is why pkg-config 
exists (and the pkg-config paths are already baked into EB).

On 25 Oct 2016 8:23 p.m., "Jack Perdue" 
<[email protected]<mailto:[email protected]>> wrote:
On 10/24/2016 11:42 AM, Kenneth Hoste wrote:


On 23/10/16 11:59, Pablo Escobar Lopez wrote:
wouldn't make sense if compiler modules provide $CC $CXX and Co. by default?

It would make sense in certain cases, but not in others...

This should really be up to the site to decide on this.
Question is what EasyBuild v3.0 should do by default: should the toolchain 
module define $CC, $CFLAGS & co or not?

Oh yes, and someone should modify the Toolchain easyblock to include this 
information in the generated module file. ;-)


I'd really like to think beyond just toolchains.

The new X11 bundle is a good example.

We already have EBROOTX11.  Can we have
EB_X11_INCLUDEDIRS, EB_X11_LIBDIRS and
EB_X11_LIBS without stepping on any toes?

The INCLUDEDIRS (-I) is usually easy (though not always,
e.g. old versions of SparseSuite).

The LIBDIRS (-L) is always questionable as to the number and or
whether they have '64' in the name.

Is there a reason we shouldn't have EB enumerate the 71 libraries
in X11/20160819-intel-2016a/lib (with '-l' so I can drop right into a Makefile)?
EB_X11_LIBS with that would be wonderful (or so I am imagining).

Personally, I'd see all this done via easyconfigs (vs. easyblocks).
I don't see a clear way (short of a new "modextravars" mechanism)
to enable/disable per-site.  But I think keeping the ability to update
those things by installers would be better without customizing Python.

X11 is just one example... there are a load of others.  But providing
users an easy way to build programs using EB built modules is a big
bonus.


jack



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
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