guix-commits
[Top][All Lists]
Advanced

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

02/09: gnu: mariadb: Disable plugin that fails on armhf.


From: Marius Bakke
Subject: 02/09: gnu: mariadb: Disable plugin that fails on armhf.
Date: Sat, 28 Jul 2018 08:56:43 -0400 (EDT)

mbakke pushed a commit to branch staging
in repository guix.

commit 5b4d2e40f1b2097c1f1ea6d1a0e701a1908011d4
Author: Marius Bakke <address@hidden>
Date:   Fri Jul 20 00:50:20 2018 +0200

    gnu: mariadb: Disable plugin that fails on armhf.
    
    * gnu/packages/databases.scm (mariadb)[arguments]: Add 'disable-plugins' 
phase.
---
 gnu/packages/databases.scm | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index 0e30815..61b4268 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -665,6 +665,19 @@ Language.")
          "-DINSTALL_SHAREDIR=share")
        #:phases
        (modify-phases %standard-phases
+         (add-before 'configure 'disable-plugins
+           (lambda _
+             (let ((disable-plugin (lambda (name)
+                                     (call-with-output-file
+                                         (string-append "plugin/" name
+                                                        "/CMakeLists.txt")
+                                       (lambda (port)
+                                         (format port "\n")))))
+                   (disabled-plugins '(;; FIXME: On armhf-linux, this plugin
+                                       ;; triggers a GCC ICE.  Disable for now.
+                                       "semisync")))
+               (for-each disable-plugin disabled-plugins)
+               #t)))
          (add-before
           'configure 'pre-configure
           (lambda _



reply via email to

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