diff options
author | Lzu Tao <taolzu@gmail.com> | 2018-12-02 22:57:18 +0700 |
---|---|---|
committer | Lzu Tao <taolzu@gmail.com> | 2018-12-03 22:48:37 +0700 |
commit | 7b6ccfe52c2c21cf7d969e5b4148645b253e2854 (patch) | |
tree | 6665aa9ad7421259b12acdbba3c144a2a8ee392c /.travis.yml | |
parent | e2fc6bcd1c098f55ca92467edacbb27b99942b6f (diff) | |
download | lz4-7b6ccfe52c2c21cf7d969e5b4148645b253e2854.tar.gz lz4-7b6ccfe52c2c21cf7d969e5b4148645b253e2854.tar.bz2 lz4-7b6ccfe52c2c21cf7d969e5b4148645b253e2854.zip |
meson: Use clang for faster build
"ninja install" automatically builds the project, no need to
use "ninja"
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml index 043f932..66da011 100644 --- a/.travis.yml +++ b/.travis.yml @@ -168,10 +168,14 @@ script: && curl "https://bootstrap.pypa.io/get-pip.py" -o "get-pip.py" && python3 get-pip.py --user && rm get-pip.py && pip3 install --user meson ninja - && meson --buildtype=debug -Dauto_features=enabled -Ddefault_library=both - -Dbuild_{programs,contrib,tests,examples}=true contrib/meson build + && export CC=clang CXX=clang++ + && meson --buildtype=debug + -Db_lundef=false + -Dauto_features=enabled + -Ddefault_library=both + -Dbuild_{programs,contrib,tests,examples}=true + contrib/meson build && cd "$_" - && ninja && DESTDIR=./staging ninja install && tree ./staging; travis_terminate "$?"; |