pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Justin Pryzby <pryzby@telsasoft.com>
To: Andres Freund <andres@anarazel.de>
Cc: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: wangw.fnst@fujitsu.com, Tom Lane <tgl@sss.pgh.pa.us>
Cc: Nathan Bossart <nathandbossart@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: Thomas Munro <thomas.munro@gmail.com>
Cc: samay sharma <smilingsamay@gmail.com>
Cc: Nazir Bilal Yavuz <byavuz81@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [RFC] building postgres with meson - v13
Date: Fri, 23 Dec 2022 10:51:08 -0600
Message-ID: <20221223165108.GS1153@telsasoft.com> (raw)
In-Reply-To: <20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de>
References: <20220922150550.pscsjv4nwnslupeg@awork3.anarazel.de>
	<20220922200533.GA697326@nathanxps13>
	<20220922202809.4touie37lfafyabw@awork3.anarazel.de>
	<20220922223729.GA721620@nathanxps13>
	<2298281.1664041949@sss.pgh.pa.us>
	<20220924180955.2hevwoniwsj2q2tm@awork3.anarazel.de>
	<c5736f70-bb6d-8d25-e35c-e3d886e4e905@enterprisedb.com>
	<20220926163516.ftxjmoljjwyy4m2q@awork3.anarazel.de>
	<20220926194435.4hhrwu7d6anrapc3@awork3.anarazel.de>
	<20220927011951.j3h4o7n6bhf7dwau@awork3.anarazel.de>

> From 680ff3f7b4da1dbf21d0c7cd87af9bb5ee8b230c Mon Sep 17 00:00:00 2001
> From: Andres Freund <andres@anarazel.de>
> Date: Wed, 21 Sep 2022 20:36:36 -0700
> Subject: [PATCH v17 01/23] meson: ci: wip: move compilerwarnings task to meson

>    always:
>      gcc_warning_script: |
> -      time ./configure \
> -        --cache gcc.cache \
> -        --enable-dtrace \
> -        ${LINUX_CONFIGURE_FEATURES} \
> -        CC="ccache gcc" CXX="ccache g++" CLANG="ccache clang"
> -      make -s -j${BUILD_JOBS} clean
> -      time make -s -j${BUILD_JOBS} world-bin
> +      mkdir build && cd build
> +      CC="ccache gcc" CXX="ccache g++" \
> +        meson setup \
> +          -Dwerror=true \
> +          -Dcassert=false \
> +          -Ddtrace=enabled \
> +          ${LINUX_MESON_FEATURES} \
> +          ..
> +      time ninja -j${BUILD_JOBS}

With gcc, autoconf uses -O2, so I think this should specify
buildtype=debugoptimized, or pass -Doptimization=2.  Otherwise it ends
up in release mode with -O3.





view thread (81+ messages)

Message-ID: <20221223165108.GS1153@telsasoft.com>
Permalink:  ../20221223165108.GS1153@telsasoft.com/
Also on:    postgresql.org/message-id/20221223165108.GS1153@telsasoft.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-hackers@postgresql.org
  Cc: pryzby@telsasoft.com, andres@anarazel.de, peter.eisentraut@enterprisedb.com, pg@bowt.ie, tgl@sss.pgh.pa.us, nathandbossart@gmail.com, andrew@dunslane.net, thomas.munro@gmail.com, smilingsamay@gmail.com, byavuz81@gmail.com
  Subject: Re: [RFC] building postgres with meson - v13
  In-Reply-To: <20221223165108.GS1153@telsasoft.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox