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  2017  2018  <20192020  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  2017  2018  <20192020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: How to pick up value of environment variable in /configure/RELEASE?
From: Davide Marcato via Tech-talk <[email protected]>
To: Jeong Han Lee <[email protected]>, [email protected]
Date: Wed, 16 Jan 2019 16:32:02 +0100
Hi,
with "epicsmng configureioc" you can do something similar: it automatically modifies configure/RELEASE to use a different collection of modules.

See: https://github.com/darcato/epicsmng

Davide

On 16/01/19 9:06 AM, Jeong Han Lee via Tech-talk wrote:
Hi Mike,

    Do you have to keep /my_epics_location environment variable?

    If not, why not simple change EPICS_BASE?

    The following example may help you to find out solutions in your
situation :

https://github.com/jeonghanlee/epics_builder/blob/master/tools/setEpicsEnv.bash

    HTH,
    Han

On 1/16/19 2:57 AM, Michael Westfall via Tech-talk wrote:
For example, if I currently have:
EPICS_BASE=/my_epics_location/epics/R3.14.12.7/base

but I want to be able to change the location of /my_epics_locationon the
fly  (perhaps because I want to use a different version of EPIS) by
setting an environment variable $MY_EPICS_LOCATION,

then how would I pick up the environment variable value in
configure/RELEASE?

I feel like I should know this, but I guess I haven't ever had reason to
do it before.
--
Mike Westfall
Control Systems Software Engineer



--
Davide Marcato
INFN - Laboratori Nazionali di Legnaro
Viale dell'Universita', 2
35020 Legnaro (PD) - ITALY
Phone: +39 0498068439
Mail: [email protected]


References:
How to pick up value of environment variable in /configure/RELEASE? Michael Westfall via Tech-talk
Re: How to pick up value of environment variable in /configure/RELEASE? Jeong Han Lee via Tech-talk

Navigate by Date:
Prev: Please use a relevent subject line Géraldine BOUCHER via Tech-talk
Next: Re: Please use a relevent subject line bob dalesio via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: How to pick up value of environment variable in /configure/RELEASE? Jeong Han Lee via Tech-talk
Next: Re: How to pick up value of environment variable in /configure/RELEASE? Johnson, Andrew N. via Tech-talk
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  <20192020  2021  2022  2023  2024 
ANJ, 16 Jan 2019 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·