From: Erik Garrison <erik.garrison@gmail.com>
To: help-guix@gnu.org
Subject: pulling cmake ExternalProject during guix builds
Date: Tue, 7 Jan 2020 00:11:44 +0100 [thread overview]
Message-ID: <CALykB6=S05T0t73yFxu1YSiduE7Sd=RkaNRCkzaNM91Jbr=tsA@mail.gmail.com> (raw)
Hi help-guix,
Apologies for the spam, but I'm new here and not sure if IRC or the mailing
list is a better channel to use for help. In any case, this will be
searchable later.
I'm using cmake's ExternalProject_Add functionality to manage project
dependencies, but this is not usable with guix's build containerization
system. I get "Could not resolve host: ..." when cmake invokes git to try
to clone the repositories.
Can network access be provided to the build container? Or, is there perhaps
another low-effort workaround in guix?
As far as I understand, the only reasonable alternative to add the
dependencies as submodules in the main repo? This will still work with the
ExternalProject_Add pattern, but it adds an extra point of configuration,
and users will need to use a recursive git clone, which is sometimes
confusing.
Thanks in advance for the clarification,
Erik
next reply other threads:[~2020-01-06 23:12 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-01-06 23:11 Erik Garrison [this message]
2020-01-07 0:48 ` pulling cmake ExternalProject during guix builds John Soo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CALykB6=S05T0t73yFxu1YSiduE7Sd=RkaNRCkzaNM91Jbr=tsA@mail.gmail.com' \
--to=erik.garrison@gmail.com \
--cc=help-guix@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).