FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Set a default BasePlatformToolset to allow the ICC buildbot to build. · python/cpython@62a2338 · GitHub

/ cpython Public

Commit 62a2338

Browse files
committed
Set a default BasePlatformToolset to allow the ICC buildbot to build.
1 parent 0287f2f commit 62a2338

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

‎PCbuild/pyproject.props‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
<GenerateManifest Condition="'$(GenerateManifest)' == ''">false</GenerateManifest>
1212
<EmbedManifest Condition="'$(EmbedManifest)' == ''">false</EmbedManifest>
1313
<!-- For VS2008, we have to embed the manifest to be able to run -->
14-
<GenerateManifest Condition="'$(PlatformToolset)' == 'v90'">true</GenerateManifest>
15-
<EmbedManifest Condition="'$(PlatformToolset)' == 'v90'">true</EmbedManifest>
14+
<!-- BasePlatformToolset is for ICC support -->
15+
<GenerateManifest Condition="'$(PlatformToolset)' == 'v90' or '$(BasePlatformToolset)' == 'v90'">true</GenerateManifest>
16+
<EmbedManifest Condition="'$(PlatformToolset)' == 'v90' or '$(BasePlatformToolset)' == 'v90'">true</EmbedManifest>
1617
<SupportPGO Condition="'$(SupportPGO)' == ''">true</SupportPGO>
1718
<SupportSigning Condition="'$(SupportSigning)' == ''">true</SupportSigning>
1819
<SupportSigning Condition="'$(Configuration)' == 'Debug'">false</SupportSigning>

‎PCbuild/python.props‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@
77
Use only MSVC 9.0, unless explicitly overridden
88
-->
99
<PlatformToolset Condition="'$(PlatformToolset)' == ''">v90</PlatformToolset>
10-
10+
<!--
11+
Give a default for BasePlatformToolset as well, it's used by ICC and ignored otherwise
12+
-->
13+
<BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(PlatformToolset)' != 'v90'">v90</BasePlatformToolset>
1114
<!--
1215
Convincing MSVC/MSBuild to prefer our platform names is too difficult,
1316
so we define our own constant ArchName and use wherever we need it.

0 commit comments

Comments
 (0)

Back | FazBrowse Home | New Git URL