SERVER-104169: Enable the custom windows cc toolchain. (#35619)
GitOrigin-RevId: 3bfb0024553ebd4befea39693009193d155f443f
This commit is contained in:
parent
b6c8022a3c
commit
ea3c4ea980
@ -70,11 +70,10 @@ def _setup_local_config_platform(ctx):
|
||||
constraints_str += ',\n "@//bazel/platforms:%s"' % (distro)
|
||||
result = {"DISTRO": distro}
|
||||
exec_props = ""
|
||||
#elif os == "windows":
|
||||
#constraints_str += ',\n "@//bazel/platforms:use_mongo_windows_toolchain_config"'
|
||||
#result = {"USE_NATIVE_TOOLCHAIN": "1"}
|
||||
#exec_props = ""
|
||||
|
||||
elif os == "windows":
|
||||
constraints_str += ',\n "@//bazel/platforms:use_mongo_windows_toolchain_config"'
|
||||
result = {"USE_NATIVE_TOOLCHAIN": "1"}
|
||||
exec_props = ""
|
||||
else:
|
||||
result = {"USE_NATIVE_TOOLCHAIN": "1"}
|
||||
exec_props = ""
|
||||
|
||||
@ -36,6 +36,7 @@ mongo_windows_cc_toolchain_config(
|
||||
"strip": "wrapper/bin/msvc_nop.bat",
|
||||
},
|
||||
toolchain_identifier = "msvc_x64",
|
||||
supports_parse_showincludes = True,
|
||||
)
|
||||
|
||||
cc_toolchain(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user