valyala / gozstd

go wrapper for zstd
MIT License
420 stars 60 forks source link

Update upstream zstd from v1.4.2 to v1.4.3 #18

Closed zhuyie closed 4 years ago

codecov[bot] commented 4 years ago

Codecov Report

Merging #18 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #18   +/-   ##
=======================================
  Coverage   95.28%   95.28%           
=======================================
  Files           5        5           
  Lines         551      551           
=======================================
  Hits          525      525           
  Misses         16       16           
  Partials       10       10

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 27748cf...98ab2bf. Read the comment docs.

valyala commented 4 years ago

Thanks!

denisgolius commented 1 year ago

Hey @zhuyie , can you describe the build process for libzstd_windows_amd64.a or point me to some how-to to make the new one?

zhuyie commented 1 year ago

@denisgolius

  1. download & install TDM64-GCC: https://github.com/jmeubank/tdm-gcc/releases/download/v10.3.0-tdm64-2/tdm64-gcc-10.3.0-2.exe
  2. download & install GnuWin32-make: https://gnuwin32.sourceforge.net/downlinks/make.php
  3. download & install CMake: https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-windows-x86_64.msi
  4. cd gozstd\zstd\cmake
  5. mkdir out
  6. cd out
  7. cmake .. -DZSTD_BUILD_SHARED=OFF -DZSTD_BUILD_PROGRAMS=OFF -G "MinGW Makefiles"
  8. make
  9. copy lib/libzstd.a ../../../../libzstd_windows_amd64.a
denisgolius commented 1 year ago

@denisgolius

1. download & install TDM64-GCC: https://github.com/jmeubank/tdm-gcc/releases/download/v10.3.0-tdm64-2/tdm64-gcc-10.3.0-2.exe

2. download & install GnuWin32-make: https://gnuwin32.sourceforge.net/downlinks/make.php

3. download & install CMake: https://github.com/Kitware/CMake/releases/download/v3.26.3/cmake-3.26.3-windows-x86_64.msi

4. cd gozstd\zstd\cmake

5. mkdir out

6. cd out

7. cmake .. -DZSTD_BUILD_SHARED=OFF -DZSTD_BUILD_PROGRAMS=OFF -G "MinGW Makefiles"

8. make

9. copy lib/libzstd.a ../../../../libzstd_windows_amd64.a

Thanks!