You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know that the --platform option existed before this PR, but testing it now for the first time I can't cross-compile to aarch64 on an x86_64 machine, it fails during the compilation of Autoware with
#26 2700.1 --- stderr: ament_cmake_gen_version_h
#26 2700.1 CMake Error at /usr/share/cmake-3.22/Modules/CMakeDetermineCCompiler.cmake:49 (message):
#26 2700.1 Could not find compiler set in environment variable CC:
#26 2700.1
#26 2700.1 /usr/lib/ccache/gcc.
#26 2700.1 Call Stack (most recent call first):
#26 2700.1 CMakeLists.txt:2 (project)
#26 2700.1
#26 2700.1
#26 2700.1 CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
#26 2700.1 CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage
#26 2700.1 ---
#26 2700.1 Failed <<< ament_cmake_gen_version_h [3.48s, exited with code 1]
I don't know if we currently make use of this flag anywhere (CI for example), or even if it was working before this PR. If it was working it should probably be fixed. If it was not working we may want to consider if it is a good idea to keep an option that doesn't work.
Follow up from:
@ambroise-arm
autoware/docker/build.sh
Line 69 in e6dc52c
@mitsudome-r do you know about the history of this flag?
The text was updated successfully, but these errors were encountered: