I think what Martin suggests is closest to the "EasyBuild way" The problem is that one of the desirable features of EB is reproducible builds and secondarily, installing offline.
In order to do what you want to do you could override the fetch_step in a custom easyblock to go off and grab the source that way. Ideally you'd tarball that result and stash it in the sources tree so subsequent installs wouldn't need to go and do that (but you'd need to do a file check to skip that part of your custom method. I have a general idea how to do this, but not enough time to get a working version up as a demo. Sorry I missed you on IRC. I'm online now (and generally during eastern timezone times) if you want to chat On Mon, Jul 20, 2015 at 7:37 AM Martin <[email protected]> wrote: > Hi, > > I have this: > > https://gist.github.com/serverhorror/694ee48785f04c9fcc9b > > Basically just a manual download of whatever is there. I was too lazy to > actually put together all the deps and create proper separated builds. > > I think it's too bad that EB doesn't accept git/svn/hg for source URIs -- > or I may have not looked hard enough how easy it is to hook into the > download part of EB to make that possible. :) > > /Martin > > On Mon, Jul 20, 2015 at 12:53 PM Jordi Blasco <[email protected]> wrote: > >> Good morning, >> >> I’m trying to install vcflib (https://github.com/ekg/vcflib) which >> contains multiple git submodules. >> >> In order to download the complete repo I do need to add the --recursive >> option : >> >> git clone --recursive https://github.com/ekg/vcflib.git >> >> I have tried to execute "git submodule update --init --recursive" as a >> prebuildopts, but it didn't work. >> >> Do you know any workaround for this? >> >> Thanks! >> >> Jordi >> > -- > -- > http://www.xing.com/profile/Martin_Marcher > http://www.linkedin.com/in/martinmarcher > Mobil: +43 / 660 / 62 45 103 > UID: ATU68801424 >

