guix-commits
[Top][All Lists]
Advanced

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

branch wip-riscv updated: gnu: postgresql-13: Build without spinlocks on


From: guix-commits
Subject: branch wip-riscv updated: gnu: postgresql-13: Build without spinlocks on riscv64-linux.
Date: Sun, 29 Aug 2021 01:39:17 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch wip-riscv
in repository guix.

The following commit(s) were added to refs/heads/wip-riscv by this push:
     new c159e77  gnu: postgresql-13: Build without spinlocks on riscv64-linux.
c159e77 is described below

commit c159e77d94a884077575db5727b5122a3c0debf7
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Aug 29 08:34:19 2021 +0300

    gnu: postgresql-13: Build without spinlocks on riscv64-linux.
    
    * gnu/packages/databases.scm (postgresql-13)[arguments]: When building
    for riscv64-linux don't build with unsupported features.
---
 gnu/packages/databases.scm | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index c099706..dc540c1 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -1054,6 +1054,11 @@ and high-availability (HA).")
                            ;; PostgreSQL installs its own Makefile (should 
it?).
                            ;; Prevent it from retaining needless references to
                            ;; the build tools in order to save size.
+
+                           ;; no spinlock support for riscv64.
+                           ,@(if (target-riscv?)
+                               `("--disable-spinlocks")
+                               '())
                            "MKDIR_P=mkdir -p" "INSTALL_BIN=install -c"
                            "LD=ld" "TAR=tar")
        #:phases



reply via email to

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