summaryrefslogtreecommitdiff
path: root/cross/tryrun.cmake
AgeCommit message (Collapse)AuthorFilesLines
2019-06-13Also set the *__TRYRUN_OUTPUT cache value to something. (#24631)Kai Ruhnau1-0/+1
CMake 3.14 fails in a cross-compilation ARM build and complains that both both *_EXITCODE and *_EXITCODE__TRYRUN_OUTPUT have to be set. Doing this re-enables the build.
2018-11-14Cleanup on the new Math APIs (#20993)Tanner Gooding1-2/+2
* Updating the cached HAVE_COMPATIBLE_ILOGB0_EXITCODE and HAVE_COMPATIBLE_ILOGBNAN_EXITCODE to 1 * Fixing MaxMagnitude and MinMagnitude to correctly handle the case when ax and ay are equal
2018-11-12Some cleanup of the Math functions from #20788 (#20912)Tanner Gooding1-0/+2
* Fixing Max, MaxMagnitude, Min, and MinMagnitude for Math/MathF to be IEEE compliant * Disabling the System.Math.Max/Min tests * Adding the new c_runtime PAL tests to the CMakeLists to ensure they actually get run. * Fixing the casing of IlogB to ILogB * Fixing the new PAL tests to match the correct/expected outputs * Fixing up PAL_ilogb to correctly handle 0 and NaN
2018-06-02Enable Alpine cross build for arm and arm64 (#18234)Jan Vorlicek1-4/+22
* Enable Alpine cross build for arm and arm64 This change enables cross build and rootfs creation for Alpine Linux ARM / ARM64 targets. Besides that, I've cleaned up the toolchain.cmake and got rid of the explicit specification of GCC version specific include and lib folders for all targets except of Tizen. Clang is able to figure that out on its own the same way as it does when doing regular non-cross builds, but it needed one more option for that. I've also fixed a bug in the `add_compile_param` macro that caused ignoring of parameters in cases where another parameter that was a substring of the one being added was already present. So for example if an option `-L${CMAKE_SYSROOT}/usr/lib/gcc` was already added, attempt to add option `-L${CMAKE_SYSROOT}/usr/lib` would do nothing. * Fix to make it work with cmake 2.8 too The older cmake that is still in use on Ubuntu 14.04 doesn't have support for specifying sysroot and target via cmake variables. So I've replaced those by explicit setting of the compiler / linker options instead.
2018-04-11Fix cmake toolchain compile flags loop (#17380)Petr Bred1-0/+45
- fix https://github.com/dotnet/corert/issues/5093 - cmake toolchain refactoring Signed-off-by: Petr Bred <bredpetr@gmail.com>