summaryrefslogtreecommitdiff
path: root/external/python3
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2014-10-01 23:15:26 +0200
committerMichael Stahl <mstahl@redhat.com>2014-10-02 17:20:15 +0200
commitcd42e5f3e2eb9540b16e568559e6e95ffd7cc2a7 (patch)
tree9f8901186492d19cc21376566cee3924472e807a /external/python3
parent37c00bff114fe39e553ea6f1b8e68d6c6ff93eba (diff)
fdo#82430: MSVC build: avoid using SSE2 instructions in some externals
Hopefully this should fix up the most important external libraries. Change-Id: I744cb5a2ce7fafb10852059050cf24589d6ca400
Diffstat (limited to 'external/python3')
-rw-r--r--external/python3/UnpackedTarball_python3.mk1
-rw-r--r--external/python3/python-msvc-disable-sse2.patch.112
2 files changed, 13 insertions, 0 deletions
diff --git a/external/python3/UnpackedTarball_python3.mk b/external/python3/UnpackedTarball_python3.mk
index 01c2202be018..72d856fd80a3 100644
--- a/external/python3/UnpackedTarball_python3.mk
+++ b/external/python3/UnpackedTarball_python3.mk
@@ -31,6 +31,7 @@ $(eval $(call gb_UnpackedTarball_add_patches,python3,\
external/python3/python-3.3.3-msvc2012-winxp.patch.1 \
external/python3/python-3.3.5-pyexpat-symbols.patch.1 \
external/python3/python-3.3.5-vs2013.patch.1 \
+ external/python3/python-msvc-disable-sse2.patch.1 \
external/python3/python-lsan.patch.0 \
))
diff --git a/external/python3/python-msvc-disable-sse2.patch.1 b/external/python3/python-msvc-disable-sse2.patch.1
new file mode 100644
index 000000000000..a01423fc3287
--- /dev/null
+++ b/external/python3/python-msvc-disable-sse2.patch.1
@@ -0,0 +1,12 @@
+fdo#82430 disable SSE2 default of MSVC2012
+
+--- python3/PCbuild/release.props.old 2014-10-01 23:47:33.348095403 +0200
++++ python3/PCbuild/release.props 2014-10-01 23:48:05.051092945 +0200
+@@ -9,6 +9,7 @@
+ <ItemDefinitionGroup>
+ <ClCompile>
+ <PreprocessorDefinitions>NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
++ <EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
+ </ClCompile>
+ </ItemDefinitionGroup>
+ <ItemGroup>