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: Re: IOC build fails after removing an iocBoot dir from Git
From: Michael Davidsaver via Core-talk <core-talk at aps.anl.gov>
To: "Konrad, Martin" <konrad at frib.msu.edu>, "Johnson, Andrew N." <anj at anl.gov>
Cc: EPICS core-talk <core-talk at aps.anl.gov>
Date: Thu, 19 Mar 2020 08:29:36 -0700
On 3/19/20 7:08 AM, Konrad, Martin via Core-talk wrote:
> 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...

I think you're confusing 'clean' with 'distclean'.


>>> 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
> 


References:
IOC build fails after removing an iocBoot dir from Git Konrad, Martin via Core-talk
IOC build fails after removing an iocBoot dir from Git Konrad, Martin via Core-talk

Navigate by Date:
Prev: IOC build fails after removing an iocBoot dir from Git Konrad, Martin via Core-talk
Next: Re: IOC build fails after removing an iocBoot dir from Git Johnson, Andrew N. 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: IOC build fails after removing an iocBoot dir from Git Konrad, Martin via Core-talk
Next: Re: IOC build fails after removing an iocBoot dir from Git Johnson, Andrew N. 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 ·