blob: a7bbfc074f5f5e0334dd4b8e80d554c5a3321c56 [file] [log] [blame]
Alex Van Dammee3747db2023-08-25 10:31:32 -07001build --action_env=BAZEL_CXXOPTS="-std=c++17"
2build --cxxopt='-std=c++17'
3build --conlyopt='-std=c11'
Cindy Liu77645592023-06-07 19:23:38 -07004
5# Enable toolchain resolution with cc
6build --incompatible_enable_cc_toolchain_resolution
7
8build:kelvin --platforms=//platforms/riscv32:kelvin
Alex Van Damme8c1f6ee2023-07-26 16:17:06 -07009
Cindy Liu0f52a552023-08-10 09:25:57 -070010# Test environment variable for kelvin_sim test_runner.sh
11test --test_env=ROOTDIR
12
Alex Van Damme8c1f6ee2023-07-26 16:17:06 -070013# Set preprocessor defines for tflite-micro.
14build --copt=-DTF_LITE_USE_GLOBAL_CMATH_FUNCTIONS
15build --copt=-DTF_LITE_USE_GLOBAL_MIN
16build --copt=-DTF_LITE_USE_GLOBAL_MAX
17build --copt=-DTF_LITE_MCU_DEBUG_LOG
Alex Van Damme8c1f6ee2023-07-26 16:17:06 -070018build:opt --copt=-DTF_LITE_STRIP_ERROR_STRINGS
Alex Van Damme78e3bc32023-12-07 11:33:09 -080019
20build --use_top_level_targets_for_symlinks=false