Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0c6040d

Browse files
committed
Add meson.build file to support building from the contrib source tree.
1 parent 1c62e00 commit 0c6040d

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

‎meson.build‎

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
# Copyright (c) 2025, Postgres Professional
2+
3+
# Does not support the PGXS infrastructure at this time. Please, compile as part
4+
# of the contrib source tree.
5+
6+
vops_sources = files(
7+
'deparse.c',
8+
'vops.c',
9+
'vops_fdw.c',
10+
)
11+
12+
if host_system == 'windows'
13+
vops_sources += rc_lib_gen.process(win32ver_rc, extra_args: [
14+
'--NAME', '_int',
15+
'--FILEDESC', 'VOPS - vectorized operations for PostgreSQL',])
16+
endif
17+
18+
vops = shared_module('vops',
19+
vops_sources,
20+
kwargs: contrib_mod_args + {
21+
'dependencies': contrib_mod_args['dependencies'] + [libpq],
22+
},
23+
)
24+
contrib_targets += vops
25+
26+
install_data(
27+
'vops.control',
28+
'vops--1.0--1.1.sql',
29+
'vops--1.1.sql',
30+
kwargs: contrib_data_args,
31+
)
32+
33+
tests += {
34+
'name': 'vops',
35+
'sd': meson.current_source_dir(),
36+
'bd': meson.current_build_dir(),
37+
'regress': {
38+
'sql': [
39+
'test',
40+
],
41+
},
42+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /