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