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  2019  2020  2021  2022  <20232024  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  <20232024 
<== Date ==> <== Thread ==>

Subject: Re: EPICS 3.15.9 build system weird behaviour upon missing g++
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: tech-talk at aps.anl.gov
Date: Mon, 1 May 2023 09:30:43 -0500
Hi Dmitry,

On 4/30/23 12:51 AM, Dmitry Yu. Bolkhovityanov via Tech-talk wrote:
Well, that's an elegant albeit a rather non-obvoius implementation.

It's a pity this isn't described somewhere in documentation.  Computed variable names, while giving much flexibility, are extremely tricky and turn Makefiles into difficult to study, plus "double-indirect" references entangle things even more (you can't find anything until you know exactly what to find).

Actually there is documentation for some aspects of the build system. The Build Facility chapter of the EPICS Application Developers guide isn't perfectly up to date (even to the 3.15.9 release you're using) but it does cover most of the features that are intended to be available to Makefile authors. Unfortunately the architect and author of much of the code retired quite a few years ago and wasn't able to complete an update of that document before she left, but there are things in that document which show why we use computed variable names (it just wouldn't be possible to provide the flexibility it gives us without using that mechanism or using an external preprocessor like CMake).

- Andrew
-- 
Complexity is free, it's Simplicity that takes work.

References:
EPICS 3.15.9 build system weird behaviour upon missing g++ Dmitry Yu. Bolkhovityanov via Tech-talk
Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Johnson, Andrew N. via Tech-talk
Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Dmitry Yu. Bolkhovityanov via Tech-talk
Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Andrew Johnson via Tech-talk
Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Dmitry Yu. Bolkhovityanov via Tech-talk
Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Dmitry Yu. Bolkhovityanov via Tech-talk

Navigate by Date:
Prev: Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Dmitry Yu. Bolkhovityanov via Tech-talk
Next: Questions about Function: epicsEventWaitWithTimeout (id, timeout) 김대영 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  2019  2020  2021  2022  <20232024 
Navigate by Thread:
Prev: Re: EPICS 3.15.9 build system weird behaviour upon missing g++ Dmitry Yu. Bolkhovityanov via Tech-talk
Next: Could not use autosave with motorOmsAsyn whitetiger1123 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  2019  2020  2021  2022  <20232024 
ANJ, 02 May 2023 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·