[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/16: gnu: lean: Update to 3.41.0 and fixes toward cross-compilation.
From: |
guix-commits |
Subject: |
02/16: gnu: lean: Update to 3.41.0 and fixes toward cross-compilation. |
Date: |
Fri, 11 Mar 2022 23:43:24 -0500 (EST) |
apteryx pushed a commit to branch master
in repository guix.
commit 46ae78ba45711b43ca5948c9adbd23cc9e773bff
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 11 21:36:32 2022 -0500
gnu: lean: Update to 3.41.0 and fixes toward cross-compilation.
* gnu/packages/lean.scm (lean): Update to 3.41.0.
[phases]: Remove trailing #t.
[tests?] Set to #false when cross-compiling.
[inputs]: Add bash-minimal.
Co-authored-by: Maxime Devos <maximedevos@telenet.be>
---
gnu/packages/lean.scm | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/gnu/packages/lean.scm b/gnu/packages/lean.scm
index 6ac7f1668a..646bd9597a 100644
--- a/gnu/packages/lean.scm
+++ b/gnu/packages/lean.scm
@@ -19,6 +19,7 @@
;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>.
(define-module (gnu packages lean)
+ #:use-module (gnu packages bash)
#:use-module (gnu packages multiprecision)
#:use-module (guix build-system cmake)
#:use-module ((guix licenses) #:prefix license:)
@@ -28,7 +29,7 @@
(define-public lean
(package
(name "lean")
- (version "3.23.0")
+ (version "3.41.0")
(home-page "https://github.com/leanprover-community/lean")
(source (origin
(method git-fetch)
@@ -37,19 +38,19 @@
(file-name (git-file-name name version))
(sha256
(base32
- "09mklc1p6ms1jayg2f89hqfmhca3h5744lli936l38ypn1d00sxx"))))
+ "0mpxlfjq460x1vi3v6qzgjv74asg0qlhykd51pj347795x5b1hf1"))))
(build-system cmake-build-system)
(inputs
- (list gmp))
+ (list bash-minimal gmp))
(arguments
`(#:build-type "Release" ; default upstream build type
;; XXX: Test phases currently fail on 32-bit sytems.
;; Tests for those architectures have been temporarily
;; disabled, pending further investigation.
- #:tests? ,(let ((arch (or (%current-target-system)
- (%current-system))))
- (not (or (string-prefix? "i686" arch)
- (string-prefix? "armhf" arch))))
+ #:tests? ,(and (not (%current-target-system))
+ (let ((arch (%current-system)))
+ (not (or (string-prefix? "i686" arch)
+ (string-prefix? "armhf" arch)))))
#:phases
(modify-phases %standard-phases
(add-after 'patch-source-shebangs 'patch-tests-shebangs
@@ -62,10 +63,9 @@
(("#![[:blank:]]?/bin/bash")
(string-append "#!" bash))
(("#![[:blank:]]?usr/bin/env bash")
- (string-append "#!" bash)))
- #t)))
+ (string-append "#!" bash))))))
(add-before 'configure 'chdir-to-src
- (lambda _ (chdir "src") #t)))))
+ (lambda _ (chdir "src"))))))
(synopsis "Theorem prover and programming language")
(description
"Lean is a theorem prover and programming language with a small trusted
- branch master updated (b769fe7f75 -> 662f1f7bba), guix-commits, 2022/03/11
- 04/16: gnu: ruby-yard-with-tests: Run tests conditionally., guix-commits, 2022/03/11
- 05/16: gnu: ruby-ffi-rzmq: Honor TESTS?., guix-commits, 2022/03/11
- 07/16: gnu: ecl: Run tests conditionally and please lint., guix-commits, 2022/03/11
- 08/16: gnu: perl-unicode-utf8: Run tests conditionally., guix-commits, 2022/03/11
- 02/16: gnu: lean: Update to 3.41.0 and fixes toward cross-compilation.,
guix-commits <=
- 01/16: lint: check-tests-true: Allow #:tests? #t for some build systems., guix-commits, 2022/03/11
- 13/16: gnu: belcard: Run tests conditionally., guix-commits, 2022/03/11
- 14/16: gnu: tdlib: Run tests conditionally., guix-commits, 2022/03/11
- 16/16: gnu: ghc-bsb-http-chunked: Don't run tests when cross-compiling., guix-commits, 2022/03/11
- 15/16: gnu: extra-cmake-modules: Don't run tests when cross-compiling., guix-commits, 2022/03/11
- 03/16: gnu: swi-prolog: Fix cross-compilation., guix-commits, 2022/03/11
- 06/16: gnu: go-1.16: Do not run tests when cross-compiling., guix-commits, 2022/03/11
- 12/16: gnu: lablgtk: Run tests conditionally., guix-commits, 2022/03/11
- 09/16: gnu: libicns: Do not explicitly set TESTS? to #t., guix-commits, 2022/03/11
- 11/16: gnu: Remove python2-promise., guix-commits, 2022/03/11