gnu: cmake: Build an optimized executable.
* gnu/packages/cmake.scm (cmake-bootstrap)[arguments]: Pass "-DCMAKE_BUILD_TYPE" in #:configure-flags.
This commit is contained in:
parent
8c81210ed0
commit
fa8e0a5387
|
@ -97,7 +97,11 @@ (define-public cmake-minimal
|
|||
;; to --mandir and --docdir.
|
||||
"--mandir=share/man"
|
||||
,(string-append "--docdir=share/doc/cmake-"
|
||||
(version-major+minor version))))
|
||||
(version-major+minor version))
|
||||
|
||||
;; By default CMake is built without any optimizations. Use
|
||||
;; the recommended Release target for a ~2.5x speedup.
|
||||
"--" "-DCMAKE_BUILD_TYPE=Release"))
|
||||
#:make-flags
|
||||
(let ((skipped-tests
|
||||
(list "BundleUtilities" ; This test fails on Guix.
|
||||
|
|
Loading…
Reference in a new issue