File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1054,6 +1054,7 @@ def ensure_arm64_override_targets(layout: WorkspaceLayout) -> None:
10541054 """<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
10551055 <ItemDefinitionGroup Condition="'$(Platform)'=='ARM64'">
10561056 <ClCompile>
1057+ <MultiProcessorCompilation>false</MultiProcessorCompilation>
10571058 <AdditionalOptions>/DCRYPTOPP_DISABLE_ASM /DCRYPTOPP_NO_CPU_FEATURE_PROBES %(AdditionalOptions)</AdditionalOptions>
10581059 </ClCompile>
10591060 </ItemDefinitionGroup>
Original file line number Diff line number Diff line change @@ -52,6 +52,16 @@ def test_build_libs_serializes_arm64_msbuild_dependencies(
5252 assert {call ["max_cpu_count" ] for call in captured } == {1 }
5353
5454
55+ def test_arm64_crypto_overrides_disable_compiler_multiprocessing (tmp_path : Path ) -> None :
56+ layout = make_layout (tmp_path )
57+
58+ build .ensure_arm64_override_targets (layout )
59+
60+ props_text = build .arm64_overrides_props_path (layout ).read_text (encoding = "utf-8" )
61+ assert "<MultiProcessorCompilation>false</MultiProcessorCompilation>" in props_text
62+ assert "/DCRYPTOPP_DISABLE_ASM /DCRYPTOPP_NO_CPU_FEATURE_PROBES" in props_text
63+
64+
5565def test_build_apps_forwards_startup_diagnostics_option (
5666 tmp_path : Path ,
5767 monkeypatch : pytest .MonkeyPatch ,
You can’t perform that action at this time.
0 commit comments