Alex Van Damme | e3747db | 2023-08-25 10:31:32 -0700 | [diff] [blame] | 1 | build --action_env=BAZEL_CXXOPTS="-std=c++17" |
| 2 | build --cxxopt='-std=c++17' |
| 3 | build --conlyopt='-std=c11' |
Cindy Liu | 7764559 | 2023-06-07 19:23:38 -0700 | [diff] [blame] | 4 | |
| 5 | # Enable toolchain resolution with cc |
| 6 | build --incompatible_enable_cc_toolchain_resolution |
| 7 | |
| 8 | build:kelvin --platforms=//platforms/riscv32:kelvin |
Alex Van Damme | 8c1f6ee | 2023-07-26 16:17:06 -0700 | [diff] [blame] | 9 | |
Cindy Liu | 0f52a55 | 2023-08-10 09:25:57 -0700 | [diff] [blame] | 10 | # Test environment variable for kelvin_sim test_runner.sh |
| 11 | test --test_env=ROOTDIR |
| 12 | |
Alex Van Damme | 8c1f6ee | 2023-07-26 16:17:06 -0700 | [diff] [blame] | 13 | # Set preprocessor defines for tflite-micro. |
| 14 | build --copt=-DTF_LITE_USE_GLOBAL_CMATH_FUNCTIONS |
| 15 | build --copt=-DTF_LITE_USE_GLOBAL_MIN |
| 16 | build --copt=-DTF_LITE_USE_GLOBAL_MAX |
| 17 | build --copt=-DTF_LITE_MCU_DEBUG_LOG |
Alex Van Damme | 8c1f6ee | 2023-07-26 16:17:06 -0700 | [diff] [blame] | 18 | build:opt --copt=-DTF_LITE_STRIP_ERROR_STRINGS |
Alex Van Damme | 78e3bc3 | 2023-12-07 11:33:09 -0800 | [diff] [blame] | 19 | |
| 20 | build --use_top_level_targets_for_symlinks=false |