Yann Collet
be3d2e2de8
Merge pull request #1679 from ephiepark/dev
...
Restructure the source files
2019-07-19 15:29:07 -07:00
Ephraim Park
1dc98de279
Restructure the source files
2019-07-15 17:39:18 -07:00
Lzu Tao
132a1ad291
meson: Always build gen_html on build machine
...
Because we use gen_html as a generator instead of a binary to
run on host machine.
2019-06-29 02:22:39 +07:00
Lzu Tao
8e590a1af3
meson: Fix deprecated build warnings on build options
...
Meson now reserves the `build_` prefix for options
2019-06-29 02:22:39 +07:00
lzutao
1d70bc3ba9
meson: Enable testing in CI ( #1609 )
...
* tests: Fix shellcheck warnings in playTests.sh
* tests: Do not use ../programs which is relative to tests dirs
This commit fixes error when running playTests.sh in Meson.
Mesonbuild runs out of tree, so ./datagen not in `zstd/tests` dir,
it lies in <mesonbuilddir>/tests. This leads to ../programs invalid.
* tests: Replace relative paths for zstd/tests dir
* playTests: Set shell options explicitly, not in shebang
* playTests: Replace echo -e with printf
* meson: Fix test-zstd
Use std=gnu99 to build and test just like `make test`.
* meson: Fix legacy test
* meson: Enable testing in CI
Run build under release mode for faster test time.
* meson: Increase timeout time for test-zstream
2019-05-02 12:35:37 -07:00
Lzu Tao
5d900ff747
meson: Error out if fail to extracted version number
2019-04-30 13:12:00 +07:00
Lzu Tao
4107b734bd
meson: Update default project version
...
* Update to use ninja v1.9.0 on CI
2019-04-27 01:42:22 +07:00
Lzu Tao
6c9b023f3e
meson: Fix build
2019-04-12 21:28:36 +07:00
Peter (Stig) Edwards
188c748208
-Wformat-security not needed with -Wformat=2
2019-02-01 09:30:31 +00:00
Yann Collet
bad7ed161a
Merge pull request #1483 from lzutao/meson-readme
...
meson: Update build guide
2018-12-28 09:46:13 -08:00
Lzu Tao
787a72cdfe
meson: Correct generating pkgconf after Meson v0.49.0
2018-12-28 11:20:33 +07:00
Lzu Tao
226cdffd69
meson: Update build guide [skip ci]
2018-12-28 11:17:11 +07:00
Yann Collet
5bdbd997ae
Merge pull request #1452 from lzutao/meson_getversion
...
meson: Remove unused sys import
2018-12-14 16:50:41 -08:00
Lzu Tao
066cfc069b
meson: Remove unused sys import
2018-12-14 11:03:04 +07:00
Lzu Tao
3ee5504fb2
Simplify logic by setting default value for MESON_INSTALL_DESTDIR_PREFIX
2018-12-13 18:07:01 +07:00
Lzu Tao
ce22f76668
meson: Update man1 extension on meson 0.49.0
2018-12-13 14:58:17 +07:00
Lzu Tao
abfde03cb5
meson: Update meson symlink script usage
2018-12-13 14:58:17 +07:00
Lzu Tao
fa2fc274fd
meson: Correct support for building on Windows
...
Let soversion base on version if not set. For example, if version is 3.6.0
and soversion is not defined, it is set to 3.
2018-12-13 14:58:17 +07:00
Lzu Tao
67babb6d23
Replace many os.path methods with pathlib one's
...
Use MESON_INSTALL_DESTDIR_PREFIX variable instead of DESTDIR.
2018-12-13 14:58:17 +07:00
Lzu Tao
f897523655
meson: Update usage of InstallSymlink helper
2018-12-03 11:02:42 +07:00
Lzu Tao
9d6cf606f8
meson: Update tests timeout to run properly
2018-12-03 03:23:09 +07:00
Lzu Tao
65507666bb
Use -Dlegacy_level build option to control ZSTD_LEGACY_SUPPORT macro in test
2018-12-03 00:36:40 +07:00
Lzu Tao
437ec5f47f
meson helper: Use Python conventional name for naming function [skip ci]
2018-12-02 22:48:11 +07:00
Lzu Tao
838de08439
meson: Fix soversion
2018-12-02 22:45:46 +07:00
Lzu Tao
23d751507e
meson: Use -werror build option instead of adding -Werror [skip ci]
2018-12-02 22:33:43 +07:00
Lzu Tao
38728b4518
Use argparse instead of manually parsing [skip ci]
2018-12-02 22:33:43 +07:00
Lzu Tao
7da18bc85a
Add missed .1 extension for manpage [skip ci]
2018-12-02 00:18:00 +07:00
Lzu Tao
cbf2a924dd
meson: Cleanup installing symlinks
2018-12-01 23:18:59 +07:00
Lzu Tao
519b2de6f7
Update README
2018-12-01 23:18:59 +07:00
Lzu Tao
8d5252b68d
meson: Remove redundant join_paths function
2018-12-01 23:18:59 +07:00
Lzu Tao
24bc513ea1
meson: Change build options' name
2018-12-01 23:18:59 +07:00
Lzu Tao
39f49ac39f
Add almost all test cases in tests/Makefile
2018-12-01 23:18:59 +07:00
Lzu Tao
c55d65b35d
Add clang cflags
2018-12-01 23:18:59 +07:00
Lzu Tao
0a0683f5b2
Initial support for Windows build
2018-12-01 23:18:59 +07:00
Lzu Tao
2337429e8d
Change tabsize
2018-12-01 23:18:59 +07:00
Lzu Tao
c4fb45ffe8
Add comment about looking for dependencies
2018-12-01 23:18:59 +07:00
Lzu Tao
918e0d5c36
Rename some meson build options to match autoconf convention
2018-12-01 23:18:59 +07:00
Lzu Tao
9ac9cbc9de
Enable debugging flag
2018-12-01 23:18:59 +07:00
Lzu Tao
0669392937
Update relevant files after moving meson to build/
...
Update meson build instructions
2018-12-01 23:18:59 +07:00
Lzu Tao
beb13bd87e
Move contrib/meson to build/meson
2018-12-01 23:18:59 +07:00