guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: crc32c: Fix build on x86_64-linux.


From: guix-commits
Subject: branch master updated: gnu: crc32c: Fix build on x86_64-linux.
Date: Wed, 16 Nov 2022 20:39:36 -0500

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

mbakke pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new abf214cda0 gnu: crc32c: Fix build on x86_64-linux.
abf214cda0 is described below

commit abf214cda01d668837a6432370ebd5382ad1612e
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Nov 17 02:24:46 2022 +0100

    gnu: crc32c: Fix build on x86_64-linux.
    
    * gnu/packages/cpp.scm (crc32c)[arguments]: Remove #:phases.  The check is 
for
    SSE support in the compiler, not the build machine; and the runtime code 
tests
    for SSE availability on the CPU before enabling the SSE code path.
---
 gnu/packages/cpp.scm | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index c1e98b771d..210c76e482 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1976,13 +1976,7 @@ std::wstring, etc).")
                                       "-DCRC32C_BUILD_TESTS="
                                       ;; TODO: perhaps infer #:tests?
                                       (if #$(%current-target-system)
-                                          "OFF" "ON")))
-           #:phases
-           #~(modify-phases %standard-phases
-               (add-after 'unpack 'make-reproducible
-                 (lambda _
-                   (substitute* "CMakeLists.txt"
-                     (("if\\(HAVE_SSE42\\)") "if(FALSE)")))))))
+                                          "OFF" "ON")))))
     (native-inputs (list googletest))
     (home-page "https://github.com/google/crc32c";)
     (synopsis "Cyclic redundancy check")



reply via email to

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