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 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 2017 2018 2019 <2020> 2021 2022 2023 2024 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: How to build MEDM (Jetson nano) |
From: | "Johnson, Andrew N. via Tech-talk" <tech-talk at aps.anl.gov> |
To: | Hinko Kocevar <Hinko.Kocevar at ess.eu> |
Cc: | 신동호 <dhshin at etri.re.kr>, EPICS tech-talk <tech-talk at aps.anl.gov> |
Date: | Tue, 22 Sep 2020 17:28:45 +0000 |
On Sep 22, 2020, at 11:53 AM, Hinko Kocevar <Hinko.Kocevar at ess.eu> wrote:
EPICS can be configured to not build in library paths, or now to only build in relative paths (using the $ORIGIN feature available in some linkers).
The arch itself might not matter too much, I would hope that the native build-time paths would be the same for the same distro as long as both CPUs are 64-bit, so the paths for Ubuntu on x86_64 would be the same on aarch-64. Maybe we can just create a
CONFIG_SITE.linux-aarch64.linux-aarch64 file for Dong Ho to try based on that assumption and see if it works. I’m reluctant to do it myself though since the x86_64 file includes the x86 file which has all sorts of extraneous and inappropriate paths in it so
it would be better to manually combine the two into one file and throw out all the extra stuff, and I don’t have time to work on that.
Longer-term I’d like us to get away from the extensions build structure completely and have each GUI program build stand-alone just like any other IOC module. Configuring all the build paths to the X11 and Motif headers for multiple programs could be done
in a common module that exports suitable cfg/CONFIG* files, and sites that want to install these programs into a common bin/<host-arch> directory can do that by just setting INSTALL_LOCATION in the module’s CONFIG_SITE file.
Thanks,
- Andrew
--
Complexity comes for free, simplicity you have to work for.
|