Skip to content

Commit 1ea35d0

Browse files
author
Ryan P
authored
Disable gssapi for linux wheel builds (confluentinc#566)
1 parent 4a23598 commit 1ea35d0

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

tools/bootstrap-librdkafka.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,12 @@ curl -q -L "https://github.com/edenhill/librdkafka/archive/${VERSION}.tar.gz" |
3434

3535
./configure --clean
3636
make clean
37-
./configure --install-deps --source-deps-only --prefix="$INSTALLDIR"
37+
38+
if [[ $OSTYPE == "linux"* ]]; then
39+
EXTRA_OPTS="--disable-gssapi"
40+
fi
41+
42+
./configure --install-deps --source-deps-only $EXTRA_OPTS --prefix="$INSTALLDIR"
3843

3944
if [[ $REQUIRE_SSL == 1 ]]; then
4045
grep '^#define WITH_SSL 1$' config.h || \

tools/build-linux-selfcontained.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ LIBRDKAFKA_VERSION=$1
7878
function install_deps {
7979
echo "# Installing basic system dependencies"
8080
if which apt-get >/dev/null 2>&1; then
81-
sudo apt-get -y install gcc g++ zlib1g-dev libsasl2-dev
81+
sudo apt-get -y install gcc g++ zlib1g-dev
8282
else
83-
yum install -y zlib-devel gcc gcc-c++ libstdc++-devel cyrus-sasl-devel
83+
yum install -y zlib-devel gcc gcc-c++ libstdc++-devel
8484
fi
8585
}
8686

tools/build-manylinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ fi
4444
#
4545

4646
echo "# Installing basic system dependencies"
47-
yum install -y zlib-devel gcc-c++ cyrus-sasl-devel
47+
yum install -y zlib-devel gcc-c++
4848

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

tools/prepare-cibuildwheel-linux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ fi
1313
set -ex
1414

1515
echo "# Installing basic system dependencies"
16-
yum install -y zlib-devel gcc-c++ cyrus-sasl-devel
16+
yum install -y zlib-devel gcc-c++
1717

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

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy