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
<2022>
2023
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
<2022>
2023
2024
|