• Home
  • Raw
  • Download

Lines Matching full:arch

3 # Builds protoc executable into target/<OS>/<ARCH>/protoc.exe; optionally builds
4 # protoc plugins into target/<OS>/<ARCH>/protoc-gen-*.exe
6 # Usage: ./build-protoc.sh <OS> <ARCH> <TARGET>
8 # <TARGET> can be "protoc" or "protoc-gen-javalite". Supported <OS> <ARCH>
10 # HOST <OS> <ARCH> <COMMENT>
27 ARCH=$2
90 if [[ "$ARCH" == x86_32 ]]; then
92 elif [[ "$ARCH" == x86_64 ]]; then
94 elif [[ "$ARCH" == aarch_64 ]]; then
96 elif [[ "$ARCH" == s390x ]]; then
102 elif [[ "$ARCH" == ppcle_64 ]]; then
109 fail "Unsupported arch: $ARCH"
113 if [[ "$ARCH" == x86_32 ]]; then
115 elif [[ "$ARCH" == x86_64 ]]; then
118 fail "Unsupported arch: $ARCH"
124 if [[ "$ARCH" == x86_32 ]]; then
126 elif [[ "$ARCH" == x86_64 ]]; then
129 fail "Unsupported arch: $ARCH"
148 if [[ "$ARCH" == x86_32 ]]; then
150 elif [[ "$ARCH" == x86_64 ]]; then
152 elif [[ "$ARCH" == s390x ]]; then
157 elif [[ "$ARCH" == ppcle_64 ]]; then
162 elif [[ "$ARCH" == aarch_64 ]]; then
171 fail "Unsupported platform $OS-$ARCH."
188 echo "Building protoc, OS=$OS ARCH=$ARCH TARGET=$MAKE_TARGET"
205 if [[ "$ARCH" == x86_64 ]]; then
207 elif [[ "$ARCH" == x86_32 ]]; then
210 fail "Unsupported arch by CYGWIN: $ARCH"
214 assertEq "$ARCH" x86_32 $LINENO
217 assertEq "$ARCH" x86_64 $LINENO
220 if [[ "$ARCH" == x86_64 ]]; then
222 elif [[ "$ARCH" == x86_32 ]]; then
224 elif [[ "$ARCH" == aarch_64 ]]; then
226 elif [[ "$ARCH" == ppcle_64 ]]; then
229 elif [[ "$ARCH" == s390x ]]; then
233 fail "Unsupported arch: $ARCH"
238 if [[ "$ARCH" == x86_64 ]]; then
240 elif [[ "$ARCH" == x86_32 ]]; then
243 fail "Unsupported arch: $ARCH"
252 if [[ "$ARCH" == x86_64 ]]; then
254 elif [[ "$ARCH" == x86_32 ]]; then
257 fail "Unsupported arch: $ARCH"
279 BUILD_DIR="build/$OS/$ARCH"
280 TARGET_FILE="target/$OS/$ARCH/$MAKE_TARGET.exe"