Added appveyor/install_zstd.cmd
This commit is contained in:
parent
ece4df3721
commit
3a03e9a8aa
|
@ -49,6 +49,7 @@ build_script:
|
||||||
- IF "%USE_CACHE%" EQU "1" appveyor\setup_from_cache.cmd
|
- IF "%USE_CACHE%" EQU "1" appveyor\setup_from_cache.cmd
|
||||||
- IF "%USE_CACHE%" NEQ "1" appveyor\install_zlib.cmd
|
- IF "%USE_CACHE%" NEQ "1" appveyor\install_zlib.cmd
|
||||||
- IF "%USE_CACHE%" NEQ "1" appveyor\install_lzma.cmd
|
- IF "%USE_CACHE%" NEQ "1" appveyor\install_lzma.cmd
|
||||||
|
- IF "%USE_CACHE%" NEQ "1" appveyor\install_zstd.cmd
|
||||||
- IF "%USE_CACHE%" NEQ "1" appveyor\install_libcurl.cmd
|
- IF "%USE_CACHE%" NEQ "1" appveyor\install_libcurl.cmd
|
||||||
- IF "%USE_CACHE%" NEQ "1" appveyor\install_pthread.cmd
|
- IF "%USE_CACHE%" NEQ "1" appveyor\install_pthread.cmd
|
||||||
- IF "%USE_CACHE%" NEQ "1" appveyor\install_dirent.cmd
|
- IF "%USE_CACHE%" NEQ "1" appveyor\install_dirent.cmd
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
REM ========================================================
|
||||||
|
REM Install zstd
|
||||||
|
curl -fsSL -o zstd-v1.4.4.zip https://github.com/facebook/zstd/archive/v1.4.4.zip || exit /b 1
|
||||||
|
7z x zstd-v1.4.4.zip || exit /b 1
|
||||||
|
cd zstd-1.4.4/build/meson
|
||||||
|
meson . builddir --prefix %EXTRA_DIR% --default-library static --buildtype release -Dbin_programs=false -Dbin_contrib=false || exit /b 1
|
||||||
|
cd builddir
|
||||||
|
ninja || exit /b 1
|
||||||
|
ninja install || exit /b 1
|
||||||
|
cd ..\..\..\..
|
Loading…
Reference in New Issue