EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Question from the RTEMS corner
From: Chris Johns via Core-talk <core-talk at aps.anl.gov>
To: Michael Davidsaver <mdavidsaver at gmail.com>, "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Thu, 27 Aug 2020 14:02:24 +1000
On 27/8/20 1:49 pm, Michael Davidsaver wrote:
> On 8/26/20 8:31 PM, Johnson, Andrew N. via Core-talk wrote:
>> Hi Chris,
>>
>> On Aug 26, 2020, at 8:21 PM, Chris Johns via Core-talk <core-talk at aps.anl.gov <mailto:core-talk at aps.anl.gov>> wrote:
>>>
>>> Does the EPICS's build system support `make DESTDIR=/somewhere install`?
>>
>> No, we don’t support a separate install step; our build system is unlike most others. You can configure EPICS Base and most other modules (before you start to build them) to install outside of their source tree by setting INSTALL_LOCATION, either on the make command-line or in the configure/CONFIG_SITE file.

OK.

> With Base 7.0.4 INSTALL_LOCATION= can be combined with
> 
>> make LINKER_USE_RPATH=ORIGIN INSTALL_LOCATION=...
> 
> @Chris, if your tools complain about -rpath then use LINKER_USE_RPATH=NO
> and FINAL_LOCATION= and set $LD_LIBRARY_PATH in the environment.
> 
> FINAL_LOCATION being a rough analog of 'configure --prefix=...' in
> this context.  eg.

This is promising.

>> export LD_LIBRARY_PATH==$PWD/lib/$EPICS_HOST_ARCH
>> make LINKER_USE_RPATH=NO FINAL_LOCATION=/usr/local/epics INSTALL_LOCATION=/tmp/staging
> 
> Also maybe of interest to you:
> 
> https://github.com/mdavidsaver/epics-base/blob/spec/epics-base.spec
> 
> There is also Debian packaging.
> 
> https://github.com/epicsdeb/epics-base/blob/master/debian/rules
> 
> https://github.com/epicsdeb/epics-debhelper/blob/master/lib/Debian/Debhelper/Buildsystem/epicsmake.pm
> 

Again thanks.

Chris

References:
Question from the RTEMS corner Heinz Junkes via Core-talk
Re: Question from the RTEMS corner Ralph Lange via Core-talk
Re: Question from the RTEMS corner J. Lewis Muir via Core-talk
Re: Question from the RTEMS corner Chris Johns via Core-talk
Re: Question from the RTEMS corner Johnson, Andrew N. via Core-talk
Re: Question from the RTEMS corner Michael Davidsaver via Core-talk

Navigate by Date:
Prev: Re: Question from the RTEMS corner Michael Davidsaver via Core-talk
Next: Re: Minor issue with base 7.0.4.1 Johnson, Andrew N. via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Question from the RTEMS corner Michael Davidsaver via Core-talk
Next: Minor issue with base 7.0.4.1 Mark Rivers via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 27 Aug 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·