Skip to content

Commit 7a6fa2d

Browse files
committed
RONDB-968: Disable PGO build. No NDB cluster available at build time
1 parent 5f2820b commit 7a6fa2d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

storage/ndb/rest-server/rest-api-server/CMakeLists.txt

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ if(WITH_RDRS)
2323
endif()
2424

2525
# Use PGO for release builds, skip for debug builds (faster compilation)
26-
if(WITH_DEBUG)
26+
# if(WITH_DEBUG)
2727
set(RDRS_MAKE_TARGET rdrs)
2828
set(RDRS_BUILD_COMMENT "Building RonDB REST API Server (Debug - no PGO)")
29-
else()
30-
set(RDRS_MAKE_TARGET pgo-build)
31-
set(RDRS_BUILD_COMMENT "Building RonDB REST API Server with PGO")
32-
endif()
29+
# else()
30+
# set(RDRS_MAKE_TARGET pgo-build)
31+
# set(RDRS_BUILD_COMMENT "Building RonDB REST API Server with PGO")
32+
# endif()
3333

3434
add_custom_target(rdrs ALL
3535
COMMAND ${CMAKE_MAKE_PROGRAM} ${RDRS_MAKE_TARGET} RDRS_LIB_DIR=${RDRS_CLIENT_LIB_DIR} OUTPUT_DIR=${RDRS_OUTPUT_DIR}

0 commit comments

Comments
 (0)