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:
|
2024-05-07 21:19:44 +03:00
|
|
|
# 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
|
2024-05-07 21:19:44 +03:00
|
|
|
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:
|
2024-05-07 21:19:44 +03:00
|
|
|
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: '*'
|
2023-10-26 00:51:07 +03:00
|
|
|
script: pkg-config --modversion rdkafka | grep {{version}}
|