gnu: ldc: Use default test check.
* gnu/packages/dlang.scm (ldc)[arguments]: Strip the inherited tests configuration from ldc-bootstrap rather than setting it to #true.master
parent
4f7a0695ca
commit
2bad43d1c2
|
@ -217,7 +217,8 @@ bootstrapping more recent compilers written in D.")
|
||||||
(package
|
(package
|
||||||
(inherit ldc-bootstrap)
|
(inherit ldc-bootstrap)
|
||||||
(arguments
|
(arguments
|
||||||
(substitute-keyword-arguments (package-arguments ldc-bootstrap)
|
(substitute-keyword-arguments
|
||||||
|
(strip-keyword-arguments '(#:tests?) (package-arguments ldc-bootstrap))
|
||||||
((#:make-flags _ #f)
|
((#:make-flags _ #f)
|
||||||
'(list "all"
|
'(list "all"
|
||||||
;; Also build the test runner binaries.
|
;; Also build the test runner binaries.
|
||||||
|
@ -226,7 +227,6 @@ bootstrapping more recent compilers written in D.")
|
||||||
`(,@flags "-DBUILD_SHARED_LIBS=ON"
|
`(,@flags "-DBUILD_SHARED_LIBS=ON"
|
||||||
"-DLDC_LINK_MANUALLY=OFF"
|
"-DLDC_LINK_MANUALLY=OFF"
|
||||||
"-DLDC_DYNAMIC_COMPILE=OFF"))
|
"-DLDC_DYNAMIC_COMPILE=OFF"))
|
||||||
((#:tests? _) #t)
|
|
||||||
((#:phases phases)
|
((#:phases phases)
|
||||||
`(modify-phases ,phases
|
`(modify-phases ,phases
|
||||||
(add-after 'unpack 'fix-compiler-rt-library-discovery
|
(add-after 'unpack 'fix-compiler-rt-library-discovery
|
||||||
|
|
Reference in New Issue