gnu: cmake: Build an optimized executable.
* gnu/packages/cmake.scm (cmake-bootstrap)[arguments]: Pass "-DCMAKE_BUILD_TYPE" in #:configure-flags.master
parent
8c81210ed0
commit
fa8e0a5387
|
@ -97,7 +97,11 @@
|
||||||
;; to --mandir and --docdir.
|
;; to --mandir and --docdir.
|
||||||
"--mandir=share/man"
|
"--mandir=share/man"
|
||||||
,(string-append "--docdir=share/doc/cmake-"
|
,(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
|
#:make-flags
|
||||||
(let ((skipped-tests
|
(let ((skipped-tests
|
||||||
(list "BundleUtilities" ; This test fails on Guix.
|
(list "BundleUtilities" ; This test fails on Guix.
|
||||||
|
|
Reference in New Issue