Skip to content

Commit bb293de

Browse files
committed
Redirect dependency build output to /dev/null
1 parent e17c445 commit bb293de

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

mac-intel-build.sh

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ download() {
5959
}
6060

6161
install() {
62-
make -j${NUM_MAKE_THREAD:-8}
63-
make install
62+
make -j${NUM_MAKE_THREAD:-8} 2>&1 >/dev/null
63+
make install 2>&1 >/dev/null
6464
touch .done
6565
}
6666

@@ -83,7 +83,7 @@ if [[ ! -f protobuf-${PROTOBUF_VERSION}/.done ]]; then
8383
echo "Building Protobuf ${PROTOBUF_VERSION}"
8484
download https://github.com/protocolbuffers/protobuf/releases/download/v$PROTOBUF_VERSION/protobuf-cpp-$PROTOBUF_VERSION.tar.gz
8585
pushd protobuf-$PROTOBUF_VERSION
86-
./configure --prefix=$PREFIX
86+
./configure --prefix=$PREFIX 2>&1 >/dev/null
8787
install
8888
popd
8989
else
@@ -95,7 +95,7 @@ if [[ ! -f zlib-$ZLIB_VERSION/.done ]]; then
9595
echo "Building zlib $ZLIB_VERSION"
9696
download https://zlib.net/zlib-${ZLIB_VERSION}.tar.gz
9797
pushd zlib-$ZLIB_VERSION
98-
./configure --prefix=$PREFIX
98+
./configure --prefix=$PREFIX 2>&1 >/dev/null
9999
install
100100
popd
101101
else
@@ -118,7 +118,7 @@ if [[ ! -f snappy-$SNAPPY_VERSION/.done ]]; then
118118
echo "Building snappy $SNAPPY_VERSION"
119119
download https://github.com/google/snappy/archive/refs/tags/$SNAPPY_VERSION.tar.gz
120120
pushd snappy-$SNAPPY_VERSION
121-
cmake . -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX
121+
cmake . -DSNAPPY_BUILD_TESTS=OFF -DSNAPPY_BUILD_BENCHMARKS=OFF -DCMAKE_INSTALL_PREFIX=$PREFIX 2>&1 >/dev/null
122122
install
123123
popd
124124
else
@@ -135,7 +135,7 @@ if [[ ! -f $DIR/.done ]]; then
135135
# Patch for OpenSSL 1.1.1q, see https://github.com/openssl/openssl/issues/18720
136136
sed -i.bak 's/#include <stdio.h>/#include <stdio.h>\n#include <string.h>/' test/v3ext.c
137137
rm -f test/v3ext.c.bak
138-
./Configure --prefix=$PREFIX $OS
138+
./Configure --prefix=$PREFIX $OS 2>&1 >/dev/null
139139
install
140140
popd
141141
else
@@ -151,7 +151,7 @@ if [[ ! -f curl-$CURL_VERSION/.done ]]; then
151151
--with-ssl=$PREFIX \
152152
--without-nghttp2 --without-libidn2 \
153153
--without-librtmp --without-brotli \
154-
--disable-ldap
154+
--disable-ldap 2>&1 >/dev/null
155155
install
156156
popd
157157
else

0 commit comments

Comments
 (0)