arm-none-eabi-checks.cmake contains functions to check and install correct version of gcc-arm-none-eabi,
if specified version is not found. gcc_get_version() does not properly check current gcc version of gcc that was installed in tools/ directory.
Current Behavior
gcc_get_version() only checks for compiler version of systemwide gcc-arm-none-eabi.
Dockerfile does not install correct version into the image.
Because version check fails every time, gcc is downloaded/installed always when cmake configuration step is invoked.
Steps to Reproduce
- make sure cmake is not initialized
- run ./build.sh , for example FLYWOOF745
Expected behavior
gcc_get_version() checks for already downloaded compiler version. (from tools/ directory)
arm-none-eabi-checks.cmakecontains functions to check and install correct version of gcc-arm-none-eabi,if specified version is not found. gcc_get_version() does not properly check current gcc version of gcc that was installed in tools/ directory.
Current Behavior
gcc_get_version() only checks for compiler version of systemwide gcc-arm-none-eabi.
Dockerfile does not install correct version into the image.
Because version check fails every time, gcc is downloaded/installed always when cmake configuration step is invoked.
Steps to Reproduce
Expected behavior
gcc_get_version() checks for already downloaded compiler version. (from tools/ directory)