me
/
guix
Archived
1
0
Fork 0

gnu: tdlib: Update to 1.8.4.

* gnu/packages/messaging.scm (tdlib): Update to 1.8.4.
<#:configure-flags>: Enable LTO. Move build type settings to #:build-type
arguments.
<#:build-type>: Use "Release build".

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
master
Zhu Zihao 2022-08-06 23:12:17 +08:00 committed by Ludovic Courtès
parent a4cc6b5909
commit 80df3ffb4f
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 4 additions and 6 deletions

View File

@ -2653,22 +2653,20 @@ replacement.")
(define-public tdlib (define-public tdlib
(package (package
(name "tdlib") (name "tdlib")
(version "1.8.0") (version "1.8.4")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (uri (git-reference
(url "https://github.com/tdlib/td") (url "https://github.com/tdlib/td")
(commit (string-append "v" version)))) (commit "7eabd8ca60de025e45e99d4e5edd39f4ebd9467e")))
(sha256 (sha256
(base32 "19psqpyh9a2kzfdhgqkirpif4x8pzy89phvi59dq155y30a3661q")) (base32 "1chs0ibghjj275v9arsn3k68ppblpm7ysqk0za9kya5vdnldlld5"))
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
(list (list
#:configure-flags #:build-type "Release"
#~(list "-DCMAKE_BUILD_TYPE=Release"
"-DTD_ENABLE_LTO=OFF") ; FIXME: Get LTO to work.
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'remove-failing-tests (add-after 'unpack 'remove-failing-tests