This is an automated email from the ASF dual-hosted git repository.

kou pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow.git


The following commit(s) were added to refs/heads/main by this push:
     new 07d0a15297 GH-46888: [C++] Remove override of default buildtype in 
Meson config (#46919)
07d0a15297 is described below

commit 07d0a15297c1d537784f57a8cd0a349d58d72e85
Author: William Ayd <[email protected]>
AuthorDate: Thu Jun 26 20:17:05 2025 -0400

    GH-46888: [C++] Remove override of default buildtype in Meson config 
(#46919)
    
    ### Rationale for this change
    
    When used as a subproject in another project, this setting is either 
entirely ignored or problematic, depending on the Meson version used (see some 
upstream discussion in https://github.com/mesonbuild/wrapdb/issues/2208)
    
    ### What changes are included in this PR?
    
    Removes the override of the default build type in the Meson configuration, 
setting it back to its normal "debug" build
    
    ### Are these changes tested?
    
    Yes
    
    ### Are there any user-facing changes?
    
    No
    
    Authored-by: Will Ayd <[email protected]>
    Signed-off-by: Sutou Kouhei <[email protected]>
---
 cpp/meson.build | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/cpp/meson.build b/cpp/meson.build
index 247f3154b9..1c418e10a3 100644
--- a/cpp/meson.build
+++ b/cpp/meson.build
@@ -22,12 +22,7 @@ project(
     version: '21.0.0-SNAPSHOT',
     license: 'Apache-2.0',
     meson_version: '>=1.3.0',
-    default_options: [
-        'buildtype=release',
-        'c_std=gnu11,c11',
-        'warning_level=2',
-        'cpp_std=c++17',
-    ],
+    default_options: ['c_std=gnu11,c11', 'warning_level=2', 'cpp_std=c++17'],
 )
 
 project_args = [

Reply via email to