File: prepare-cibuildwheel-linux.sh

package info (click to toggle)
python-confluent-kafka 2.12.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,232 kB
  • sloc: python: 36,571; ansic: 9,717; sh: 1,519; makefile: 198
file content (20 lines) | stat: -rwxr-xr-x 399 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash
#

# cibuildwheel builder for Linux

LIBRDKAFKA_VERSION=$1

if [[ -z $LIBRDKAFKA_VERSION ]]; then
    echo "Usage: $0 <librdkafka-version/tag/gitref>"
    exit 1
fi

set -ex

echo "# Installing basic system dependencies"
yum install -y zlib-devel gcc-c++

echo "# Building librdkafka ${LIBRDKAFKA_VERSION}"
$(dirname $0)/bootstrap-librdkafka.sh --require-ssl ${LIBRDKAFKA_VERSION} /usr