Tarantool development patches archive
 help / color / mirror / Atom feed
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
To: tarantool-patches@freelists.org,
	Alexander Turenko <alexander.turenko@tarantool.org>
Cc: Vladimir Davydov <vdavydov.dev@gmail.com>
Subject: Re: [tarantool-patches] Re: [PATCH 1/1] Fix gcov on Mac
Date: Fri, 21 Dec 2018 16:39:39 +0300	[thread overview]
Message-ID: <50177a66-2b14-ef8f-0d2c-94fb4f901b33@tarantool.org> (raw)
In-Reply-To: <20181221095847.pgzzjfmnx2gvum37@tkn_work_nb>

New version here and on the branch:

commit f5ebb59e481ee5fbf991330d6625638ccd42de70
Author: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
Date:   Fri Dec 21 16:38:32 2018 +0300

     Fix gcov on Mac

diff --git a/cmake/profile.cmake b/cmake/profile.cmake
index 278399155..ca80bd9c5 100644
--- a/cmake/profile.cmake
+++ b/cmake/profile.cmake
@@ -1,4 +1,6 @@
-check_library_exists (gcov __gcov_flush  ""  HAVE_GCOV)
+set(CMAKE_REQUIRED_FLAGS "-fprofile-arcs -ftest-coverage")
+check_library_exists("" __gcov_flush "" HAVE_GCOV)
+set(CMAKE_REQUIRED_FLAGS "")
  
  set(ENABLE_GCOV_DEFAULT OFF)
  option(ENABLE_GCOV "Enable integration with gcov, a code coverage program" ${ENABLE_GCOV_DEFAULT})

  parent reply	other threads:[~2018-12-21 13:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-17 11:58 Vladislav Shpilevoy
2018-12-18 10:11 ` Vladimir Davydov
2018-12-21  9:58   ` Alexander Turenko
2018-12-21 10:54     ` [tarantool-patches] " Vladislav Shpilevoy
2018-12-21 13:39     ` Vladislav Shpilevoy [this message]
2018-12-21 13:46       ` Alexander Turenko
2018-12-21 15:33       ` Vladimir Davydov

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=50177a66-2b14-ef8f-0d2c-94fb4f901b33@tarantool.org \
    --to=v.shpilevoy@tarantool.org \
    --cc=alexander.turenko@tarantool.org \
    --cc=tarantool-patches@freelists.org \
    --cc=vdavydov.dev@gmail.com \
    --subject='Re: [tarantool-patches] Re: [PATCH 1/1] Fix gcov on Mac' \
    /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