aboutsummaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorpg <pg@yandex-team.com>2023-09-12 19:51:53 +0300
committerpg <pg@yandex-team.com>2023-09-12 21:02:57 +0300
commit649f52e6aebf72b5b0c31dc87c29ec65a4508c89 (patch)
tree2c19a732e1b27271235ebdc6f676695d16ad9f0b /build
parent072f9d9dcb0d8c49f609c031c42a95f686abb20c (diff)
downloadydb-649f52e6aebf72b5b0c31dc87c29ec65a4508c89.tar.gz
Diffstat (limited to 'build')
-rw-r--r--build/ymake.core.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/ymake.core.conf b/build/ymake.core.conf
index 3260ebadfc..3cb5e862f7 100644
--- a/build/ymake.core.conf
+++ b/build/ymake.core.conf
@@ -135,6 +135,10 @@ when ($BUILD_TYPE == "PROFILE" || $BUILD_TYPE == "COVERAGE" || ($CLANG_COVERAGE
}
}
+when ($PGO_ADD == "yes") {
+ NEED_PROFILE_RUNTIME=yes
+}
+
when ($NEED_PROFILE_RUNTIME == "yes") {
COPY_PROFILE_RUNTIME=\
$YMAKE_PYTHON3 ${input:"build/scripts/copy_clang_profile_rt.py"} \