#2 Build libzstd with multi-threading support
Merged 3 years ago by pbrady. Opened 3 years ago by ignatenkobrain.
rpms/ ignatenkobrain/zstd mt  into  master

file modified
+6 -4
@@ -13,7 +13,7 @@ 

  

  Name:           zstd

  Version:        1.4.5

- Release:        3%{?dist}

+ Release:        4%{?dist}

  Summary:        Zstd compression library

  

  License:        BSD and GPLv2
@@ -63,9 +63,8 @@ 

  %build

  export CFLAGS="$RPM_OPT_FLAGS"

  export LDFLAGS="$RPM_LD_FLAGS"

- for dir in lib programs; do

-   %make_build -C "$dir"

- done

+ %make_build -C lib lib-mt

+ %make_build -C programs

  %if %{with pzstd}

  export CXXFLAGS="$RPM_OPT_FLAGS -std=c++11"

  %make_build -C contrib/pzstd
@@ -124,6 +123,9 @@ 

  %ldconfig_scriptlets -n lib%{name}

  

  %changelog

+ * Sat Jul 11 2020 Igor Raits <ignatenkobrain@fedoraproject.org> - 1.4.5-4

+ - Build libzstd with multi-threading support

+ 

  * Mon May 25 2020 Pádraig Brady <P@draigBrady.com> - 1.4.5-3

  - Build shared library with correct compiler flags

  

rebased onto 2af7a22

3 years ago

FTR this was noticed when testing MT support from rpm-build side: https://github.com/rpm-software-management/rpm/pull/1303

@pbrady feel free to add me as co-maintainer to this package :)

Pull-Request has been merged by pbrady

3 years ago

@ignatenkobrain you now have commit access to the zstd repo.
I'll let you release any multithreaded updates