This commit updates the README to mention linux-x86 is a cross-compiler
associated with a Toolchain file. See f57b97b (linux-x86: Add toolchain
file and install libc6 and stdc++6 32-bit libraries)
This commit updates the toolchain to ensure libraries associated with
ppc64le can be found.
Since the libraries are all installed on the system and not in dedicated
root, FIND_ROOT_PATH should *not* be specified.
This will fix issue where emulator is used doing:
COMMAND ${CMAKE_CROSSCOMPILING_EMULATOR} /path/to/prog arg1 arg2
Prior to this commit, it wasn't working because the following command
was used:
/bin/sh -c /path/to/prog arg1 arg2
It is automatically set in CMakeFindBinUtils.cmake using the value
of _CMAKE_TOOLCHAIN_PREFIX extracted from the compiler name within
CMakeDetermineCCompiler.cmake.
The CMake issue is #15448 - https://cmake.org/Bug/view.php?id=15448
This commit updates the toolchain to ensure libraries associated with arm
can be found. While a new root path needed to be set for armv6, the
most recent armv7 toolchain doesn't require to explicitly set a new
root.
Although adding
--emulator /usr/bin/qemu-arm -b CMake --linker-flags="-static"
To the test command works locally, the CMake tests fail on CircleCI. May this
is due to a kernel difference? Will investigate adding again later after
CircleCI updates in kernel (it is currently Ubuntu 12.04).
The "-static" linker flag used during testing is explained here:
https://www.kitware.com/blog/home/post/893
Run ctest if an emulator is available and make sure it uses it.
Add more status information to the test output and make sure that the order is
correct with flush() calls.