Hi,

 you can use any of  the configopts, prebuildopts or similar  EB variables to 
set env variables you need

Eg.

buildopts = 'CXXFLAGS="$CXXFLAGS -DMPICH_IGNORE_CXX_SEEK"'

There are a lot of ready for use configs that you could just grep under your EB 
installation 
~/lib/python2.6/site-packages/easybuild_easyconfigs-2.8.0-py2.6.egg/easybuild/easyconfigs

Cheers,
Gizo

On Friday, June 24, 2016 15:34 CEST, Andreas Hilboll <[email protected]> 
wrote:

> Hi,
>
> I'm trying to create an easyconfig for UDUNITS1 (I know, old and
> deprecated, but still needed unfortunately), and am running into the
> problem that I need to pass some environment variables to the build
> environment (i.e., set CPPFLAGS to a custom value).  I'm sure this is
> possible somehow, but I couldn't find any reference to this in
> http://easybuild.readthedocs.io/en/latest/eb_a.html.  Any pointers would
> be greatly appreciated ...
>
> Cheers,
>   Andreas.
>
> --
> Dr. Andreas Hilboll
>
> Center for Marine Environmental Sciences (MARUM)
>                     - AND -
>     Institute of Environmental Physics (IUP)
>
> University of Bremen
>
> NW1 / S3132
> Otto-Hahn-Allee 1
> D-28359 Bremen
> Germany
>
> +49(0)421 218 62133  (phone)
> +49(0)421 218 98 62133 (fax)
> http://www.iup.uni-bremen.de/~hilboll



--

--
Dr. Gizo Nanava
Leibniz Universitaet IT Services
Leibniz Universitaet Hannover
Schlosswender Str. 5
D-30159 Hannover
Tel +49 511 762 7919085
http://www.luis.uni-hannover.de


Reply via email to