jshanab
(Jeff Shanab)
August 21, 2023, 6:52pm
1
I use this value to pull specific cross compiled artifacts from our artifactory server.
This time I am NOT cross compiling. I am compiling on a arm64 board. (aarch64)
uname -m returns “aarch64”
Both CMAKE_SYSTEM_HOST _PROCESSOR and CMAKE_SYSTEM_PROCESSOR are just “Linux”
Building on a raspberrypi 4 with CMake version 3.27.1 built from source on the pi.
jshanab
(Jeff Shanab)
August 21, 2023, 7:20pm
2
even after deleting CMAkeCache it persisted but then suddenly it started returning aarch64.
Working now. not sure what i was doing to confuse it.
ben.boeckel
(Ben Boeckel (Kitware))
August 22, 2023, 10:50am
3
Without a reproducer case, it’ll be hard to know what’s going on here. If it happens again, please try to grab exact commands and environment information so that it can be investigated.