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 Index 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
<== Date ==> <== Thread ==>

Subject: Re: EPICS Base module split / bundle build (EPICS 7 prep) ready to test
From: Ralph Lange <ralph.lange@gmx.de>
To: EPICS Core Talk <core-talk@aps.anl.gov>
Date: Fri, 4 Aug 2017 09:53:06 +0200
On Thu, Aug 3, 2017 at 11:03 PM, Johnson, Andrew N. <anj@aps.anl.gov> wrote:
If you get errors from the git clone --recursive command about checking out the submodules it might be that your version of git is too old; I found that git 1.9.x was too old, 2.5.0 was OK (reports from versions between those two will be useful in narrowing down what the minimum version is that works).

Sorry about that.
You are right: depending on your Git version, cloning might need to be done differently. I don't know why exactly your 1.9.x version was failing. From what I found on the web, it should be able to do that recursive clone operation.

With version 1.9 of Git and later, you can even download the submodules in parallel. Speed-up depends on many factors, though. (For me, it reduces the cloning time from 10m25s to 5m20s.)
git clone --recursive -j8 https://github.com/ralphlange/epics-base.git -b core/master bundle
cd bundle
make
The command from my original mail is supposed to work with version 1.6.5 or later:
git clone --recursive https://github.com/ralphlange/epics-base.git -b core/master bundle
cd bundle
make
For already cloned repos or older versions of Git, use something along the lines of:
git clone https://github.com/ralphlange/epics-base.git -b core/master bundle
cd bundle
git submodule update --init
make
Cheers,
~Ralph

 

References:
EPICS Base module split / bundle build (EPICS 7 prep) ready to test Ralph Lange
Re: EPICS Base module split / bundle build (EPICS 7 prep) ready to test Johnson, Andrew N.

Navigate by Date:
Prev: Re: EPICS Base module split / bundle build (EPICS 7 prep) ready to test Hartman, Steven M.
Next: epicsStackTrace on WIN32 freddie.akeroyd
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
Navigate by Thread:
Prev: Re: EPICS Base module split / bundle build (EPICS 7 prep) ready to test Johnson, Andrew N.
Next: Re: EPICS Base module split / bundle build (EPICS 7 prep) ready to test Hartman, Steven M.
Index: 2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <2017
ANJ, 08 Aug 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·