Lines Matching full:arch
5 # Usage: build-protoc.sh <OS> <ARCH>
6 # <OS> and <ARCH> are ${os.detected.name} and ${os.detected.arch} from os-maven-plugin
8 ARCH=$2
59 if [[ "$ARCH" == x86_32 ]]; then
61 elif [[ "$ARCH" == x86_64 ]]; then
64 fail "Unsupported arch: $ARCH"
68 if [[ "$ARCH" == x86_32 ]]; then
70 elif [[ "$ARCH" == x86_64 ]]; then
73 fail "Unsupported arch: $ARCH"
79 if [[ "$ARCH" == x86_32 ]]; then
81 elif [[ "$ARCH" == x86_64 ]]; then
84 fail "Unsupported arch: $ARCH"
102 if [[ "$ARCH" == x86_32 ]]; then
104 elif [[ "$ARCH" == x86_64 ]]; then
112 fail "Unsupported platform $OS-$ARCH."
129 echo "Building protoc, OS=$OS ARCH=$ARCH"
151 if [[ "$ARCH" == x86_64 ]]; then
153 elif [[ "$ARCH" == x86_32 ]]; then
156 fail "Unsupported arch by CYGWIN: $ARCH"
160 assertEq "$ARCH" x86_32 $LINENO
163 assertEq "$ARCH" x86_64 $LINENO
166 if [[ "$ARCH" == x86_64 ]]; then
168 elif [[ "$ARCH" == x86_32 ]]; then
171 fail "Unsupported arch: $ARCH"
178 if [[ "$ARCH" == x86_64 ]]; then
180 elif [[ "$ARCH" == x86_32 ]]; then
183 fail "Unsupported arch: $ARCH"
192 if [[ "$ARCH" == x86_64 ]]; then
194 elif [[ "$ARCH" == x86_32 ]]; then
197 fail "Unsupported arch: $ARCH"