From 182e869fb81d8b82eb4974440ec84d1fd12006f9 Mon Sep 17 00:00:00 2001 From: Reuben Morais Date: Tue, 21 Sep 2021 15:05:53 +0200 Subject: [PATCH] Streamline RPi3 and RPi3-ARMv8 build options --- .bazelrc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.bazelrc b/.bazelrc index 1209adccd2b..2364926527f 100644 --- a/.bazelrc +++ b/.bazelrc @@ -209,16 +209,14 @@ build:rpi3 --crosstool_top=//third_party/toolchains/embedded/linaro-gcc72-armeab build:rpi3 --cpu=armv7a --define=target_system=rpi3 build:rpi3 --copt=-march=armv7-a --copt=-mtune=cortex-a53 --copt=-mfloat-abi=hard --copt=-mfpu=neon-fp-armv8 --copt=-DRASPBERRY_PI --copt=-D_GLIBCXX_USE_CXX11_ABI=0 --copt=-std=gnu99 --copt=-mno-unaligned-access build:rpi3 --define=tensorflow_mkldnn_contraction_kernel=0 -build:rpi3 --define=runtime=tflite -build:rpi3_opt --copt=-funsafe-math-optimizations --copt=-ftree-vectorize --copt=-pipe +build:rpi3_opt -c opt --config=rpi3 --copt=-funsafe-math-optimizations --copt=-ftree-vectorize --copt=-pipe build:rpi3-armv8 --host_crosstool_top=@bazel_tools//tools/cpp:toolchain build:rpi3-armv8 --crosstool_top=//third_party/toolchains/embedded/linaro-gcc72-aarch64:toolchain build:rpi3-armv8 --cpu=aarch64 --define=target_system=rpi3-armv8 build:rpi3-armv8 --copt=-march=armv8-a --copt=-mtune=cortex-a53 --copt=-DRASPBERRY_PI --copt=-D_GLIBCXX_USE_CXX11_ABI=0 --copt=-std=gnu99 build:rpi3-armv8 --define=tensorflow_mkldnn_contraction_kernel=0 -build:rpi3-armv8 --define=runtime=tflite -build:rpi3-armv8_opt --copt=-funsafe-math-optimizations --copt=-ftree-vectorize --copt=-pipe +build:rpi3-armv8_opt -c opt --config=rpi3-armv8 --copt=-funsafe-math-optimizations --copt=-ftree-vectorize --copt=-pipe # Options extracted from configure script build:ngraph --define=with_ngraph_support=true