zstd 1.5.4

* zstd 1.5.4
* zstd: fix `pzstd` build

Closes #122888.

Co-authored-by: Carlo Cabrera <30379873+carlocab@users.noreply.github.com>
Signed-off-by: Rui Chen <rui@chenrui.dev>
Signed-off-by: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com>
master
miccal 2023-02-10 09:39:03 +08:00 committed by BrewTestBot
parent 31f2d264ee
commit 637b7c673f
No known key found for this signature in database
GPG Key ID: 82D7D104050B0F0F
1 changed files with 5 additions and 4 deletions

View File

@ -1,10 +1,10 @@
class Zstd < Formula class Zstd < Formula
desc "Zstandard is a real-time compression algorithm" desc "Zstandard is a real-time compression algorithm"
homepage "https://facebook.github.io/zstd/" homepage "https://facebook.github.io/zstd/"
url "https://github.com/facebook/zstd/archive/v1.5.2.tar.gz" url "https://github.com/facebook/zstd/archive/v1.5.4.tar.gz"
mirror "http://fresh-center.net/linux/misc/zstd-1.5.2.tar.gz" mirror "http://fresh-center.net/linux/misc/zstd-1.5.4.tar.gz"
mirror "http://fresh-center.net/linux/misc/legacy/zstd-1.5.2.tar.gz" mirror "http://fresh-center.net/linux/misc/legacy/zstd-1.5.4.tar.gz"
sha256 "f7de13462f7a82c29ab865820149e778cbfe01087b3a55b5332707abf9db4a6e" sha256 "35ad983197f8f8eb0c963877bf8be50490a0b3df54b4edeb8399ba8a8b2f60a4"
license "BSD-3-Clause" license "BSD-3-Clause"
head "https://github.com/facebook/zstd.git", branch: "dev" head "https://github.com/facebook/zstd.git", branch: "dev"
@ -42,6 +42,7 @@ class Zstd < Formula
"-DZSTD_ZLIB_SUPPORT=ON", "-DZSTD_ZLIB_SUPPORT=ON",
"-DZSTD_LZMA_SUPPORT=ON", "-DZSTD_LZMA_SUPPORT=ON",
"-DZSTD_LZ4_SUPPORT=ON", "-DZSTD_LZ4_SUPPORT=ON",
"-DCMAKE_CXX_STANDARD=11",
*std_cmake_args *std_cmake_args
system "cmake", "--build", "builddir" system "cmake", "--build", "builddir"
system "cmake", "--install", "builddir" system "cmake", "--install", "builddir"