Commit graph

15 commits

Author SHA1 Message Date
Vladimír Čunát
723f23d291
dmd: fixup build with glibc-2.25 2017-02-21 18:20:06 +01:00
Johannes Bornhold
e4f30acb14 dmd: Fix build for Darwin 2016-12-25 04:58:31 +01:00
Tobias Geerinckx-Rice
a66f9b2a02
dmd: 2.067.1 -> 2.070.2
dmd 2.070.2 requires a working dmd compiler to build.

Instead of downloading a pre-compiled binary blob, keep the previous
version (which does properly build from source) around as dmd_2_067_1,
and use that to bootstrap the new version.
2016-11-06 00:44:32 +01:00
Tobias Geerinckx-Rice
c9bb753584
dmd: {b -> nativeB}uildInputs; remove unreferenced curl 2016-11-06 00:36:38 +01:00
Tobias Geerinckx-Rice
bb57eeccde
Revert "dmd: 2.067.1 -> 2.070.2"
This reverts commit 50a579f192.

Building with AUTO_BOOTSTRAP=1 will download pre-compiled dmd binaries
during the build phase: https://github.com/NixOS/nixpkgs/pull/15256#r62290617
2016-11-06 00:36:36 +01:00
Tobias Geerinckx-Rice
50a579f192
dmd: 2.067.1 -> 2.070.2 2016-11-05 18:44:11 +01:00
Johannes Bornhold
7672c68ed7 dmd: Avoid depending on gcc for the darwin build (close #11949)
Adding stdenv.cc into the PATH, also setting CC, so that on Darwin
clang will be used by default. Still allowing to use an existing value
of CC if it is set already.

Replacing __inline_isnanl with __inline_isnan on darwin since the former
one was not defined.
2016-01-06 15:06:53 +01:00
Thomas Mader
ef17efa99b dmd: add gcc runtime dependency because dmd uses the linker of gcc on linux.
From #11327.
2015-12-03 16:32:27 +01:00
Johannes Bornhold
ee799e05bf dmd: Disable unsupported linker flags if stdenv.isClang
Close #9692.
Was able to build dmd on darwin, but it could not be used due to those flags.
2015-09-17 21:19:47 +02:00
Johannes Bornhold
2e658c1c63 dmd: Update version to 2.067.1 2015-05-02 11:20:45 +02:00
Johannes Bornhold
2bc69990cc dmd: Tweaks so that it compiles on darwin
- Patching the makefile so use "clang++" as compiler. This was commented out
  inside of the makefile.

- Fix the path to copy libphobos from.
2015-05-02 11:05:43 +02:00
Charles Cooper
163d6a13ee dmd update to 2.067.0 2015-04-14 09:30:35 -07:00
Vladimír Čunát
961ed7c8b4 dmd: fix 32-bit build and some nitpicks
CC #4976.
2014-11-14 14:12:32 +01:00
BlackEdder
fbd2330aff dmd: update to 2.066.1 2014-11-13 14:57:58 +00:00
Vladimir Still
b78871efa6 dmd: Add (D language compiler). 2014-01-11 19:08:40 +01:00