[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70031] [PATCH v2 06/65] build-system/cmake: Add install.
From: |
Greg Hogan |
Subject: |
[bug#70031] [PATCH v2 06/65] build-system/cmake: Add install. |
Date: |
Tue, 22 Oct 2024 18:08:56 +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 d827be1806..250ef96540 100644
--- a/guix/build/cmake-build-system.scm
+++ b/guix/build/cmake-build-system.scm
@@ -112,12 +112,16 @@ (define* (check #:key (tests? #t) (parallel-tests? #t)
'("-j" "1")))))
(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.46.1
- [bug#70031] [PATCH v2 00/65] Use CMake in build-system/cmake., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 01/65] build-system/cmake: Parallelize tests using ctest., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 02/65] build-system/cmake: Add generator fields., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 03/65] build-system/qt: Add generator fields., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 08/65] build-system/qt: Add test-exclude fields., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 09/65] build-system/cmake: Add test exclusion., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 05/65] build-system/cmake: Add build., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 07/65] build-system/cmake: Add test-exclude fields., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 06/65] build-system/cmake: Add install.,
Greg Hogan <=
- [bug#70031] [PATCH v2 11/65] build-system/cmake: Include ninja., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 12/65] build-system/qt: Include ninja., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 14/65] gnu: rdma-core: Remove custom phases., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 16/65] gnu: igraph: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 19/65] gnu: kirigami: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 13/65] gnu: astroid: Remove custom phases., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 18/65] gnu: inkscape/stable: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 22/65] gnu: cpp-httplib: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 23/65] gnu: evolution-data-server: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 24/65] gnu: kservice: Disable parallel tests., Greg Hogan, 2024/10/22