Revision: 76033
http://sourceforge.net/p/brlcad/code/76033
Author: brlcad
Date: 2020-06-05 08:08:58 +0000 (Fri, 05 Jun 2020)
Log Message:
-----------
don't warn about function mismatches during the second profile guided pass when
compiling with clang, otherwise the cmake tests themselves will fail because
they have a mismatched main(). also don't bark if it's code we didn't run on
the first pass.
Modified Paths:
--------------
brlcad/trunk/CMakeLists.txt
Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-06-05 07:09:04 UTC (rev 76032)
+++ brlcad/trunk/CMakeLists.txt 2020-06-05 08:08:58 UTC (rev 76033)
@@ -2111,7 +2111,7 @@
# llvm-style USE
if("${pgo_flags_found}" STREQUAL "")
cmake_push_check_state()
- set(flags "fprofile-use=\"${BRLCAD_PGO_PATH}\"")
+ set(flags "fprofile-use=\"${BRLCAD_PGO_PATH}\"
-Wno-profile-instr-out-of-date -Wno-profile-instr-unprofiled")
set(CMAKE_REQUIRED_FLAGS "-${flags}")
CHECK_C_FLAG("${flags}" GROUPS OPTIMIZE_C_FLAGS VARS pgo_flags_found)
CHECK_CXX_FLAG("${flags}" GROUPS OPTIMIZE_CXX_FLAGS)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits