Alexander Mohr
0ac3c74de1
review: fix findings
...
* replace assert with test for LZ4F_uncompressedUpdate
* update documentation to incldue correct docstring
* remove unecessary entry point
* remove compress_linked_block_mode from fuzzing test
Signed-off-by: Alexander Mohr <alexander.m.mohr@mercedes-benz.com>
2022-07-05 21:14:34 +02:00
Alexander Mohr
af447b22c8
meson: fix meson build
...
add static dependency to examples
2022-06-12 00:41:55 +02:00
Dan Yeaw
8507c93f2e
Fix default_library undeclared error in Windows
2022-04-15 13:45:25 -04:00
Dan Yeaw
787b0da6cc
Fix incorrect meson build option for programs
2022-04-12 20:33:32 -04:00
Tristan Partin
6c1a39e701
Fixup meson build
...
The meson build had gotten a little out of hand. It needed to be cleaned
up and have its errors fixed. This should enable lz4 to switch to Meson
at any time should the need ever arise.
2022-02-09 12:04:53 -06:00
Eli Schwartz
e7e5dd883a
meson: simplify version lookup and avoid deprecation warnings
...
run_command() in development versions of meson will warn when the
`check: ` kwarg is not specified. At the same time, lz4 has some gnarly
code to manually check the return code and raise an error if it failed.
Kill two birds with one stone, by making run_command inherently raise a
fatal error when erroring out, then proceeding in the knowledge that it
must have succeeded.
2021-12-14 18:21:09 -05:00
Rosen Penev
4ebc792cab
meson: remove build requirement for distutils
...
Tested on a default installation of Debian 10.
Same as https://github.com/facebook/zstd/pull/2197
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-07-21 15:27:22 -07:00
Julius Michaelis
b6623e710d
meson: move one layer deeper to allow easy construction of a wrap file
2019-09-26 17:29:04 +09:00
Lzu Tao
ff27a1572b
meson: Always build gen_manual on build machine
...
As gen_manual is using as a generator, not a binary target
installed on host machine.
2019-06-29 10:11:32 +07:00
Lzu Tao
4c60f25c65
meson: Fix deprecated warnings on build options
...
Meson now reserves `build_` prefix options.
2019-06-29 10:10:05 +07:00
Lzu Tao
cb1be75c84
meson: Rely only on extracted version in lz4.h
...
So now instead of warning when failing to extract version number
from lz4.h, we error and stop the build instead.
2019-04-30 12:25:40 +07:00
Lzu Tao
dd54ea01a2
contrib: Make Meson build non optional
...
* Update ninja version to 1.9 in CI.
* Update default project version in meson script.
2019-04-27 01:41:03 +07:00
Lzu Tao
929dbbcddf
meson: Add -DLZ4_DLL_EXPORT=1 to build dynamic lib on Windows
...
Thanks @nacho for pointing it out.
2019-01-23 15:40:26 +07:00
Lzu Tao
d2288d2cc0
meson: Favor warning if cannot find version string
2019-01-11 02:34:16 +07:00
Lzu Tao
4765ad88bd
meson: Use libray as required argument in pkgconfig
2019-01-11 02:33:27 +07:00
Lzu Tao
b3b22b9660
meson: Explicit use meson setup
to setup a builddir
2019-01-11 02:32:39 +07:00
Yann Collet
6e24ef902a
Merge pull request #620 from lzutao/meson_symlink
...
Update meson symlink and man1 extension
2018-12-17 09:32:01 -08:00
Lzu Tao
e23d0fb908
meson: Remove unused sys import
2018-12-14 11:12:22 +07:00
Lzu Tao
34dcc5e16d
Simplify logic by setting default value for MESON_INSTALL_DESTDIR_PREFIX
2018-12-13 18:08:01 +07:00
Lzu Tao
7f8b0175a9
meson: Update man1 extension in meson 0.49.0
2018-12-13 14:52:51 +07:00
Lzu Tao
54dabaa16c
meson: Update InstallSymlink.py usage
...
Change default directory mode to 755.
2018-12-13 14:31:15 +07:00
Lzu Tao
58d8055da6
meson: Add README.md for newcomers [skip ci]
2018-12-09 18:57:49 +07:00
Lzu Tao
fbc42958c0
No need to join prefix and let soversion base on version
2018-12-04 10:18:54 +07:00
Lzu Tao
4c43d14891
Use MESON_INSTALL_DESTDIR_PREFIX instead of DESTDIR
2018-12-04 10:18:01 +07:00
Lzu Tao
b4ab8875f9
meson: Add fallback message when not found lz4.h
2018-12-04 00:59:06 +07:00
Lzu Tao
2491af993b
meson: Fix wrong path to lib/lz4.h
2018-12-04 00:56:10 +07:00
Lzu Tao
0caeec939f
meson: Correct support for Windows build
2018-12-03 22:48:37 +07:00
Lzu Tao
e2fc6bcd1c
meson: Update usage of InstallSymlink helper
2018-12-03 22:48:37 +07:00
Lzu Tao
4fe675af1c
Use argparse instead of manually parsing [skip ci]
2018-12-03 19:19:21 +07:00
Lzu Tao
a9e96d5c5a
meson: Fix soversion and generated pkg-config file [skip ci]
2018-12-03 19:19:02 +07:00
Lzu Tao
4fc4b73586
meson: Use --werror build option instead of passing -Werror [skip ci]
2018-12-03 19:19:02 +07:00
Lzu Tao
5699432d38
meson test: Update timeout and tests that use COPYING
2018-12-03 19:19:02 +07:00
Lzu Tao
5bc119455f
Add meson build system
2018-12-02 10:00:27 +07:00