unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Roel Janssen <roel@gnu.org>
To: Pjotr Prins <pjotr.public12@thebird.nl>
Cc: guix-devel@gnu.org
Subject: Re: Circular dependency with LDC and Phobos
Date: Fri, 25 Dec 2015 18:06:22 +0100	[thread overview]
Message-ID: <871taapiep.fsf@gnu.org> (raw)
In-Reply-To: <20151225165150.GA27096@thebird.nl>


Pjotr Prins writes:

> 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

I think this specific case can be easily solved by the LDC developers by
providing proper tarballs with the *complete* source code to build LDC.

  reply	other threads:[~2015-12-25 17:05 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-25 16:51 Circular dependency with LDC and Phobos Pjotr Prins
2015-12-25 17:06 ` Roel Janssen [this message]
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=871taapiep.fsf@gnu.org \
    --to=roel@gnu.org \
    --cc=guix-devel@gnu.org \
    --cc=pjotr.public12@thebird.nl \
    /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).