www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Copr repository providing dmd and dub for Fedora, EPEL and Mageia

reply Laurent =?UTF-8?B?VHLDqWd1aWVy?= <laurent.treguier.sink gmail.com> writes:
Hello D people! (and especially, for this thread, RPM-based Linux 
users)

As dmd 2.082.0 is coming very soon, I thought I'd share this here.
I've been using Fedora for quite a while now, and have made a 
Copr repository to have some tools I didn't find in official 
Fedora repositories [1].
It contains a few development related packages, among which dmd, 
phobos and dub at their latest stable version.
The repo is used just like any other Copr repo:

 sudo dnf copr enable tcg/devel
 sudo dnf install dmd dub
Since Copr also allows building packages for EPEL and Mageia, I'm launching builds for them as well. [1] https://copr.fedorainfracloud.org/coprs/tcg/devel/
Aug 31 2018
parent reply Martin Nowak <code dawg.eu> writes:
On Friday, 31 August 2018 at 18:44:23 UTC, Laurent Tréguier wrote:
 The repo is used just like any other Copr repo:

 sudo dnf copr enable tcg/devel
 sudo dnf install dmd dub
Since Copr also allows building packages for EPEL and Mageia, I'm launching builds for them as well. [1] https://copr.fedorainfracloud.org/coprs/tcg/devel/
Nice one. I see that you're using ldc as bootstrap/host compiler. While that will result in faster binaries (in particular useful for dmd), the official binaries releases are still built with dmd for now. Just worth noting as it might lead to specific bugs not present in the official binaries.
Aug 31 2018
parent reply Laurent =?UTF-8?B?VHLDqWd1aWVy?= <laurent.treguier.sink gmail.com> writes:
On Friday, 31 August 2018 at 19:41:59 UTC, Martin Nowak wrote:
 Nice one.

 I see that you're using ldc as bootstrap/host compiler. While 
 that will result in faster binaries (in particular useful for 
 dmd), the official binaries releases are still built with dmd 
 for now. Just worth noting as it might lead to specific bugs 
 not present in the official binaries.
I actually used dmd until very recently, and still use dmd on Mageia and EPEL. I switched to ldc because of weird linker errors on Fedora 29, but since it's still in development I have no idea if this is the problem comes from dmd or Fedora. I might go back to using dmd if it turns out to work again.
Aug 31 2018
parent Martin Nowak <code+news.digitalmars dawg.eu> writes:
On 08/31/2018 09:49 PM, Laurent Tréguier wrote:
 I actually used dmd until very recently, and still use dmd on Mageia and
 EPEL. I switched to ldc because of weird linker errors on Fedora 29, but
 since it's still in development I have no idea if this is the problem
 comes from dmd or Fedora.
 I might go back to using dmd if it turns out to work again.
We definitely want to switch the official dmd binaries to ldc or gdc at some point as well. Would be great to do a somewhat concerted switch with all the external packagers.
Sep 02 2018