From: Pjotr Prins <pjotr.public12@thebird.nl>
To: guix-devel@gnu.org
Subject: Circular dependency with LDC and Phobos
Date: Fri, 25 Dec 2015 17:51:50 +0100 [thread overview]
Message-ID: <20151225165150.GA27096@thebird.nl> (raw)
We are trying to build the LLVM D-compiler (ldc). The problem is a
circular dependency on a D-library (Phobos). The D-compiler source
won't compile without the Phobos sources which are in a separate
repository. Normally it is handled by git --recurse, but I think it
would be better to download the tar balls of the releases (I think git
recurse submodules is not working in Guix anyway, last time I tried).
How best to deal with this? Should I write a package which unpacks
Phobos tarball and make the source available to ldc? ldc won't build
without Phobos and Phobos won't build without ldc.
From the source:
LDC currently needs custom forks of druntime and Phobos. They are
integrated with the main repository using Git submodules. To build
them, make sure you have up-to-date copies of the submodules in your
local repository:
$ git submodule update -i
next reply other threads:[~2015-12-25 16:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-25 16:51 Pjotr Prins [this message]
2015-12-25 17:06 ` Circular dependency with LDC and Phobos Roel Janssen
2015-12-25 18:19 ` Pjotr Prins
2015-12-25 21:18 ` Ricardo Wurmus
2015-12-26 5:04 ` Pjotr Prins
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=20151225165150.GA27096@thebird.nl \
--to=pjotr.public12@thebird.nl \
--cc=guix-devel@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).