rules_foreign_cc/test
Isaac Torres ea7ed42949
fix linux cross compiling on macos (#1062)
Fixes cross-compiling from macos to linux.

see #997 for background.

I had to make a couple of extra changes to support this:

Setting CMAKE_SYSTEM_NAME manually causes CMAKE_SYSTEM_PROCESSOR to not be set. This breaks some builds that expect this variable to be set like libjpeg-turbo.
I made it so that the above variables are only set when cross-compilation is detected so that rules_foreign_cc only takes on responsibility of setting them when necessary.
2023-06-27 23:16:22 +01:00
..
boostrap_tools Restructed examples and enabled more testing (#515) 2021-02-26 20:21:13 +00:00
detect_root_test migrating to rbe_preconfig (#952) 2022-08-18 18:18:24 +01:00
dir1/include Fix shell function symlink_contents_to_dir, add test (#377) 2020-05-08 11:43:40 +02:00
dir2/include Fix shell function symlink_contents_to_dir, add test (#377) 2020-05-08 11:43:40 +02:00
expected Reduce build times (especially on windows) by symlinking directories (#983) 2022-11-09 00:14:43 +00:00
standard_cxx_flags_test migrating to rbe_preconfig (#952) 2022-08-18 18:18:24 +01:00
BUILD.bazel Reduce build times (especially on windows) by symlinking directories (#983) 2022-11-09 00:14:43 +00:00
cmake_text_tests.bzl fix linux cross compiling on macos (#1062) 2023-06-27 23:16:22 +01:00
convert_shell_script_test.bzl Update buildifier (#998) 2023-01-06 19:56:01 +00:00
shell_script_helper_test_rule.bzl Refactored framework to avoid polymorphism complexity (#612) 2021-04-30 17:03:32 +01:00
symlink_contents_to_dir_test_rule.bzl Reduce build times (especially on windows) by symlinking directories (#983) 2022-11-09 00:14:43 +00:00
utils_test.bzl Restructured rules to match architecture (#555) 2021-03-12 16:54:14 +00:00