mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: snappy: Optimise.
* gnu/packages/compression.scm (snappy)[source]: Build with ‘-O2’. * gnu/package/patches/snappy-add-O2-flag-in-CmakeLists.txt.patch: New file. * gnu/local.mk (dist_patch_DATA): Add it.
This commit is contained in:
parent
dc8675afa7
commit
f96ed06805
3 changed files with 46 additions and 8 deletions
|
@ -1154,14 +1154,15 @@ algorithm within the Numpy framework.")
|
|||
(package
|
||||
(name "snappy")
|
||||
(version "1.1.7")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/google/snappy/archive/"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append "snappy-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))))
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/google/snappy/archive/"
|
||||
version ".tar.gz"))
|
||||
(file-name (string-append "snappy-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32 "1m7rcdqzkys5lspj8jcsaah8w33zh28s771bw0ga2lgzfgl05yix"))
|
||||
(patches (search-patches "snappy-add-O2-flag-in-CmakeLists.txt.patch"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("-DBUILD_SHARED_LIBS=ON")))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue