Merge pull request #23387 from veblush/protoc-docker

Make plugins embed zlib
reviewable/pr22987/r11
Esun Kim 5 years ago committed by GitHub
commit 3e7dacfb47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      tools/run_tests/artifacts/build_artifact_protoc.sh

@ -13,15 +13,11 @@
# See the License for the specific language governing permissions and
# limitations under the License.
# Use devtoolset environment that has GCC 4.8 before set -ex
# shellcheck disable=SC1091
source scl_source enable devtoolset-2
set -ex
cd "$(dirname "$0")/../../.."
make plugins
EMBED_ZLIB=true PROTOBUF_CONFIG_OPTS=--with-zlib=no make plugins
mkdir -p "${ARTIFACTS_OUT}"
cp bins/opt/protobuf/protoc bins/opt/*_plugin "${ARTIFACTS_OUT}"/

Loading…
Cancel
Save