mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: catch2-3: Update to 3.5.3.
* gnu/packages/check.scm (catch2-3): Update to 3.5.3. [arguments]: Remove -DCMAKE_CXX_FLAGS from configure-flags. Change-Id: Ib9e88dd6071d14ef70177fa83964a5d92b916ac0 Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
06ff53d94c
commit
584e240842
1 changed files with 4 additions and 10 deletions
|
@ -49,6 +49,7 @@
|
|||
;;; Copyright © 2023 Hilton Chain <hako@ultrarare.space>
|
||||
;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
|
||||
;;; Copyright © 2024 Giacomo Leidi <goodoldpaul@autistici.org>
|
||||
;;; Copyright © 2024 Zheng Junjie <873216071@qq.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -609,7 +610,7 @@ (define-public cbehave
|
|||
(define-public catch2-3
|
||||
(package
|
||||
(name "catch2")
|
||||
(version "3.5.1")
|
||||
(version "3.5.3")
|
||||
(home-page "https://github.com/catchorg/Catch2")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
|
@ -619,19 +620,12 @@ (define-public catch2-3
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"0p7rk01n4qfnnm1bgakllyqi83n1kbpz11gh65z1vspfz58hs9iv"))))
|
||||
"11yla93vm2896fzhm3fz8lk3y3iz5iy7vd6wa7wnwvhsfd2dbfq3"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:configure-flags
|
||||
#~(list #$@(match (%current-system)
|
||||
((or "x86_64-linux" "i686-linux")
|
||||
;; Tests fail on i686-linux without SSE2 for floats, see
|
||||
;; upstream report
|
||||
;; <https://github.com/catchorg/Catch2/issues/2796>.
|
||||
'("-DCMAKE_CXX_FLAGS=-msse2 -mfpmath=sse"))
|
||||
(_ '()))
|
||||
"-DCATCH_DEVELOPMENT_BUILD=ON"
|
||||
#~(list "-DCATCH_DEVELOPMENT_BUILD=ON"
|
||||
"-DCATCH_ENABLE_WERROR=OFF"
|
||||
"-DBUILD_SHARED_LIBS=ON")))
|
||||
(inputs (list python-wrapper))
|
||||
|
|
Loading…
Reference in a new issue