From 536710486384cf601e04915ccf8610beae4d43f9 Mon Sep 17 00:00:00 2001 From: siddontang Date: Tue, 18 Jun 2019 11:20:52 -0700 Subject: [PATCH] build on ARM64 (#5450) Summary: Support building RocksDB on AWS ARM64 ``` uname -m aarch64 ``` Pull Request resolved: https://github.com/facebook/rocksdb/pull/5450 Differential Revision: D15879851 fbshipit-source-id: a9b56520a2cd9921338305a06d7103a40a3300b8 --- build_tools/build_detect_platform | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index ac30f9ab0fa..4a52c6cddb7 100755 --- a/build_tools/build_detect_platform +++ b/build_tools/build_detect_platform @@ -537,7 +537,7 @@ if test -z "$PORTABLE"; then COMMON_FLAGS="$COMMON_FLAGS -mcpu=$POWER -mtune=$POWER " elif test -n "`echo $TARGET_ARCHITECTURE | grep ^s390x`"; then COMMON_FLAGS="$COMMON_FLAGS -march=z10 " - elif test -n "`echo $TARGET_ARCHITECTURE | grep ^arm`"; then + elif test -n "`echo $TARGET_ARCHITECTURE | grep -e^arm -e^aarch64`"; then # TODO: Handle this with approprite options. COMMON_FLAGS="$COMMON_FLAGS" elif test -n "`echo $TARGET_ARCHITECTURE | grep ^aarch64`"; then