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