From 4ce61f431d4d5eaf1b29f8e385aa1915a29d889e Mon Sep 17 00:00:00 2001 From: anugrahjo Date: Thu, 5 Dec 2024 14:33:42 -0800 Subject: [PATCH] Relax compile-optimization restrictions to see what exactly causes macos-14 optimized results to diverge from unoptimized code. --- pyslsqp/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyslsqp/meson.build b/pyslsqp/meson.build index 5168a96..6263e58 100644 --- a/pyslsqp/meson.build +++ b/pyslsqp/meson.build @@ -5,7 +5,7 @@ slsqp_source = custom_target('_slsqpmodule.c', ) # Optimization flags for the Fortran compiler -fortran_optimization_flags = ['-O3', '-ffp-contract=off', '-fno-fast-math', '-fno-associative-math'] +fortran_optimization_flags = ['-O3', '-ffp-contract=off', '-fno-fast-math'] py.extension_module('_slsqp', ['slsqp/slsqp_optmz.f', slsqp_source], # Source files for the extension module