xref: /third_party/protobuf/kokoro/release/protoc/macos/build.sh
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /third_party/protobuf/kokoro/release/protoc/macos/
1ffe3c632Sopenharmony_ci#!/bin/bash
2ffe3c632Sopenharmony_ci
3ffe3c632Sopenharmony_ciset -ex
4ffe3c632Sopenharmony_ciCXXFLAGS_COMMON="-std=c++14 -DNDEBUG -mmacosx-version-min=10.9"
5ffe3c632Sopenharmony_ci
6ffe3c632Sopenharmony_cicd github/protobuf
7ffe3c632Sopenharmony_ci./autogen.sh
8ffe3c632Sopenharmony_ci
9ffe3c632Sopenharmony_cimkdir build64 && cd build64
10ffe3c632Sopenharmony_ciexport CXXFLAGS="$CXXFLAGS_COMMON -m64"
11ffe3c632Sopenharmony_ci../configure --disable-shared
12ffe3c632Sopenharmony_cimake -j4
13ffe3c632Sopenharmony_cifile src/protoc
14ffe3c632Sopenharmony_ciotool -L src/protoc | grep dylib
15ffe3c632Sopenharmony_cicd ..
16

Indexes created Thu Nov 07 10:32:03 CST 2024