guix-commits
[Top][All Lists]
Advanced

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

05/08: gnu: llvm: Update download URI.


From: guix-commits
Subject: 05/08: gnu: llvm: Update download URI.
Date: Sat, 19 Dec 2020 16:56:02 -0500 (EST)

mbakke pushed a commit to branch master
in repository guix.

commit 4c4d1f695279c381f7f3298fc6ff79766961eb81
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Dec 17 15:59:25 2020 +0100

    gnu: llvm: Update download URI.
    
    New and old releases are now only available on GitHub.
    
    * gnu/packages/llvm.scm (llvm-uri): Remove "releases.llvm.org".
---
 gnu/packages/llvm.scm | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1db01ce..114654c 100644
--- a/gnu/packages/llvm.scm
+++ b/gnu/packages/llvm.scm
@@ -86,11 +86,8 @@ as \"x86_64-linux\"."
              ("i586"        => "X86"))))
 
 (define (llvm-uri component version)
-  (if (version>=? version "9.0.1")
-      (string-append "https://github.com/llvm/llvm-project/releases/download";
-                     "/llvmorg-" version "/" component "-" version 
".src.tar.xz")
-      (string-append "https://releases.llvm.org/"; version "/" component "-"
-                     version ".src.tar.xz")))
+  (string-append "https://github.com/llvm/llvm-project/releases/download";
+                 "/llvmorg-" version "/" component "-" version ".src.tar.xz"))
 
 (define* (clang-runtime-from-llvm llvm hash
                                   #:optional (patches '()))



reply via email to

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