gnu: llvm@3: Do not inherit 'install-opt-viewer' phase.

This is a follow-up to commit 50b61ec223.

* gnu/packages/llvm.scm (llvm-3.9.1)[outputs, arguments]: New fields.
(llvm-3.8, llvm-3.7, llvm-3.6, llvm-3.5): Inherit from LLVM-3.9.1.
This commit is contained in:
Marius Bakke 2020-02-03 09:44:14 +01:00
parent 5d8c7f2f59
commit a6046f24dd
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -5,7 +5,7 @@
;;; Copyright © 2016 Dennis Mungai <dmngaie@gmail.com>
;;; Copyright © 2016, 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2017 Roel Janssen <roel@gnu.org>
;;; Copyright © 2018, 2019 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018, 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2018 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018 Tim Gesthuizen <tim.gesthuizen@yahoo.de>
@ -574,7 +574,13 @@ (define-public llvm-3.9.1
version "/llvm-" version ".src.tar.xz"))
(sha256
(base32
"1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z"))))))
"1vi9sf7rx1q04wj479rsvxayb6z740iaz3qniwp266fgp5a07n8z"))))
(outputs '("out"))
(arguments
(substitute-keyword-arguments (package-arguments llvm)
((#:phases phases)
`(modify-phases ,phases
(delete 'install-opt-viewer)))))))
(define-public clang-runtime-3.9.1
(clang-runtime-from-llvm
@ -590,7 +596,7 @@ (define-public clang-3.9.1
#:patches '("clang-3.8-libc-search-path.patch")))
(define-public llvm-3.8
(package (inherit llvm)
(package (inherit llvm-3.9.1)
(name "llvm")
(version "3.8.1")
(source
@ -615,7 +621,7 @@ (define-public clang-3.8
#:patches '("clang-3.8-libc-search-path.patch")))
(define-public llvm-3.7
(package (inherit llvm)
(package (inherit llvm-3.9.1)
(version "3.7.1")
(source
(origin
@ -639,7 +645,7 @@ (define-public clang-3.7
#:patches '("clang-3.5-libc-search-path.patch")))
(define-public llvm-3.6
(package (inherit llvm)
(package (inherit llvm-3.9.1)
(version "3.6.2")
(source
(origin
@ -662,7 +668,7 @@ (define-public clang-3.6
#:patches '("clang-3.5-libc-search-path.patch")))
(define-public llvm-3.5
(package (inherit llvm)
(package (inherit llvm-3.9.1)
(version "3.5.2")
(source
(origin