mirror of
https://github.com/postgres/postgres.git
synced 2026-04-27 17:16:43 -04: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:
parent
e25453a363
commit
15f9eeef62
1 changed files with 10 additions and 1 deletions
|
|
@ -1,5 +1,15 @@
|
|||
# Copyright (c) 2022-2024, 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',
|
||||
|
|
@ -59,7 +69,6 @@ backend_sources += files(
|
|||
'network_gist.c',
|
||||
'network_selfuncs.c',
|
||||
'network_spgist.c',
|
||||
'numeric.c',
|
||||
'numutils.c',
|
||||
'oid.c',
|
||||
'oracle_compat.c',
|
||||
|
|
|
|||
Loading…
Reference in a new issue