ERROR: C:/rishik/bazel/scuvlyaz/external/local_xla/xla/hlo/evaluator/BUILD:20:11: Compiling xla/hlo/evaluator/hlo_evaluator.cc failed: (Exit 2): cl.exe failed: error executing command (from target @local_xla//xla/hlo/evaluator:hlo_evaluator)
cd /d C:/rishik/bazel/scuvlyaz/execroot/org_tensorflow
SET INCLUDE=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\ATLMFC\include;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\VS\include;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\ucrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\um;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\shared;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\winrt;C:\Program Files (x86)\Windows Kits\10\include\10.0.22621.0\cppwinrt
SET PATH=C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\VCPackages;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TestWindow;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\TeamFoundation\Team Explorer;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\bin\Roslyn;C:\Program Files\Microsoft Visual Studio\2022\Community\Team Tools\DiagnosticsHub\Collector;C:\Program Files (x86)\Windows Kits\10\bin\10.0.22621.0\x64;C:\Program Files (x86)\Windows Kits\10\bin\x64;C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Current\Bin\amd64;C:\Windows\Microsoft.NET\Framework64\v4.0.30319;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\Tools;;C:\WINDOWS\system32;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\CMake\bin;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\CommonExtensions\Microsoft\CMake\Ninja;C:\Program Files\Microsoft Visual Studio\2022\Community\Common7\IDE\VC\Linux\bin\ConnectionManagerExe;C:\Program Files\Microsoft Visual Studio\2022\Community\VC\vcpkg
SET PWD=/proc/self/cwd
SET PYTHON_BIN_PATH=C:/Python311/python.exe
SET PYTHON_LIB_PATH=C:/Python311/Lib/site-packages
SET TEMP=C:\Users\SAIRIS~1\AppData\Local\Temp
SET TF2_BEHAVIOR=1
SET TMP=C:\Users\SAIRIS~1\AppData\Local\Temp
SET VSLANG=1033
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\bin\HostX64\x64\cl.exe @bazel-out/x64_windows-opt/bin/external/local_xla/xla/hlo/evaluator/_objs/hlo_evaluator/hlo_evaluator.obj.params
Configuration: cfba63de1d354a8088982e743b733208b3921f79ba8df194a1159cd26c82ab63
Execution platform: @local_execution_config_platform//:platform
external/local_xla/xla/hlo/evaluator/hlo_evaluator.cc(557): error C2370: ‘xla::internal::kEvalErrorDetailUrl’: redefinition; different storage class
external/local_xla\xla/hlo/evaluator/hlo_evaluator.h(561): note: see declaration of ‘xla::internal::kEvalErrorDetailUrl’
external/local_xla/xla/hlo/evaluator/hlo_evaluator.cc(561): error C3536: ‘error_detail’: cannot be used before it is initialized
[8,137 / 10,297] checking cached actions
Target //tensorflow/lite/delegates/flex:tensorflowlite_flex failed to build
INFO: Elapsed time: 3883.003s, Critical Path: 190.08s
INFO: 8137 processes: 2040 internal, 6097 local.
Above error is shown while build using the command
bazel build -c opt --config=monolithic tensorflow/lite/delegates/flex:tensorflowlite_flex