summary refs log tree commit diff
path: root/gnu/packages/llvm.scm
diff options
context:
space:
mode:
authorMarius Bakke <marius@gnu.org>2020-12-17 15:59:25 +0100
committerMarius Bakke <marius@gnu.org>2020-12-19 22:53:00 +0100
commit4c4d1f695279c381f7f3298fc6ff79766961eb81 (patch)
tree6ecf21d864219a7c14b5d8b1fb5b4bac167217f8 /gnu/packages/llvm.scm
parentce7b18837cc3c2fc73965ae2de77c4a635675e8e (diff)
downloadguix-4c4d1f695279c381f7f3298fc6ff79766961eb81.tar.gz
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".
Diffstat (limited to 'gnu/packages/llvm.scm')
-rw-r--r--gnu/packages/llvm.scm7
1 files changed, 2 insertions, 5 deletions
diff --git a/gnu/packages/llvm.scm b/gnu/packages/llvm.scm
index 1db01cea36..114654c628 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 '()))