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" == ppcle_64 ]]; then
103 fail "Unsupported arch: $ARCH"
107 if [[ "$ARCH" == x86_32 ]]; then
109 elif [[ "$ARCH" == x86_64 ]]; then
112 fail "Unsupported arch: $ARCH"
118 if [[ "$ARCH" == x86_32 ]]; then
120 elif [[ "$ARCH" == x86_64 ]]; then
123 fail "Unsupported arch: $ARCH"
142 if [[ "$ARCH" == x86_32 ]]; then
144 elif [[ "$ARCH" == x86_64 ]]; then
146 elif [[ "$ARCH" == ppcle_64 ]]; then
151 elif [[ "$ARCH" == aarch_64 ]]; then
160 fail "Unsupported platform $OS-$ARCH."
177 echo "Building protoc, OS=$OS ARCH=$ARCH TARGET=$MAKE_TARGET"
194 if [[ "$ARCH" == x86_64 ]]; then
196 elif [[ "$ARCH" == x86_32 ]]; then
199 fail "Unsupported arch by CYGWIN: $ARCH"
203 assertEq "$ARCH" x86_32 $LINENO
206 assertEq "$ARCH" x86_64 $LINENO
209 if [[ "$ARCH" == x86_64 ]]; then
211 elif [[ "$ARCH" == x86_32 ]]; then
213 elif [[ "$ARCH" == aarch_64 ]]; then
215 elif [[ "$ARCH" == ppcle_64 ]]; then
219 fail "Unsupported arch: $ARCH"
224 if [[ "$ARCH" == x86_64 ]]; then
226 elif [[ "$ARCH" == x86_32 ]]; then
229 fail "Unsupported arch: $ARCH"
238 if [[ "$ARCH" == x86_64 ]]; then
240 elif [[ "$ARCH" == x86_32 ]]; then
243 fail "Unsupported arch: $ARCH"
265 BUILD_DIR="build/$OS/$ARCH"
266 TARGET_FILE="target/$OS/$ARCH/$MAKE_TARGET.exe"