summaryrefslogtreecommitdiffstats
path: root/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/distro-build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'fluent-bit/lib/librdkafka-2.1.0/packaging/tools/distro-build.sh')
-rwxr-xr-xfluent-bit/lib/librdkafka-2.1.0/packaging/tools/distro-build.sh38
1 files changed, 0 insertions, 38 deletions
diff --git a/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/distro-build.sh b/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/distro-build.sh
deleted file mode 100755
index a4b5bfa6..00000000
--- a/fluent-bit/lib/librdkafka-2.1.0/packaging/tools/distro-build.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-#
-# Build librdkafka for different distros to produce distro-specific artifacts.
-# Requires docker.
-#
-
-set -e
-
-distro=$1
-shift
-config_args=$*
-
-case $distro in
- manylinux*)
- # Any pypa/manylinux docker image build.
- docker run -t -v "$PWD:/v" quay.io/pypa/$distro /v/packaging/tools/build-manylinux.sh /v /v/artifacts/librdkafka-${distro}.tgz $config_args
- ;;
- centos)
- if [[ -n $config_args ]]; then
- echo "Warning: configure arguments ignored for centos RPM build"
- fi
- packaging/rpm/mock-on-docker.sh
- packaging/rpm/tests/test-on-docker.sh
- ;;
- debian)
- docker run -it -v "$PWD:/v" mcr.microsoft.com/dotnet/sdk:3.1 /v/packaging/tools/build-debian.sh /v /v/artifacts/librdkafka-debian9.tgz $config_args
- ;;
- alpine)
- packaging/alpine/build-alpine.sh $config_args
- ;;
- alpine-static)
- packaging/alpine/build-alpine.sh --enable-static --source-deps-only $config_args
- ;;
- *)
- echo "Usage: $0 <centos|debian|alpine|alpine-static>"
- exit 1
- ;;
-esac