Skip to content

Commit e1694da

Browse files
committed
Problem: citus won't build
Solution: correct the dependencies and build process Also, mark it as broken on Postgres above 16, as it isn't supported yet. (See citusdata/citus#7708)
1 parent a995ad1 commit e1694da

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

packages/citus.rb

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,21 @@
22

33
class Citus < Pgpm::Package
44
github "citusdata/citus"
5+
6+
def build_steps
7+
["./configure"] + super
8+
end
9+
10+
def build_dependencies
11+
super + %w[libcurl-devel lz4-devel libzstd-devel openssl-devel krb5-devel]
12+
end
13+
14+
def dependencies
15+
super + %w[libcurl lz4 libzstd openssl krb5-libs]
16+
end
17+
18+
def broken?
19+
# https://github.com/citusdata/citus/issues/7708
20+
Pgpm::Postgres::Distribution.in_scope.major_version > 16
21+
end
522
end

0 commit comments

Comments
 (0)