From: Kirill Shcherbatov <kshcherbatov@tarantool.org>
To: tarantool-patches@freelists.org
Cc: v.shpilevoy@tarantool.org
Subject: [tarantool-patches] [PATCH v2 1/3] Allow gcov on Mac
Date: Fri, 6 Apr 2018 14:08:55 +0300 [thread overview]
Message-ID: <46d208d42f42c50deb72eaa08450aba9f8ac631c.1523012909.git.kshcherbatov@tarantool.org> (raw)
In-Reply-To: <cover.1523012909.git.kshcherbatov@tarantool.org>
In-Reply-To: <cover.1523012909.git.kshcherbatov@tarantool.org>
From: Vladislav Shpilevoy <v.shpilevoy@tarantool.org>
---
cmake/profile.cmake | 9 ---------
1 file changed, 9 deletions(-)
diff --git a/cmake/profile.cmake b/cmake/profile.cmake
index 2783991..c82fc01 100644
--- a/cmake/profile.cmake
+++ b/cmake/profile.cmake
@@ -1,14 +1,7 @@
-check_library_exists (gcov __gcov_flush "" HAVE_GCOV)
-
set(ENABLE_GCOV_DEFAULT OFF)
option(ENABLE_GCOV "Enable integration with gcov, a code coverage program" ${ENABLE_GCOV_DEFAULT})
if (ENABLE_GCOV)
- if (NOT HAVE_GCOV)
- message (FATAL_ERROR
- "ENABLE_GCOV option requested but gcov library is not found")
- endif()
-
add_compile_flags("C;CXX"
"-fprofile-arcs"
"-ftest-coverage"
@@ -18,8 +11,6 @@ if (ENABLE_GCOV)
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -ftest-coverage")
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -fprofile-arcs")
set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -ftest-coverage")
-
- # add_library(gcov SHARED IMPORTED)
endif()
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug")
--
2.7.4
next prev parent reply other threads:[~2018-04-06 11:09 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-06 11:08 [tarantool-patches] [PATCH v2 0/3] JSON Paths support Kirill Shcherbatov
2018-04-06 11:08 ` Kirill Shcherbatov [this message]
2018-04-06 11:08 ` [tarantool-patches] [PATCH v2 2/3] Introduce json_path_parser with Unicode support Kirill Shcherbatov
2018-04-06 11:08 ` [tarantool-patches] [PATCH v2 3/3] Lua: implement json path access to tuple fields Kirill Shcherbatov
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=46d208d42f42c50deb72eaa08450aba9f8ac631c.1523012909.git.kshcherbatov@tarantool.org \
--to=kshcherbatov@tarantool.org \
--cc=tarantool-patches@freelists.org \
--cc=v.shpilevoy@tarantool.org \
--subject='Re: [tarantool-patches] [PATCH v2 1/3] Allow 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