Thanks, Gizo, that helped =)

nan...@luis.uni-hannover.de writes:

> 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 <hilb...@uni-bremen.de> 
> 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. 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

Reply via email to