EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Set env var for target when building
From: Hugo Slepicka <[email protected]>
To: "Johnson, Andrew N." <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 17 Jan 2017 16:42:52 +0000
Hi Andrew,

Thank you for your answer!
I will adjust my CONFIG file to use export.

Cheers,
Hugo

On Mon, Jan 16, 2017 at 7:34 PM Johnson, Andrew N. <[email protected]> wrote:
Hi Hugo,

You can put export statements in those same CONFIG_SITE.Common.<arch> files, they only get executed when compiling for that specific architecture, i.e.
    export VAR = value
which sets VAR in the environment for all commands executed in the O.<arch> directories but won't affect any other architectures.

HTH,

- Andrew

-- 
Sent from my iPad

On Jan 16, 2017, at 6:59 PM, Hugo Slepicka <[email protected]> wrote:

For now what I am doing is hijacking the GNU_DIR variable in my <>/configure/os/CONFIG_SITE.Common.<target> in order to add the environment variable before the compiler.
Ugly but it is working so far.

On Mon, Jan 16, 2017 at 4:52 PM Hugo Slepicka <[email protected]> wrote:
Hi All,

I would like to set an environment variable to customize or disable CCACHE when building for a specific set of targets.

Where would be the correct place to do that?

Thank you,
Hugo

References:
Set env var for target when building Hugo Slepicka
Re: Set env var for target when building Hugo Slepicka
Re: Set env var for target when building Johnson, Andrew N.

Navigate by Date:
Prev: RE: Knowing if a server application is running Mark Rivers
Next: Re: Knowing if a server application is running Ralph Lange
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Set env var for target when building Johnson, Andrew N.
Next: Re: Looking for someone to help building the control system of XAFS/XRF beamline at SESAME Mark Clift
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 21 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·