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
When I specify a CMAKE_TOOLCHAIN_FILE for my aarch64le target, the host/confdir/createconf build that occurs during the configure step targets the target instead of the host.
To get around this I have to do two builds.
I'm not sure what the best solution is. I suspect though that maybe creating a CMAKE_HOST_TOOLCHAIN_FILE:FILEPATH cache variable, and then injecting it into the execute_command code as a CMAKE_TOOLCHAIN_FILEmight fix it. I say might because toolchains are a little special in CMake.
The text was updated successfully, but these errors were encountered:
When I specify a
CMAKE_TOOLCHAIN_FILE
for my aarch64le target, thehost/confdir/createconf
build that occurs during the configure step targets the target instead of the host.To get around this I have to do two builds.
I'm not sure what the best solution is. I suspect though that maybe creating a
CMAKE_HOST_TOOLCHAIN_FILE:FILEPATH
cache variable, and then injecting it into theexecute_command
code as aCMAKE_TOOLCHAIN_FILE
might fix it. I say might because toolchains are a little special in CMake.The text was updated successfully, but these errors were encountered: