diff --git a/executer/kernel/mcctrl/CMakeLists.txt b/executer/kernel/mcctrl/CMakeLists.txt index e4da0470..cd048b9e 100644 --- a/executer/kernel/mcctrl/CMakeLists.txt +++ b/executer/kernel/mcctrl/CMakeLists.txt @@ -1,3 +1,9 @@ +option(ENABLE_GCOV "Enable GCOV" OFF) +if (ENABLE_GCOV) + add_compile_options("-fprofile-arcs" "-ftest-coverage") + add_link_options("-lgcov" "--coverage") +endif(ENABLE_GCOV) + file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/arch/${ARCH}) if(ARCH STREQUAL "x86_64") diff --git a/ihk b/ihk index 907ed396..797a2379 160000 --- a/ihk +++ b/ihk @@ -1 +1 @@ -Subproject commit 907ed3964fcfa818daf1bc769dd10a3298e28252 +Subproject commit 797a23795a4f724a69c521bfc744c41971b8d664