EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024  Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: IOC build fails after removing an iocBoot dir from Git
From: "Konrad, Martin via Core-talk" <core-talk at aps.anl.gov>
To: "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Thu, 19 Mar 2020 14:08:52 +0000
Hi Andrew,
> Wouldn’t it be easier to just do a ‘make -C iocBoot clean’ before you
> do the ‘git pull’?
I'm a bit reluctant to run make clean if not needed since this wipes out
files in the $(TOP)/bin $(TOP)/db and $(TOP)/lib folders. What if the
build fails and my IOC crashes before the IOC engineer has resolved the
problem? I have to admit that this is kind of a weak argument but just
running "make" seems to be the safest approach until we can transition
to containers...

>> DIRS := $(subst /Makefile,,$(wildcard $(addsuffix /Makefile,
>> $(DIRS))))
> 
> The result will not descend into a directory that doesn’t have a 
> Makefile. I wouldn’t want to add that to Base though, some people
> use GNU’s alternative names for their Makefiles.
Hmm, I see. I have made this adjustment to my IOC repos that have
multiple instances. Seems to work reliably.

Thanks a lot!

Martin

-- 
Martin Konrad
Facility for Rare Isotope Beams
Michigan State University
640 South Shaw Lane
East Lansing, MI 48824-1321, USA
Tel. 517-908-7253
Email: konrad at frib.msu.edu

Replies:
Re: IOC build fails after removing an iocBoot dir from Git Michael Davidsaver via Core-talk
Re: IOC build fails after removing an iocBoot dir from Git Johnson, Andrew N. via Core-talk
References:
IOC build fails after removing an iocBoot dir from Git Konrad, Martin via Core-talk

Navigate by Date:
Prev: Re: write to a single element of an array field Ben Franksen via Core-talk
Next: Re: IOC build fails after removing an iocBoot dir from Git Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: IOC build fails after removing an iocBoot dir from Git Johnson, Andrew N. via Core-talk
Next: Re: IOC build fails after removing an iocBoot dir from Git Michael Davidsaver via Core-talk
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  2018  2019  <20202021  2022  2023  2024 
ANJ, 19 Mar 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·