]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Set a default BasePlatformToolset to allow the ICC buildbot to build.
authorZachary Ware <zachary.ware@gmail.com>
Tue, 28 Jul 2015 05:00:47 +0000 (00:00 -0500)
committerZachary Ware <zachary.ware@gmail.com>
Tue, 28 Jul 2015 05:00:47 +0000 (00:00 -0500)
PCbuild/pyproject.props
PCbuild/python.props

index cab9830f4b22769d91915a002ba54b5af47be273..fc9334760eacd74f1189a244115fa4c995278d9f 100644 (file)
@@ -11,8 +11,9 @@
     <GenerateManifest Condition="'$(GenerateManifest)' == ''">false</GenerateManifest>
     <EmbedManifest Condition="'$(EmbedManifest)' == ''">false</EmbedManifest>
     <!-- For VS2008, we have to embed the manifest to be able to run -->
-    <GenerateManifest Condition="'$(PlatformToolset)' == 'v90'">true</GenerateManifest>
-    <EmbedManifest Condition="'$(PlatformToolset)' == 'v90'">true</EmbedManifest>
+    <!-- BasePlatformToolset is for ICC support -->
+    <GenerateManifest Condition="'$(PlatformToolset)' == 'v90' or '$(BasePlatformToolset)' == 'v90'">true</GenerateManifest>
+    <EmbedManifest Condition="'$(PlatformToolset)' == 'v90' or '$(BasePlatformToolset)' == 'v90'">true</EmbedManifest>
     <SupportPGO Condition="'$(SupportPGO)' == ''">true</SupportPGO>
     <SupportSigning Condition="'$(SupportSigning)' == ''">true</SupportSigning>
     <SupportSigning Condition="'$(Configuration)' == 'Debug'">false</SupportSigning>
index f7965c33571e1d2a59d9b740969594a81e35dc21..245e5716bdcaa250b93552ac9c7ff3226ebb81fc 100644 (file)
@@ -7,7 +7,10 @@
     Use only MSVC 9.0, unless explicitly overridden
     -->
     <PlatformToolset Condition="'$(PlatformToolset)' == ''">v90</PlatformToolset>
-
+    <!--
+    Give a default for BasePlatformToolset as well, it's used by ICC and ignored otherwise
+    -->
+    <BasePlatformToolset Condition="'$(BasePlatformToolset)' == '' and '$(PlatformToolset)' != 'v90'">v90</BasePlatformToolset>
     <!--
     Convincing MSVC/MSBuild to prefer our platform names is too difficult,
     so we define our own constant ArchName and use wherever we need it.