-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
8 changed files
with
2,249 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
82 changes: 82 additions & 0 deletions
82
tools/toolchains/win2022/20241118/armeabi_cc_toolchain_config.bzl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
# Copyright 2019 The Bazel Authors. All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
"""A Starlark cc_toolchain configuration rule""" | ||
|
||
load( | ||
"@bazel_tools//tools/cpp:cc_toolchain_config_lib.bzl", | ||
"feature", | ||
"tool_path", | ||
) | ||
|
||
def _impl(ctx): | ||
toolchain_identifier = "stub_armeabi-v7a" | ||
host_system_name = "armeabi-v7a" | ||
target_system_name = "armeabi-v7a" | ||
target_cpu = "armeabi-v7a" | ||
target_libc = "armeabi-v7a" | ||
compiler = "compiler" | ||
abi_version = "armeabi-v7a" | ||
abi_libc_version = "armeabi-v7a" | ||
cc_target_os = None | ||
builtin_sysroot = None | ||
action_configs = [] | ||
|
||
supports_pic_feature = feature(name = "supports_pic", enabled = True) | ||
supports_dynamic_linker_feature = feature(name = "supports_dynamic_linker", enabled = True) | ||
features = [supports_dynamic_linker_feature, supports_pic_feature] | ||
|
||
cxx_builtin_include_directories = [] | ||
artifact_name_patterns = [] | ||
make_variables = [] | ||
|
||
tool_paths = [ | ||
tool_path(name = "ar", path = "/bin/false"), | ||
tool_path(name = "cpp", path = "/bin/false"), | ||
tool_path(name = "dwp", path = "/bin/false"), | ||
tool_path(name = "gcc", path = "/bin/false"), | ||
tool_path(name = "gcov", path = "/bin/false"), | ||
tool_path(name = "ld", path = "/bin/false"), | ||
tool_path(name = "llvm-profdata", path = "/bin/false"), | ||
tool_path(name = "nm", path = "/bin/false"), | ||
tool_path(name = "objcopy", path = "/bin/false"), | ||
tool_path(name = "objdump", path = "/bin/false"), | ||
tool_path(name = "strip", path = "/bin/false"), | ||
] | ||
|
||
return cc_common.create_cc_toolchain_config_info( | ||
ctx = ctx, | ||
features = features, | ||
action_configs = action_configs, | ||
artifact_name_patterns = artifact_name_patterns, | ||
cxx_builtin_include_directories = cxx_builtin_include_directories, | ||
toolchain_identifier = toolchain_identifier, | ||
host_system_name = host_system_name, | ||
target_system_name = target_system_name, | ||
target_cpu = target_cpu, | ||
target_libc = target_libc, | ||
compiler = compiler, | ||
abi_version = abi_version, | ||
abi_libc_version = abi_libc_version, | ||
tool_paths = tool_paths, | ||
make_variables = make_variables, | ||
builtin_sysroot = builtin_sysroot, | ||
cc_target_os = cc_target_os, | ||
) | ||
|
||
armeabi_cc_toolchain_config = rule( | ||
implementation = _impl, | ||
attrs = {}, | ||
provides = [CcToolchainConfigInfo], | ||
) |
7 changes: 7 additions & 0 deletions
7
tools/toolchains/win2022/20241118/builtin_include_directory_paths_clangcl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This file is generated by cc_configure and contains builtin include directories | ||
that clang-cl reported. This file is a dependency of every compilation action and | ||
changes to it will be reflected in the action cache key. When some of these | ||
paths change, Bazel will make sure to rerun the action, even though none of | ||
declared action inputs or the action commandline changes. | ||
|
||
|
7 changes: 7 additions & 0 deletions
7
tools/toolchains/win2022/20241118/builtin_include_directory_paths_msvc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
This file is generated by cc_configure and contains builtin include directories | ||
that msvc reported. This file is a dependency of every compilation action and | ||
changes to it will be reflected in the action cache key. When some of these | ||
paths change, Bazel will make sure to rerun the action, even though none of | ||
declared action inputs or the action commandline changes. | ||
|
||
|
Oops, something went wrong.