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  <20222023  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  <20222023  2024 
<== Date ==> <== Thread ==>

Subject: Re: compile EPICS without examples and tests
From: Andrew Johnson via Tech-talk <tech-talk at aps.anl.gov>
To: William Kirstaedter <kirstaedter at fhi-berlin.mpg.de>, "tech-talk at aps.anl.gov Talk" <tech-talk at aps.anl.gov>
Date: Wed, 8 Jun 2022 12:35:41 -0500
Hi,

On 6/8/22 12:07 PM, William Kirstaedter via Tech-talk wrote:
is that possible?

it would reduce the compile time on raspberry pis quite a lot, I think.


There is no mechanism available to do that in the EPICS build system at the moment, but it might not be too hard to add if that's a project which interests you and you have an understand of GNU Makefiles (or you can persuade someone else to work on it who does).

I would start by adding a switch to configure/CONFIG_SITE which prevents the $(TESTPRODTARGETS)  and $(TESTSCRIPTS) variables being expanded as dependencies of the build: rule in configure/RULES_BUILD, and also excluding the $(TESTLIBNAME), $(TESTSHRLIBNAME) and $(TESTDLLSTUB_LIBNAME) from being added to LIBTARGETS a few lines above that. That switch should also prevent RUNTESTS_ENABLED from being set a few lines above that. There should be no need to disable most of the other settings that use variable names beginning with or containing the word TEST, but there might be some other things that need doing for it to work properly.

Let me know if you do plan/start to work on this, I'm responsible for the build system and should be able to help with specific problems that could arise.

- Andrew

--
Complexity comes for free, Simplicity you have to work for.


Replies:
Re: compile EPICS without examples and tests Michael Davidsaver via Tech-talk
References:
compile EPICS without examples and tests William Kirstaedter via Tech-talk

Navigate by Date:
Prev: compile EPICS without examples and tests William Kirstaedter via Tech-talk
Next: ADEiger and simulated EIGER detector John Dobbins 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  <20222023  2024 
Navigate by Thread:
Prev: compile EPICS without examples and tests William Kirstaedter via Tech-talk
Next: Re: compile EPICS without examples and tests Michael Davidsaver 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  <20222023  2024 
ANJ, 14 Sep 2022 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·