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: EPICS build system DESTDIR support
From: "J. Lewis Muir" <[email protected]>
To: Andrew Johnson <[email protected]>
Cc: [email protected]
Date: Wed, 5 Jul 2017 10:36:17 -0500
On 06/20, J. Lewis Muir wrote:
> On 10/05, Andrew Johnson wrote:
> > Hi Lewis,
> > 
> > On 10/05/2016 12:53 PM, J. Lewis Muir wrote:
> > > What would it take to get DESTDIR support added to the EPICS build
> > > system?  I haven't looked, but I would think doing it for Linux and
> > > macOS would not be too hard, but I don't know about Windows or other
> > > platforms.  And then there's cross-compiling, which is probably tricky,
> > > and for which I'd be interested in VxWorks.
> > > 
> > > There was a thread about this two years ago at [1].
> > 
> > > [1] http://www.aps.anl.gov/epics/tech-talk/2014/msg01500.php
> > 
> > The main complication with doing something like this is that the act of
> > building Base involves running programs that were compiled earlier in
> > the same build. Those programs need to be able to find shared libraries
> > that have also only just been built, and the way we implemented that on
> > Unix-like systems was to use the linker's RPATH.
> 
> Hi, Andrew!
> 
> (Sorry to be revisiting this old thread.)
> 
> Hmm, yes, that's an issue, then.
> 
> What would you think about a restructured build that builds a bootstrap
> version first and then uses the bootstrap version to build a final
> version after that?  In other words, the bootstrap version would be
> built and installed to a temporary build directory.  Then you use the
> bootstrap version to build the final version which gets installed under
> the DESTDIR location.  This way it doesn't use the version of itself
> that it's currently building.  The bootstrap could be a full build,
> but ideally it would be a minimal build (i.e., just enough for the
> bootstrap).  This feels like a more traditional bootstrapping scheme to
> me, and I think it would solve the problem you described above.

Ping?

Lewis

References:
Re: EPICS build system DESTDIR support J. Lewis Muir

Navigate by Date:
Prev: Re: help - writing a table column from OPI BOY to PV Michael Davidsaver
Next: Re: help - writing a table column from OPI BOY to PV Kasemir, Kay
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: EPICS build system DESTDIR support J. Lewis Muir
Next: Re: EPICS build system DESTDIR support Andrew Johnson
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