Movatterモバイル変換


[0]ホーム

URL:


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

Commitc2f0ad5

Browse files
committed
Add meson.build file to support building from the contrib source tree.
1 parent8ca0f71 commitc2f0ad5

File tree

1 file changed

+96
-0
lines changed

1 file changed

+96
-0
lines changed

‎meson.build

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
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+
rum_sources=files(
7+
'src/btree_rum.c',
8+
'src/rum_arr_utils.c',
9+
'src/rum_ts_utils.c',
10+
'src/rumbtree.c',
11+
'src/rumbulk.c',
12+
'src/rumdatapage.c',
13+
'src/rumentrypage.c',
14+
'src/rumget.c',
15+
'src/ruminsert.c',
16+
'src/rumscan.c',
17+
'src/rumsort.c',
18+
'src/rumtsquery.c',
19+
'src/rumutil.c',
20+
'src/rumvacuum.c',
21+
'src/rumvalidate.c',
22+
)
23+
24+
if host_system=='windows'
25+
rum_sources+= rc_lib_gen.process(win32ver_rc,extra_args: [
26+
'--NAME','rum',
27+
'--FILEDESC','rum - provides access method to work with the RUM indexes.',])
28+
endif
29+
30+
rum=shared_module('rum',
31+
rum_sources,
32+
kwargs: contrib_mod_args,
33+
)
34+
contrib_targets+= rum
35+
36+
install_data(
37+
'rum.control',
38+
'rum--1.0--1.1.sql',
39+
'rum--1.0.sql',
40+
'rum--1.1--1.2.sql',
41+
'rum--1.1.sql',
42+
'rum--1.2--1.3.sql',
43+
'rum--1.2.sql',
44+
'rum--1.3.sql',
45+
kwargs: contrib_data_args,
46+
)
47+
48+
tests+= {
49+
'name':'rum',
50+
'sd':meson.current_source_dir(),
51+
'bd':meson.current_build_dir(),
52+
'regress': {
53+
'sql': [
54+
'security',
55+
'rum',
56+
'rum_validate',
57+
'rum_hash',
58+
'ruminv',
59+
'timestamp',
60+
'orderby',
61+
'orderby_hash',
62+
'altorder',
63+
'altorder_hash',
64+
'limits',
65+
'int2',
66+
'int4',
67+
'int8',
68+
'float4',
69+
'float8',
70+
'money',
71+
'oid',
72+
'time',
73+
'timetz',
74+
'date',
75+
'interval',
76+
'macaddr',
77+
'inet',
78+
'cidr',
79+
'text',
80+
'varchar',
81+
'char',
82+
'bytea',
83+
'bit',
84+
'varbit',
85+
'numeric',
86+
'rum_weight',
87+
'expr',
88+
'array',
89+
],
90+
},
91+
'tap': {
92+
'tests': [
93+
't/001_wal.pl',
94+
],
95+
},
96+
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp