Commit Graph

27 Commits

Author SHA1 Message Date
Thomas Mader
54f1b753b3 dmd: Enable tests and integrate bootstrap into one derivation
- Merge bootstrap dmd into default derivation.
- Reenable all tests by using a fixed-output derivation for phobos tests because of network checks in sandbox mode.
- Adding supported platforms.
2017-12-03 05:18:57 +01:00
Orivej Desh
74648f7466 treewide: use --set-default and --set-eval where appropriate 2017-11-17 12:28:14 +00:00
Piotr Bogdan
8904ce343a fix source root locations.
These have changed following commit
c3255fe8ec.

See also:

- https://github.com/NixOS/nixpkgs/pull/31004
- https://github.com/NixOS/nixpkgs/pull/31106
2017-11-02 13:53:36 +00:00
Thomas Mader
4535008a4c dmd: Disable check phase because some tests are not working if build has
sandboxing enabled
2017-09-17 00:15:31 +02:00
Thomas Mader
8fa1b39279 dmd: Fix bootstrap dmd to build with sandboxing of nixUnstable 2017-09-16 14:27:49 +02:00
Thomas Mader
d2fdc9cb1f dmd: Add darwin/Foundation dependency to fix build on Darwin 2017-09-16 13:16:47 +02:00
Jörg Thalheim
3b5245f0c4 dmd: remove broken flag 2017-09-15 04:35:30 -05:00
Jörg Thalheim
419869269d Merge pull request #28635 from ThomasMader/ldc
Init ldc at 1.3.0, fix bootstrap dmd build, fix dtools test, run dmd-testsuite in checkPhase and fix Foundation framework
2017-09-15 10:32:10 +01:00
Rob Vermaas
18695b5586
dmd: mark as broken
(cherry picked from commit 8d5fc1beda9716c8b8015a7a5abccb70eee21448)
2017-09-10 10:00:24 +00:00
Thomas Mader
8a2a3dad80 ldc: Init at 1.3.0 2017-09-02 08:30:17 +02:00
Thomas Mader
5a35b0707f dmd: Run dmd-testsuite in checkPhase
Remove cppa test for now because it isn't working.
2017-08-28 10:14:41 +02:00
Thomas Mader
0842a451ef dmd: Updating (2.070.2 -> 2.075.1), fixing and improving. PR #27743 2017-08-18 13:28:02 +02:00
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