me
/
guix
Archived
1
0
Fork 0

gnu: cmake: Build an optimized executable.

* gnu/packages/cmake.scm (cmake-bootstrap)[arguments]: Pass
"-DCMAKE_BUILD_TYPE" in #:configure-flags.
master
Marius Bakke 2020-01-25 12:50:57 +01:00
parent 8c81210ed0
commit fa8e0a5387
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 5 additions and 1 deletions

View File

@ -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.