FoX SubModule and GitHub release tarballs

27 views
Skip to first unread message

Adam Nelson

unread,
Jul 13, 2014, 3:35:12 PM7/13/14
to openm...@googlegroups.com
Hey all,

So for my OpenMC Arch package I have been downloading the tarball from GitHub (https://github.com/mit-crpg/openmc/archive/v0.6.0.tar.gz) in the build script as opposed to using git. I was just updating the package for version 0.6.0 and discovered that all the pieces are not put in place in the tarball so that the FoX submodule can be initialized.
Here is the relevant cmake output when building from this tarball.

-- Initializing/Updating FoX XML submodule...
CMake Error at CMakeLists.txt:230 (add_subdirectory):
  The source directory

    /home/nelsonag/git/pkgbuilds/openmc/src/openmc-0.6.0/src/xml/fox

  does not contain a CMakeLists.txt file.

Now, I am pretty sure that GitHub puts this tarball together for us and we have no say in the matter, is that right? Is there a way to fix it? If not, can we disable the download link feature (underneath the git clone address on the GH webpage, probably elsewhere too).

I should add that this is not a big deal for me (I can just use git in the build script) and our user documentation does not instruct people to obtain the source via this route. So this message has no urgency at all but there is a chance for confusion if any users have been using this path.

Thanks!
Adam



Paul Romano

unread,
Jul 15, 2014, 11:15:03 PM7/15/14
to Adam Nelson, openm...@googlegroups.com
As far as I know, there is no remedy to GitHub not including submodules in the archives it produces. Furthermore, it doesn't look like there is any way to disable the download link. Perhaps we need to add some more magic to our CMakeLists.txt to try to check out the fox repository if it doesn't exist.

Paul
Reply all
Reply to author
Forward
0 new messages