Skip to content

Commit d37bf16

Browse files
authored
Merge pull request #5514 from inikep/PS-9533-8.0
PS-9533 [8.0]: Introduce cmake option to enable probuilds
2 parents 7085d8b + 4fdcaa6 commit d37bf16

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2225,6 +2225,9 @@ ENDIF()
22252225

22262226
option(WITH_PERCONA_TELEMETRY "Build Percona Telemetry component" OFF)
22272227

2228+
option(WITH_PERCONA_PROBUILD "Build Percona Server Pro variant" OFF)
2229+
option(PROBUILD "Build Percona Server Pro variant (an alias for WITH_PERCONA_PROBUILD)" OFF)
2230+
22282231
# Utility target to build every executable tagged with ADD_TEST.
22292232
ADD_CUSTOM_TARGET(unittest_all)
22302233

config.h.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
#cmakedefine HAVE_GCC_SYNC_BUILTINS 1
179179
#cmakedefine HAVE_VALGRIND
180180
#cmakedefine HAVE_PERCONA_TELEMETRY
181+
#cmakedefine HAVE_PERCONA_PROBUILD
181182
#cmakedefine HAVE_SYS_GETTID 1
182183
#cmakedefine HAVE_PTHREAD_GETTHREADID_NP 1
183184
#cmakedefine HAVE_PTHREAD_THREADID_NP 1

configure.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,11 @@ IF(WITH_PERCONA_TELEMETRY)
556556
SET(HAVE_PERCONA_TELEMETRY 1)
557557
ENDIF()
558558

559+
IF(WITH_PERCONA_PROBUILD OR PROBUILD)
560+
SET(MYSQL_SERVER_SUFFIX "-pro")
561+
SET(HAVE_PERCONA_PROBUILD 1)
562+
ENDIF()
563+
559564
# Check for gettid() system call
560565
CHECK_C_SOURCE_COMPILES("
561566
#include <sys/types.h>

0 commit comments

Comments
 (0)