guix-commits
[Top][All Lists]
Advanced

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

01/38: gnu: x265: Only build with nasm on x86_64-linux.


From: guix-commits
Subject: 01/38: gnu: x265: Only build with nasm on x86_64-linux.
Date: Thu, 19 Dec 2024 06:02:35 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit cdb2880fed3b720050ed4cf3c6a9709f513f7343
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Oct 29 09:32:38 2024 +0200

    gnu: x265: Only build with nasm on x86_64-linux.
    
    * gnu/packages/video.scm (x265)[native-inputs]: Only use nasm when
    building for x86_64-linux.
    
    Change-Id: Id47f8bef4df0aef6cf574a39e4509024bb3a9479
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/video.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index fc7f930df0..6260928bf0 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1318,9 +1318,9 @@ on the Invidious instances only as a fallback method.")
     (build-system cmake-build-system)
     (native-inputs
      ;; XXX: ASM optimization fails on i686-linux, see 
<https://bugs.gnu.org/41768>.
-     (if (string-prefix? "i686" (%current-system))
-         '()
-         `(("nasm" ,nasm))))
+     (if (target-x86-64?)
+         (list nasm)
+         '()))
     (arguments
      `(#:tests? #f ; tests are skipped if ENABLE_ASSEMBLY is TRUE.
        #:configure-flags



reply via email to

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