[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70031] [core-updates PATCH 04/19] build-system/cmake: Add install.
From: |
Greg Hogan |
Subject: |
[bug#70031] [core-updates PATCH 04/19] build-system/cmake: Add install. |
Date: |
Wed, 27 Mar 2024 14:52:29 +0000 |
* guix/build/cmake-build-system.scm (build): New function to replace
make install with the cmake install command.
---
guix/build/cmake-build-system.scm | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/guix/build/cmake-build-system.scm
b/guix/build/cmake-build-system.scm
index 8f1c80aeb64..c3e095425f9 100644
--- a/guix/build/cmake-build-system.scm
+++ b/guix/build/cmake-build-system.scm
@@ -109,12 +109,16 @@ (define* (check #:key (tests? #t) (parallel-tests? #t)
'()))))
(format #t "test suite not run~%")))
+(define* (install #:rest args)
+ (invoke "cmake" "--install" "."))
+
(define %standard-phases
(modify-phases gnu:%standard-phases
(delete 'bootstrap)
(replace 'build build)
(replace 'check check)
- (replace 'configure configure)))
+ (replace 'configure configure)
+ (replace 'install install)))
(define* (cmake-build #:key inputs (phases %standard-phases)
#:allow-other-keys #:rest args)
--
2.44.0
- [bug#70031] [core-updates PATCH 00/19] Use CMake in build-system/cmake., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 03/19] build-system/cmake: Add build., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 01/19] build-system/cmake: Parallelize tests using ctest., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 04/19] build-system/cmake: Add install.,
Greg Hogan <=
- [bug#70031] [core-updates PATCH 05/19] gnu: libmedfile: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 07/19] gnu: fish: Fix tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 09/19] gnu: igraph: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 02/19] build-system/cmake: Parameterize build system generator., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 06/19] gnu: srt: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 10/19] gnu: inkscape: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 11/19] gnu: vigra: Move test target to check phase., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 15/19] gnu: websocketpp: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 12/19] gnu: cpp-httplib: Disable parallel tests., Greg Hogan, 2024/03/27
- [bug#70031] [core-updates PATCH 14/19] gnu: astroid: Remove custom phases., Greg Hogan, 2024/03/27