guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: cglm: Use meson-build-system.


From: guix-commits
Subject: 02/02: gnu: cglm: Use meson-build-system.
Date: Sun, 19 Dec 2021 15:54:49 -0500 (EST)

lilyp pushed a commit to branch master
in repository guix.

commit 78bfbfb5a760719f6a36111bedb6c537661d3da3
Author: Liliana Marie Prikler <liliana.prikler@gmail.com>
AuthorDate: Sun Dec 19 21:42:34 2021 +0100

    gnu: cglm: Use meson-build-system.
    
    The CMake-based builds fail to correctly encode the version, leading to 
build
    failures in dependencies.  See <https://bugs.gnu.org/52663>.
    
    * gnu/packages/maths.scm (cglm)[build-system]: Change to meson-build-system.
    [arguments]: Adjust #:configure-flags accordingly.
---
 gnu/packages/maths.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 59145c8..c35e7cd 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -79,6 +79,7 @@
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system glib-or-gtk)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system meson)
   #:use-module (guix build-system ocaml)
   #:use-module (guix build-system python)
   #:use-module (guix build-system ruby)
@@ -4869,10 +4870,9 @@ Failure to do so will result in a library with poor 
performance.")
        (file-name (git-file-name name version))
        (sha256
         (base32 "0zgckh56vcdar3a4n51r84wrizyd2ssqal4nsvxd4qdjm0rvb4h0"))))
-    (build-system cmake-build-system)
+    (build-system meson-build-system)
     (arguments
-     `(#:configure-flags
-       (list "-DCGLM_USE_TEST=ON")))
+     `(#:configure-flags '("-Dbuild_tests=true")))
     (home-page "https://github.com/recp/cglm";)
     (synopsis "Mathematics C library for graphics programming")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]