Defend against -ffast-math in meson builds - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Defend against -ffast-math in meson builds
Date
Msg-id abFXfKC8zR0Oclon@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
Responses Re: Defend against -ffast-math in meson builds
Re: Defend against -ffast-math in meson builds
List pgsql-hackers
Hi hackers,

while working on a patch (not shared yet), I had issues with floating-point and
realized that we don't defend against -ffast-math in meson builds. We defend
against in autoconf (because we don't want fast-math optimizations [1]), so the
attached does the same for meson.

[1]: https://postgr.es/m/424007.1644003689%40sss.pgh.pa.us

Regards,

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com

Attachment

pgsql-hackers by date:

Previous
From: Nazir Bilal Yavuz
Date:
Subject: Re: Speed up COPY FROM text/CSV parsing using SIMD
Next
From: Boris Mironov
Date:
Subject: Re: Idea to enhance pgbench by more modes to generate data (multi-TXNs, UNNEST, COPY BINARY)