Skip to content
代码片段 群组 项目
  1. 12月 02, 2018
  2. 12月 01, 2018
  3. 11月 30, 2018
    • Mitchell Grenier's avatar
      Fix buck for lib · a4248996
      Mitchell Grenier 创作于
      a4248996
    • Yann Collet's avatar
      Merge pull request #1432 from terrelln/regression · 090bc808
      Yann Collet 创作于
      [regression] Add initial regression test framework
      未验证
      090bc808
    • Nick Terrell's avatar
      [regression] Add initial regression test framework · 4aaa36f7
      Nick Terrell 创作于
      The regression tests run nightly or on the `regression`
      branch for convenience. The results get uploaded as the
      artifacts of the job. If they change, check the diff
      printed in the job. If all is well, download the new
      results and commit them to the repo.
      
      This code will only run on a UNIX like platform. It
      could be made to run on Windows, but I don't think that
      it is necessary. It also uses C99.
      
      * data: This module defines the data to run tests on.
        It downloads data from a URL into a cache directory,
        checks it against a checksum, and unpacks it. It also
        provides helpers for accessing the data.
      * config: This module defines the configs to run tests
        with. A config is a set of API parameters and a set of
        CLI flags.
      * result: This module is a helper for method that defines
        the result type.
      * method: This module defines the compression methods
        to test. It is what runs the regression test using the
        data and the config. It reports the total compressed
        size, or an error/skip.
      * test: This is the test binary that runs the tests for
        every (data, config, method) tuple, and prints the
        results to the output file and stderr.
      * results.csv: The results that the current commit is
        expected to produce.
      4aaa36f7
  4. 11月 29, 2018
  5. 11月 28, 2018
    • Denis Ahrens's avatar
      fixed a typo · 71b8ee1b
      Denis Ahrens 创作于
      71b8ee1b
    • Yann Collet's avatar
      Merge pull request #1426 from lzutao/upgrade-mesonbuild · 74f8a5c5
      Yann Collet 创作于
      Update meson build system
      未验证
      74f8a5c5
    • Lzu Tao's avatar
      Update meson build system · 9a721e52
      Lzu Tao 创作于
      NOTE: This commit only tested on Linux (Ubuntu 18.04). Windows
      build may not work as expected.
      
      * Use meson >= 0.47.0 cause we use install_man function
      * Add three helper Python script:
        * CopyFile.py: To copy file
        * CreateSymlink.py: To make symlink (both Windows and Unix)
        * GetZstdLibraryVersion.py: Parse lib/zstd.h to get zstd version
        These help emulating equivalent functions in CMake and Makefile.
      * Use subdir from meson to split meson.build
        * Add contrib build
        * Fix other build
      * Add new build options
        * build_programs: Enable programs build
        * build_contrib: Enable contrib build
        * build_tests: Enable tests build
        * use_static_runtime: Link to static run-time libraries on MSVC
        * zlib_support: Enable zlib support
        * lzma_support: Enable lzma support
      9a721e52
    • Lzu Tao's avatar
      9bd8f6a0
    • Lzu Tao's avatar
      Add meson build guide · 2abd5139
      Lzu Tao 创作于
      2abd5139
  6. 11月 27, 2018
  7. 11月 17, 2018
  8. 11月 16, 2018
    • Ryan Schmidt's avatar
      Fix feature detection with multiple -arch flags · 46d470c2
      Ryan Schmidt 创作于
      When multiple -arch flags are used, the compiler invokes itself once for
      each architecture. Apparently, input on stdin is consumed by the
      compilation of the first arch and is no longer available to the
      compilation of the second arch, which results in a build failure and the
      potentially incorrect determination that a feature is not available. So
      write the feature detection source to a file instead of using stdin.
      46d470c2
    • Ryan Schmidt's avatar
      Fix i386 build failure "Junk character 13" · ef4df0df
      Ryan Schmidt 创作于
      ef4df0df
  9. 11月 15, 2018
    • Nick Terrell's avatar
      Merge pull request #1416 from terrelln/rsync · f15f1bfe
      Nick Terrell 创作于
      - Factor out LDM's hash function for reuse
      - Add rsyncable mode to zstdmt and expose it via the advanced API
      - Fix `-B`/`--block-size` to actually set the job size
      - Add rsyncable tests to `zstreamtest` and `playTests.sh`
      
      Tested by:
      
      ```
      > cat A.100MB B.100MB C.100MB D.100MB E.100MB | zstd --rsyncable -fo src/file.zst
      /*stdin*\            : 48.22%   (524288000 => 252837782 bytes, src/file.zst)
      > rsync -rc --stats src devbigvm:/data/users/terrelln/rsync-test
      Total bytes sent: 252868779
      total size is 252837782  speedup is 1.00
      > echo test > test
      > cat test A.100MB test B.100MB test C.100MB test D.100MB test E.100MB | zstd --rsyncable -fo src/file.zst
      /*stdin*\            : 48.23%   (524288025 => 252838025 bytes, src/unicorn.tar.zst)
      > rsync -rc --stats src devbigvm:/data/users/terrelln/rsync-test
      Total bytes sent: 4605696
      total size is 252838025  speedup is 53.60
      ```
      
      Close #1155.
      未验证
      f15f1bfe
    • Nick Terrell's avatar
      [tests] Add rsyncable tests · 71fe78cb
      Nick Terrell 创作于
      71fe78cb
    • Nick Terrell's avatar
      [cli] Set the job size · 43164094
      Nick Terrell 创作于
      43164094
    • Nick Terrell's avatar
      [cli] Add rsyncable · f9a671ac
      Nick Terrell 创作于
      f9a671ac
    • Nick Terrell's avatar
      [lib] Add rsyncable mode · b9693d3a
      Nick Terrell 创作于
      - Add rsyncable mode to multithreaded mode
      - Factor out LDM's hash function for reuse
      b9693d3a
加载中