0
0
mirror of https://github.com/mongodb/mongo.git synced 2024-12-01 09:32:32 +01:00
mongodb/evergreen/bazel_RBE_supported.sh
Zack Winter a76aacf001 SERVER-88143 Enable Remote Execution when targeting AMD64 platforms (#20114)
GitOrigin-RevId: 58e2c71465ca1f1eaa8c644bc6e6944979b95957
2024-03-19 00:11:56 +00:00

12 lines
195 B
Bash

bazel_rbe_supported() {
OS="$(uname)"
ARCH="$(uname -m)"
if [ "$OS" == "Linux" ] && { [ "$ARCH" == "aarch64" ] || [ "$ARCH" == "x86_64" ]; }; then
return 0
else
return 1
fi
}