mirror of
https://github.com/postgres/postgres.git
synced 2025-10-16 17:07:43 +03:00
meson: Build numeric.c with -ftree-vectorize.
autoconf builds have compiled this file with -ftree-vectorize since
commit 8870917623
, but meson builds seem to have missed the memo.
Reviewed-by: Jeff Davis <pgsql@j-davis.com>
Discussion: https://postgr.es/m/aL85CeasM51-0D1h%40nathan
Backpatch-through: 16
This commit is contained in:
@@ -1,5 +1,15 @@
|
||||
# Copyright (c) 2022-2025, PostgreSQL Global Development Group
|
||||
|
||||
# Some code in numeric.c benefits from auto-vectorization
|
||||
numeric_backend_lib = static_library('numeric_backend_lib',
|
||||
'numeric.c',
|
||||
dependencies: backend_build_deps,
|
||||
kwargs: internal_lib_args,
|
||||
c_args: vectorize_cflags,
|
||||
)
|
||||
|
||||
backend_link_with += numeric_backend_lib
|
||||
|
||||
backend_sources += files(
|
||||
'acl.c',
|
||||
'amutils.c',
|
||||
@@ -61,7 +71,6 @@ backend_sources += files(
|
||||
'network_gist.c',
|
||||
'network_selfuncs.c',
|
||||
'network_spgist.c',
|
||||
'numeric.c',
|
||||
'numutils.c',
|
||||
'oid.c',
|
||||
'oracle_compat.c',
|
||||
|
Reference in New Issue
Block a user