From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTP id 6601F2BE2C for ; Sun, 14 Oct 2018 19:17:26 -0400 (EDT) Received: from turing.freelists.org ([127.0.0.1]) by localhost (turing.freelists.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id baZR9go8fJUc for ; Sun, 14 Oct 2018 19:17:26 -0400 (EDT) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by turing.freelists.org (Avenir Technologies Mail Multiplex) with ESMTPS id C22212BE07 for ; Sun, 14 Oct 2018 19:17:25 -0400 (EDT) From: Alexander Turenko Subject: [tarantool-patches] [PATCH v2 0/3] Add LTO support Date: Mon, 15 Oct 2018 02:17:20 +0300 Message-Id: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: tarantool-patches-bounce@freelists.org Errors-to: tarantool-patches-bounce@freelists.org Reply-To: tarantool-patches@freelists.org List-help: List-unsubscribe: List-software: Ecartis version 1.0.0 List-Id: tarantool-patches List-subscribe: List-owner: List-post: List-archive: To: Georgy Kirichenko Cc: Alexander Turenko , tarantool-patches@freelists.org Changes since the last Alex's patch: * Discarded submodules update in order to use `set(CMAKE_POLICY_DEFAULT_CMP0069 NEW)` (deleted the branches). * Splitted ld / gold version parsing. * Always give an error when LTO is requested, but cannot be enabled for some reason. * Added more comments to cmake/lto.cmake. * Suppressed -Wlto-type-mismatch wargings, filed #3742. * Noted that LuaJIT will not be subject for LTO, filed #3743. * Rebased on top of fresh 1.10, rewrote CI targets definitions. https://github.com/tarantool/tarantool/issues/3117 https://github.com/tarantool/tarantool/tree/kh/gh-3117-lto-3 https://travis-ci.org/tarantool/tarantool/builds/441418628 AKhatskevich (3): test: prevent guard-breaker optimization with LTO Add LTO support test: add LTO targets into CI .travis.mk | 4 +- .travis.yml | 8 ++++ CMakeLists.txt | 3 ++ cmake/lto.cmake | 95 ++++++++++++++++++++++++++++++++++++++++++++++ test/unit/guard.cc | 6 ++- 5 files changed, 113 insertions(+), 3 deletions(-) create mode 100644 cmake/lto.cmake -- 2.19.1