Federico Maresca and GitHub
5e9a6c2fe4
Refactor dictionary matchfinder index safety check ( #4039 )
2024-05-29 12:35:24 -04:00
Yuriy Chernyshov and Nick Terrell
72c16b187d
Fix building on windows-x86 if clang already includes
...
[D101338](https://reviews.llvm.org/D101338 ) landed in 2021, so clang16 should have it
2024-04-01 09:53:08 -07:00
Po-Chuan Hsieh
103a85e6f6
Use md5sum rather than gmd5sum for FreeBSD
...
Reference: https://man.freebsd.org/cgi/man.cgi?query=md5sum
2024-03-27 20:53:52 +08:00
Sutou Kouhei and Nick Terrell
8420502ef9
Don't require CMake 3.18 or later
...
fix #3500
CMake 3.18 or later was required by #3392 . Because it uses
`CheckLinkerFlag`. But requiring CMake 3.18 or later is a bit
aggressive. Because Ubuntu 20.04 LTS still uses CMake 3.16.3:
https://packages.ubuntu.com/search?keywords=cmake
This change disables `-z noexecstack` check with old CMake. This will
not break any existing users. Because users who need `-z noexecstack`
must already use CMake 3.18 or later.
2023-02-16 10:08:45 -08:00
Taylor Braun-Jones
cd9d0a7e6e
Fix ZSTD_BUILD_TESTS=ON build with MSVC
...
Fixes:
Command line error D8021 : invalid numeric argument '/Wno-deprecated-declarations'
2022-06-30 13:20:42 -04:00
hjl-tools and GitHub
ff92884a89
Merge branch 'facebook:dev' into hjl/cet/dev
2022-01-16 10:07:32 -08:00
ko-zu
c67e07f34e
Remove executable flag from GNU_STACK section
...
Putting stack marking into every assembly files is required to indicate
that the stack does not need to be executable.
Executable flag on stack conflicts with some security measures, Systemd
MemoryDenyWriteExecute=yes for example.
2021-11-13 22:58:33 +09:00
makise-homura
3cd085cec3
Clarify no-tree-vectorize usage for ICC and LCC
2021-07-14 20:00:44 +03:00
makise-homura
a5f518ae27
Change zstdcli's main() declaration due to -Wmain on some compilers
2021-07-14 19:55:47 +03:00
makise-homura
d4ad02c721
Add support for MCST LCC compiler
2021-07-10 03:57:06 +03:00
Thomas Waldmann
92a2b5ccc9
fixup: lits means literals
2021-01-07 23:30:42 +01:00
Thomas Waldmann
f9802d80a0
fix typos (work done by Andrea Gelmini)
2021-01-07 18:47:23 +01:00
i-do-cpp and GitHub
aec8b27fff
Update zstd_compress.c
2020-08-31 09:34:08 +02:00
i-do-cpp and GitHub
d514281e73
Fix setParameter not falling back to default compression level on 0 value
...
See documentation for `ZSTD_c_compressionLevel`: `Special: value 0 means default, which is controlled by ZSTD_CLEVEL_DEFAULT`
2020-08-31 09:25:43 +02:00
Taylor Braun-Jones
105d9b62ae
Minor CMake refactoring/simplification
2020-04-09 17:16:12 -04:00
Taylor Braun-Jones
b674a1eec3
Fix that installation of the libzstd.pc does not respect DESTDIR installations
2020-04-09 17:16:12 -04:00
Taylor Braun-Jones
c22551b903
Generate a better CMake Package Config file
2020-04-09 17:16:12 -04:00
Taylor Braun-Jones
5b054d9e90
Add support for running more tests via CTest
2020-03-30 15:14:00 -04:00
Taylor Braun-Jones
496d8c8b77
Respect the conventional BUILD_TESTS CMake option on the first configure
2020-03-23 17:49:04 -04:00
Taylor Braun-Jones
3cbc3d37e7
Add documentation for -T option
2020-03-23 17:49:04 -04:00
Taylor Braun-Jones
12e421b3c0
Fix testing documentation typo
2020-03-23 17:48:59 -04:00
PhoebeHui
7738709020
Update comments
2020-01-19 23:51:40 -08:00
PhoebeHui
3e8222be58
Add vcpkg installation instructions
2020-01-17 03:31:08 -08:00
Tyler-Tran and Nick Terrell
c55d2e7ba3
Adding shrinking flag for cover and fastcover ( #1656 )
...
* Changed ERROR(GENERIC) excluding inits
* editing git ignore
* Edited init functions to size_t returns
* moved declarations earlier
* resolved issues with changes to init functions
* fixed style and an error check
* attempting to add tests that might trigger changes
* added && die to cases expecting to fail
* resolved no die on expected failed command
* fixed accel to be incorrect value
* Adding an automated shrinking option
* Fixing build
* finalizing fixes
* fix?
* Removing added comment in cover.h
* Styling fixes
* Merging with fb dev
* removing megic number for default regression
* Requested revisions
* fixing support for fast cover
* fixing casting errors
* parenthesis fix
* fixing some build nits
* resolving travis ci syntax
* might resolve all compilation issues
* removed unused variable
* remodeling the selectDict function
* fixing bad memory access
* fixing error checks
* fixed erroring check in selectDict
* fixing mixed declarations
* modify mixed declaration
* fixing nits and adding test cases
* Adding requested changes + fixed bug for error checking
* switched double comparison from != to <
* fixed declaration typing
* refactoring COVER_best_finish() and changing shrinkDict
* removing the const's
* modifying ZDICT_optimizeTrainFromBuffer_cover functions
* fixing potential bad memcpy
* fixing the error function for dict size
2019-06-27 16:26:57 -07:00
Yosuke Tanigawa and GitHub
f46a3603c9
Update README.md
...
Fix minor typo in the documentation.
2019-06-05 09:11:21 -07:00
Tyler-Tran and Nick Terrell
cb47871a0a
[dictBuilder] Be more specific than ERROR(generic) ( #1616 )
...
* Specify errors at a finer granularity than `ERROR(generic)`.
* Add tests for bad parameters in the dictionary builder.
2019-05-22 18:57:50 -07:00
Li-Wen Hsu
1a6f2b4f7f
Change Cirrus CI's badge to dev branch
2019-01-31 05:37:04 +08:00
Li-Wen Hsu
281c7970ac
Add Cirrus-CI build status badge
2019-01-17 03:43:02 +08:00
Li-Wen Hsu
1828c2619c
Add Cirrus-CI config for FreeBSD builds
2019-01-17 03:42:14 +08:00
Li-Wen Hsu
6ff9d5e881
Include unistd.h on unix platforms for explicit function declaration
2019-01-16 04:55:43 +08:00
ko-zu
b053bec2f4
Fix largeNbDicts bench for clangbuild
...
Remove unsigned to size_t promotion to fix implicit down conversion errors in clangbuild target.
2018-09-17 13:09:08 +09:00
ko-zu
18b4a1da61
Fix clang build
...
Fix dixygen comment
Fix clang binary path
2018-09-16 10:27:02 +09:00
Jesse Talavera-Greenberg and GitHub
2f70fbf2a3
Made -H's printout specify the semantics of -T0
2018-03-12 20:43:32 -04:00
ne-sted
50aea2f293
cli: fix align of defaults
2018-01-24 15:07:22 +02:00
-
7ec315df0d
fix previous commit
...
* struct _stat64 is not defined by (non-w64) MinGW releases, __stat64 should be everywhere
* proper detection of _stat64() availability (as in MinGW sys/stat.h)
2017-02-10 13:27:43 +01:00
-
19f61b534e
use _stat64 only when targetting Win2k or later
2017-02-10 10:56:45 +01:00
jungle-boogie and GitHub
6c7e7ddee9
gmake necessary on *BSD systems.
2016-09-20 10:15:16 -07:00
r-lyeh
0da7941a72
Bugfixed Visual Studio errors when compiled as C++ sources
2015-01-26 10:24:04 +01:00