Skip to content

Commit

Permalink
Problem: citus won't build
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yrashk committed Dec 23, 2024
1 parent a995ad1 commit e1694da
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions packages/citus.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,21 @@

class Citus < Pgpm::Package
github "citusdata/citus"

def build_steps
["./configure"] + super
end

def build_dependencies
super + %w[libcurl-devel lz4-devel libzstd-devel openssl-devel krb5-devel]
end

def dependencies
super + %w[libcurl lz4 libzstd openssl krb5-libs]
end

def broken?
# https://github.com/citusdata/citus/issues/7708
Pgpm::Postgres::Distribution.in_scope.major_version > 16
end
end

0 comments on commit e1694da

Please sign in to comment.