summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* nit(tests/unicode_lint.sh): standardize failure format messageNate2021-08-081-1/+1
|
* tests(unicode_lint.sh): create: lint source files in ./lib/ and ./programs/ ↵Nate2021-08-081-0/+35
| | | | for Unicode
* nit(programs/platform.h): replace Unicode character #1018Nate2021-08-071-1/+1
| | | On line 83, U+2013 was replaced with U+002D in order to improve compatibility with MSVC 2019 and older compilers.
* minor doc clarificationYann Collet2021-08-061-1/+2
|
* fixed minor type, reported by @mwgameraYann Collet2021-08-061-2/+2
|
* Merge pull request #999 from pekdon/solaris-10Yann Collet2021-08-061-1/+7
|\ | | | | add -lrt on Solaris 10, required for nanosleep
| * add -lrt on Solaris 10, required for nanosleepClaes Nästén2021-06-021-1/+7
| |
* | Merge pull request #1013 from eloj/relax-lz4-memory-usage-tunableYann Collet2021-08-022-2/+14
|\ \ | | | | | | Define LZ4_STREAMSIZE in terms of LZ4_MEMORY_USAGE.
| * | Don't reuse state memory that's too small.Eddy Jansson2021-07-311-1/+13
| | | | | | | | | | | | | | | | | | | | | Ensure that the memory block we're trying to reuse is large enough for the new state. Fixes #974
| * | Define LZ4_STREAMSIZE in terms of LZ4_MEMORY_USAGEEddy Jansson2021-07-311-1/+1
| | | | | | | | | | | | | | | | | | This is required to correctly size a static member to hold the hash table, whose size is derived from LZ4_MEMORY_USAGE.
* | | Merge pull request #1014 from eloj/github-ubuntu-16.04-deprecationYann Collet2021-08-021-33/+23
|\ \ \ | |/ / |/| | GitHub Ubuntu 16.04 deprecation
| * | All compilers now support stdc11.Eddy Jansson2021-07-311-23/+22
| | | | | | | | | | | | | | | | | | With the removal of Ubuntu 16.04, all compilers in in the matrix supports c11, so remove this column from the matrix, and unconditionally test this.
| * | All compilers now support stdc90.Eddy Jansson2021-07-311-23/+22
| | | | | | | | | | | | | | | | | | With the removal of Ubuntu 16.04, all compilers in in the matrix supports c90, so remove this column from the matrix, and unconditionally test this.
| * | Remove ubuntu-16.04 as a test platform.Eddy Jansson2021-07-311-8/+0
|/ / | | | | | | | | | | | | | | | | | | | | The Ubuntu 16.04 environment is being removed by github on September 20, 2021. They will induce 'brownouts' starting from September 6 to get clients to move on. This change removes testing of GCC versions prior to 4.8, and clang versions prior to 3.9 Ref: https://github.com/actions/virtual-environments/issues/3287
* | Merge pull request #1012 from eloj/print-install-dirsYann Collet2021-07-242-4/+4
|\ \ | | | | | | Print target directories during 'make install'.
| * | Print target directories during 'make install'.Eddy Jansson2021-07-242-4/+4
| | | | | | | | | | | | This takes #975 to its logical conclusion.
* | | Merge pull request #1011 from eloj/improve-pkgconfigYann Collet2021-07-242-2/+3
|\ \ \ | |/ / |/| | Expand use of pkg-config variables.
| * | Expand use of pkg-config variables.Eddy Jansson2021-07-242-2/+3
|/ / | | | | | | | | | | | | | | | | Change pkg-config generation such that the path variables, not their values, are used in the definitions of Libs and Cflags, and that $prefix is substituted into libdir and includedir iff they start with its value. This makes it easier to modify the already installed file if necessary.
* | Merge pull request #1000 from lifegpc/patch1Yann Collet2021-07-011-7/+14
|\ \ | | | | | | fix link problem on win32 MSVC
| * | add missing if for lz4clifegpc2021-07-011-1/+3
| | |
| * | Link static library first otherwise rebuild source files.lifegpc2021-07-011-14/+6
| | |
| * | fix link problem on win32 MSVClifegpc2021-06-061-5/+18
| | |
* | | Merge pull request #1005 from ITotalJustice/fix_LZ4HC_HEAPMODE_macroYann Collet2021-06-251-3/+3
|\ \ \ | | | | | | | | fix LZ4HC_HEAPMODE macro guard
| * | | fix LZ4HC_HEAPMODE macro guardTotalJustice2021-06-251-3/+3
|/ / /
* | | Merge pull request #980 from sandyharvie/devYann Collet2021-06-251-1/+1
|\ \ \ | | | | | | | | Fix issue #979
| * | | bump CMake minimum required version to 2.8.12Sandy Harvie2021-05-201-1/+1
| | |/ | |/|
* | | Merge pull request #1001 from GabeNI/devYann Collet2021-06-161-1/+1
|\ \ \ | | | | | | | | Cast ALLOC return value to satisfy C++
| * | | Cast ALLOC return value to satisfy C++Gabe Jones2021-06-151-1/+1
| | |/ | |/|
* | | Merge pull request #1002 from t-mat/devYann Collet2021-06-161-8/+30
|\ \ \ | |/ / |/| | Fix package related GH-Actions errors
| * | Fix package related errorsTakayuki Matsuoka2021-06-161-8/+30
|/ / | | | | | | | | | | | | | | | | | | Add explicit "apt-get update" for all test cases which uses "apt-get". - It may help to stabilize fetching from apt archive. As for "CC=gcc-11" - Add "g++-11" package. - "g++-11" has been removed from the default virtual environment. https://github.com/actions/virtual-environments/issues/3467
* | Merge pull request #996 from t-mat/gha-3Yann Collet2021-06-032-307/+574
|\ \ | | | | | | Improve CI script
| * | Fix error in ci.ymlTakayuki Matsuoka2021-06-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Fix the following error ``` lz4 CI : .github#L1 Error when evaluating 'runs-on' for job 'lz4-check-tag'. (Line: 593, Col: 14): Unexpected value '' ```
| * | Update document for .github/workflowsTakayuki Matsuoka2021-06-012-34/+39
| | |
| * | Merge branch 'lz4:dev' into gha-3Takayuki MATSUOKA2021-06-013-172/+181
| |\ \ | |/ / |/| |
* | | Merge pull request #998 from t-mat/travis-remove-tests-2Yann Collet2021-05-311-148/+148
|\ \ \ | | | | | | | | Remove tests from .travis.yml (part 2/2)
| * | | Disable "(Trusty) gcc-4.4 compilation"Takayuki Matsuoka2021-05-311-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following commands ``` make all CFLAGS=-fPIC LDFLAGS='-pie -fPIE -D_FORTIFY_SOURCE=2' make -C programs ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
| * | | Disable "(Trusty) scan-build + cppcheck"Takayuki Matsuoka2021-05-311-9/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-scan-build] contains the following command ``` make staticAnalyze ``` [lz4-cppcheck]contains the following command ``` make cppcheck ``` We ignore the exit code of cppcheck. We refer its output as a guideline. [lz4-scan-build] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L285-L302 [lz4-cppcheck] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L268-L282
| * | | Disable "(Trusty) clang-3.8 compilation"Takayuki Matsuoka2021-05-311-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command for clang-3.8. ``` make -C tests test-lz4 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
| * | | Disable "(Xenial) gcc-5 compilation"Takayuki Matsuoka2021-05-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following commands for gcc-5 ``` make -C tests test-lz4 make -C tests test-lz4c32 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
| * | | Disable "(Trusty) gcc-6 standard C compilation"Takayuki Matsuoka2021-05-311-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Disable "(Trusty) gcc-6 standard C compilation" [lz4-c-compilers] contains the following commands for gcc-6 ``` make c_standards make -C tests test-lz4 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
| * | | Disable "(Trusty) i386 frame + fuzzer test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-frame] contains the following command ``` make -C tests test-frametest32 ``` ` [lz4-fuzzer] contains the following command ``` make -C tests test-fuzzer32 ``` [lz4-frame] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L224-L237 [lz4-fuzzer] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L192-L208
| * | | Disable "(Trusty) i386 benchmark + version test"Takayuki Matsuoka2021-05-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command ``` make -C tests test-lz4c32 ``` [lz4-benchmark] contains the following command ``` make -C tests test-fullbench32 ``` [lz4-versions] contains the following command ``` make -C tests versionsTest ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-benchmark] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L167-L189 [lz4-versions] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L211-L221
| * | | Disable "(Trusty) c-to-c++ test"Takayuki Matsuoka2021-05-311-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command ``` make ctocpptest ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
| * | | Disable "(Trusty) valgrind test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command ``` make c_standards ``` [lz4-valgrind] contains the following command ``` make -C tests test-lz4 test-mem ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-valgrind] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L305-L316
| * | | Disable "(Trusty) USan test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-ubsan-x64] contains the following command ``` make usan MOREFLAGS=-Wcomma -Werror ``` [lz4-ubsan-x64] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L322-L336
| * | | Disable "x32 compatibility test"Takayuki Matsuoka2021-05-311-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-c-compilers] contains the following command ``` make -C tests test MOREFLAGS=-mx32 ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154
| * | | Disable "(Precise) g++ and clang CMake test"Takayuki Matsuoka2021-05-311-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-compilers] contains the following commands. Note that `make all` contains `make examples` ``` make cxxtest make clean make examples make clean cmake make clean clangtest ``` [lz4-build-make-travis-install] contains the following commands. ``` make travis-install ``` [lz4-c-compilers] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L17-L154 [lz4-build-make-travis-install] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L498-L510
| * | | Disable "Custom LZ4_DISTANCE_MAX ; ..."Takayuki Matsuoka2021-05-311-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-custom-distance] contains the following command ``` MOREFLAGS='-DLZ4_DISTANCE_MAX=8000' make V=1 check make V=1 -C programs lz4-wlib make V=1 -C tests fullbench-wmalloc # test LZ4_USER_MEMORY_FUNCTIONS CC="c++ -Wno-deprecated" make V=1 -C tests fullbench-wmalloc # stricter function signature check ``` Actually, there're 3+1 tests (1) Test for Custom LZ4_DISTANCE_MAX. 6654c2c, #753, #755 (2) Test for dynamic link library. 3dd34df, #888 (3-1) Test for LZ4_USER_MEMORY_FUNCTIONS. 52646e8, #937, #946 (3-2) Same as (3-1), but compile it with c++. After we'll stabilize CI tests, this test should be split into 3 individual parts for clarity. [lz4-custom-distance] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L241-L255
| * | | Disable "ASAN tests with fuzzer and frametest"Takayuki Matsuoka2021-05-311-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-asan-x64] contains the following command ``` sudo sysctl -w vm.mmap_min_addr=4096 CC=clang MOREFLAGS=-fsanitize=address make -C tests test-frametest test-fuzzer ``` [lz4-asan-x64] https://github.com/lz4/lz4/blob/025c3ce8f994213371a4260ae932ea244d44c6fc/.github/workflows/ci.yml#L361-L376
| * | | Disable "(Precise) frame and fuzzer test"Takayuki Matsuoka2021-05-311-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [lz4-frame] in ci.yml contains the following command ``` make -C tests test-frametest ``` [lz4-fuzzer] in ci.yml contains the following command ``` make -C tests test-fuzzer ```