Tarantool development patches archive
 help / color / mirror / Atom feed
From: Alexander Turenko <alexander.turenko@tarantool.org>
To: Georgy Kirichenko <georgy@tarantool.org>
Cc: AKhatskevich <avkhatskevich@tarantool.org>,
	tarantool-patches@freelists.org
Subject: [tarantool-patches] [PATCH v2 3/3] test: add LTO targets into CI
Date: Mon, 15 Oct 2018 02:17:39 +0300	[thread overview]
Message-ID: <49324060ec8f917b7fa350fbd761d14626cae14d.1539556251.git.alexander.turenko@tarantool.org> (raw)
In-Reply-To: <cover.1539556251.git.alexander.turenko@tarantool.org>

From: AKhatskevich <avkhatskevich@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
-- 
2.19.1

  parent reply	other threads:[~2018-10-14 23:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-14 23:17 [tarantool-patches] [PATCH v2 0/3] Add LTO support Alexander Turenko
2018-10-14 23:17 ` [tarantool-patches] [PATCH v2 1/3] test: prevent guard-breaker optimization with LTO Alexander Turenko
2018-10-14 23:17 ` [tarantool-patches] [PATCH v2 2/3] Add LTO support Alexander Turenko
2018-10-16 18:09   ` [tarantool-patches] " Konstantin Osipov
2018-10-17  7:13     ` Alexander Turenko
2018-10-25 11:17       ` Georgy Kirichenko
2018-10-14 23:17 ` Alexander Turenko [this message]
2018-10-25 11:16   ` [tarantool-patches] Re: [PATCH v2 3/3] test: add LTO targets into CI Georgy Kirichenko
2018-10-25 12:18 ` [tarantool-patches] Re: [PATCH v2 0/3] Add LTO support Kirill Yukhin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49324060ec8f917b7fa350fbd761d14626cae14d.1539556251.git.alexander.turenko@tarantool.org \
    --to=alexander.turenko@tarantool.org \
    --cc=avkhatskevich@tarantool.org \
    --cc=georgy@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --subject='Re: [tarantool-patches] [PATCH v2 3/3] test: add LTO targets into CI' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox