guix-commits
[Top][All Lists]
Advanced

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

129/182: gnu: botan: Optimise.


From: guix-commits
Subject: 129/182: gnu: botan: Optimise.
Date: Fri, 15 Nov 2019 00:01:54 -0500 (EST)

kkebreau pushed a commit to branch wip-gnome-updates
in repository guix.

commit 68a0185ad2dc25d116d4420b4b0e261e072b7bb1
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Sat Nov 9 00:27:34 2019 +0100

    gnu: botan: Optimise.
    
    * gnu/packages/crypto.scm (botan)[arguments]: Compile with -O3
    optimisation.
---
 gnu/packages/crypto.scm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 1ec6c47..c3d3e36 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -750,6 +750,8 @@ SHA256, SHA512, SHA3, AICH, ED2K, Tiger, DC++ TTH, 
BitTorrent BTIH, GOST R
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (let* ((out (assoc-ref %outputs "out"))
                     (lib (string-append out "/lib")))
+               ;; Upstream tests and benchmarks with -O3.
+               (setenv "CXXFLAGS" "-O3")
                (invoke "python" "./configure.py"
                        (string-append "--prefix=" out)
                        ;; Otherwise, the `botan` executable cannot find



reply via email to

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