mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2024-12-14 10:13:05 +02:00
Disable meson for all but debug builds.
The meson builds are still experimental so for now the configure/make build process is preferred for release builds. This message should help prevent any automated build systems from picking up meson instead.
This commit is contained in:
parent
665da12ae7
commit
9fd85a104a
@ -23,6 +23,13 @@ project(
|
|||||||
# Selected C compiler
|
# Selected C compiler
|
||||||
cc = meson.get_compiler('c')
|
cc = meson.get_compiler('c')
|
||||||
|
|
||||||
|
####################################################################################################################################
|
||||||
|
# Error on release builds since we do not want anyone using meson for production yet
|
||||||
|
####################################################################################################################################
|
||||||
|
if get_option('buildtype') != 'debug'
|
||||||
|
error('meson is currently not supported for release builds')
|
||||||
|
endif
|
||||||
|
|
||||||
####################################################################################################################################
|
####################################################################################################################################
|
||||||
# OS-specific settings
|
# OS-specific settings
|
||||||
####################################################################################################################################
|
####################################################################################################################################
|
||||||
|
@ -688,7 +688,9 @@ eval
|
|||||||
# Setup build if it does not exist
|
# Setup build if it does not exist
|
||||||
if (!-e $strBuildPath)
|
if (!-e $strBuildPath)
|
||||||
{
|
{
|
||||||
executeTest("meson setup -Dwerror=true -Dfatal-errors=true ${strBuildPath} ${strBackRestBase}");
|
executeTest(
|
||||||
|
"meson setup -Dwerror=true -Dfatal-errors=true -Dbuildtype=debug ${strBuildPath}" .
|
||||||
|
" ${strBackRestBase}");
|
||||||
}
|
}
|
||||||
|
|
||||||
# Build code
|
# Build code
|
||||||
|
Loading…
Reference in New Issue
Block a user