[tarantool-patches] Re: [PATCH v2 3/3] test: add LTO targets into CI
Georgy Kirichenko
georgy at tarantool.org
Thu Oct 25 14:16:34 MSK 2018
Seems Ok
On Monday, October 15, 2018 2:17:39 AM MSK Alexander Turenko wrote:
> From: AKhatskevich <avkhatskevich at tarantool.org>
>
> ---
> .travis.mk | 4 ++--
> .travis.yml | 8 ++++++++
> 2 files changed, 10 insertions(+), 2 deletions(-)
>
> diff --git a/.travis.mk b/.travis.mk
> index 88335474c..1b7d05149 100644
> --- a/.travis.mk
> +++ b/.travis.mk
> @@ -40,7 +40,7 @@ deps_ubuntu:
> lcov ruby
>
> test_ubuntu: deps_ubuntu
> - cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError
> + cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError ${CMAKE_EXTRA_PARAMS}
> make -j8
> cd test && /usr/bin/python test-run.py -j 1
>
> @@ -49,7 +49,7 @@ deps_osx:
> brew install openssl readline curl icu4c --force
>
> test_osx: deps_osx
> - cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError
> + cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfoWError ${CMAKE_EXTRA_PARAMS}
> # Increase the maximum number of open file descriptors on macOS
> sudo sysctl -w kern.maxfiles=20480 || :
> sudo sysctl -w kern.maxfilesperproc=20480 || :
> diff --git a/.travis.yml b/.travis.yml
> index a9d1036da..dbd8c91c0 100644
> --- a/.travis.yml
> +++ b/.travis.yml
> @@ -33,6 +33,14 @@ matrix:
> os: osx
> - name: Debug build + test + coverage (Linux, gcc)
> env: TARGET=coverage
> + - name: LTO build + test (Linux, gcc)
> + env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
> + - name: LTO build + test (Linux, clang)
> + env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
> + compiler: clang
> + - name: LTO build + test (OS X)
> + os: osx
> + env: TARGET=test CMAKE_EXTRA_PARAMS=-DENABLE_LTO=ON
> - name: CentOS 6 build + test + deploy RPM
> env: OS=el DIST=6
> - name: CentOS 7 build + test + deploy RPM
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20181025/c705a1e6/attachment.sig>
More information about the Tarantool-patches
mailing list