guix-commits
[Top][All Lists]
Advanced

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

06/12: gnu: xsimd: Don't use unstable tarball.


From: guix-commits
Subject: 06/12: gnu: xsimd: Don't use unstable tarball.
Date: Fri, 7 Jun 2019 13:24:57 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit e8211364745ddecef19134bdd7c593401d24b732
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Fri Jun 7 02:34:57 2019 +0200

    gnu: xsimd: Don't use unstable tarball.
    
    * gnu/packages/cpp.scm (xsimd)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
    [home-page]: Move down to its conventional spot.
---
 gnu/packages/cpp.scm | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 9c060c7..1adc2e5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -131,21 +131,21 @@ combination of these streams.")
   (package
     (name "xsimd")
     (version "4.1.2")
-    (source (origin
-              (method url-fetch)
-              (uri (string-append
-                    "https://github.com/QuantStack/xsimd/archive/";
-                    version ".tar.gz"))
-              (sha256
-               (base32
-                "0x05l4xpqr9b66sm6lkf48n6x7999ks921x6k2hzkkg6mh3gqd46"))
-              (file-name (string-append name "-" version ".tar.gz"))))
-    (home-page "https://github.com/QuantStack/xsimd";)
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/QuantStack/xsimd.git";)
+             (commit version)))
+       (sha256
+        (base32 "0x86p2xjlaqyfissf30smj1szm4i3iw1x72qnj5dwvfgf7049xds"))
+       (file-name (git-file-name name version))))
     (build-system cmake-build-system)
     (arguments
      `(#:test-target "xtest"))
     (native-inputs
      `(("googletest" ,googletest)))
+    (home-page "https://github.com/QuantStack/xsimd";)
     (synopsis "C++ wrappers for SIMD intrinsics and math implementations")
     (description "xsimd provides a unified means for using SIMD features for
 library authors.  Namely, it enables manipulation of batches of numbers with



reply via email to

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