pantry/projects/github.com/confluentinc/librdkafka/package.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2023-05-06 19:16:01 +03:00
distributable:
url: https://github.com/confluentinc/librdkafka/archive/refs/tags/v{{version}}.tar.gz
strip-components: 1
versions:
# wtf? this works locally but not in GHA. we've seen this before...
# github: confluentinc/librdkafka
url: https://api.github.com/repos/confluentinc/librdkafka/releases?per_page=100&page=1
match: '/"tag_name":"v\d+\.\d+\.\d+",/'
strip:
- '/^"tag_name":"v/'
- /",$/
2023-05-06 19:16:01 +03:00
dependencies:
lz4.org: '*'
zlib.net: '*'
2023-07-12 21:49:31 +03:00
openssl.org: '^1.1'
2023-05-06 19:16:01 +03:00
facebook.com/zstd: '*'
curl.se: '*'
build:
dependencies:
2023-10-03 18:23:56 +03:00
python.org: ~3.11
linux:
llvm.org: '*'
script:
- ./configure --prefix="{{prefix}}"
- make --jobs {{ hw.concurrency }}
- make --jobs {{ hw.concurrency }} install
2023-05-06 19:16:01 +03:00
env:
linux:
# undefined symbol errors in newer llvms prevent building shared libs
LDFLAGS: $LDFLAGS -Wl,--undefined-version
CC: clang
CXX: clang++
LD: clang
AR: llvm-ar
AS: llvm-as
2023-05-06 19:16:01 +03:00
test:
dependencies:
freedesktop.org/pkg-config: '*'
script: pkg-config --modversion rdkafka | grep {{version}}