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
Describe the bug
With the current main branch even if the ${CPUNAME}_SYSTEM variable is correctly set, it is being ignored. SIMULATION works fine though.
To Reproduce
Run make prep without SIMULATION and a targets.cmake file with cpu1_SYSTEM set to something non-empty.
Unexpected error is generated:
CMake Error at cmake/mission_build.cmake:332 (message):
Unable to find toolchain file for default
Expected behavior
Should generate build tree and build successfully.
System observed on:
GSFC MCP750 test build
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered:
This was using "DEFINED" to check if these variables were set.
Problem discovered is that this is always true because "SIMULATION"
is a cache var set from an environment variable, so it ALWAYS defined,
it is just empty if not being used.
Fix is to use if (SIMULATION) rather than if (DEFINED SIMULATION) which
should only be true if the string is not empty, as intended.
Describe the bug
With the current main branch even if the
${CPUNAME}_SYSTEM
variable is correctly set, it is being ignored.SIMULATION
works fine though.To Reproduce
Run
make prep
withoutSIMULATION
and a targets.cmake file withcpu1_SYSTEM
set to something non-empty.Unexpected error is generated:
Expected behavior
Should generate build tree and build successfully.
System observed on:
GSFC MCP750 test build
Reporter Info
Joseph Hickey, Vantage Systems, Inc.
The text was updated successfully, but these errors were encountered: