2
0
Fork 0
mirror of https://github.com/bazel-contrib/rules_foreign_cc synced 2024-11-28 08:43:26 +00:00
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
detect_root_test
dir1/include
dir2/include
expected Reduce build times (especially on windows) by symlinking directories (#983) 2022-11-09 00:14:43 +00:00
standard_cxx_flags_test
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
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