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:
Zheng Junjie 2024-03-02 18:07:27 +08:00 committed by 宋文武
parent 06ff53d94c
commit 584e240842
No known key found for this signature in database
GPG Key ID: D415BF253B515976

View File

@ -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 @@ pattern.")
(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 @@ pattern.")
(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))