EPICS Home

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: "Johnson, Andrew N." <[email protected]>
To: Hugo Slepicka <[email protected]>
Cc: "[email protected]" <[email protected]>
Date: Tue, 17 Jan 2017 03:34:01 +0000
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

Replies:
Re: Set env var for target when building Hugo Slepicka
References:
Set env var for target when building Hugo Slepicka
Re: Set env var for target when building Hugo Slepicka

Navigate by Date:
Prev: Re: Set env var for target when building Hugo Slepicka
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 
Navigate by Thread:
Prev: Re: Set env var for target when building Hugo Slepicka
Next: Re: Set env var for target when building Hugo Slepicka
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