From 5d6d28e07f58600090055da7e62454cfc2677fbf Mon Sep 17 00:00:00 2001 From: Googler Date: Fri, 10 Nov 2017 22:00:37 +0100 Subject: Remove bazel's --experimental_skip_static_outputs option. It was added long ago, for reasons which are no longer relevant or useful. Also remove the build variable it controlled ("skip_mostly_static") from CROSSTOOL files. RELNOTES: None. PiperOrigin-RevId: 175325225 --- tools/osx/crosstool/CROSSTOOL.tpl | 300 +++----------------------------------- 1 file changed, 20 insertions(+), 280 deletions(-) (limited to 'tools/osx/crosstool/CROSSTOOL.tpl') diff --git a/tools/osx/crosstool/CROSSTOOL.tpl b/tools/osx/crosstool/CROSSTOOL.tpl index 8cd191b532..6592b665dc 100644 --- a/tools/osx/crosstool/CROSSTOOL.tpl +++ b/tools/osx/crosstool/CROSSTOOL.tpl @@ -284,37 +284,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -1567,7 +1541,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -1940,37 +1914,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -3230,7 +3178,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -3604,6 +3552,7 @@ toolchain { feature { name: "output_execpath_flags" flag_set { + action: "c++-link-executable" action: "c++-link-dynamic-library" flag_group { flag: "-o" @@ -3612,33 +3561,6 @@ toolchain { expand_if_all_available: "output_execpath" } } - feature { - name: "output_execpath_flags_executable" - flag_set { - action: "c++-link-executable" - flag_group { - flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } feature { name: "global_whole_archive_open" flag_set { @@ -4895,7 +4817,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -5269,37 +5191,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -6587,7 +6483,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -6962,37 +6858,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -8252,7 +8122,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -8625,37 +8495,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -9903,7 +9747,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -10276,37 +10120,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -11556,7 +11374,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -11931,6 +11749,7 @@ toolchain { feature { name: "output_execpath_flags" flag_set { + action: "c++-link-executable" action: "c++-link-dynamic-library" flag_group { flag: "-o" @@ -11939,33 +11758,6 @@ toolchain { expand_if_all_available: "output_execpath" } } - feature { - name: "output_execpath_flags_executable" - flag_set { - action: "c++-link-executable" - flag_group { - flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } feature { name: "global_whole_archive_open" flag_set { @@ -13236,7 +13028,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -13611,37 +13403,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -14889,7 +14655,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" @@ -15265,37 +15031,11 @@ toolchain { } feature { name: "output_execpath_flags" - flag_set { - action: "c++-link-dynamic-library" - flag_group { - flag: "-o" - flag: "%{output_execpath}" - } - expand_if_all_available: "output_execpath" - } - } - feature { - name: "output_execpath_flags_executable" flag_set { action: "c++-link-executable" + action: "c++-link-dynamic-library" flag_group { flag: "-o" - } - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { - flag: "/dev/null" - flag: "-MMD" - flag: "-MF" - } - expand_if_all_available: "skip_mostly_static" - expand_if_all_available: "output_execpath" - } - flag_set { - action: "c++-link-executable" - flag_group { flag: "%{output_execpath}" } expand_if_all_available: "output_execpath" @@ -16543,7 +16283,7 @@ toolchain { implies: "contains_objc_source" implies: "symbol_counts" implies: "linkstamps" - implies: "output_execpath_flags_executable" + implies: "output_execpath_flags" implies: "global_whole_archive_open" implies: "runtime_root_flags" implies: "input_param_flags" -- cgit v1.2.3