summaryrefslogtreecommitdiffstats
path: root/PCbuild
diff options
context:
space:
mode:
authorDino Viehland <dinoviehland@fb.com>2023-10-31 18:54:35 (GMT)
committerGitHub <noreply@github.com>2023-10-31 18:54:35 (GMT)
commitc42347d025b29e993a12925a3ddf58c0c9bb7f7b (patch)
treeeec79ee9298f231802edcb241d37d51b8fe5f31c /PCbuild
parent244567398370bfa62a332676762bb1db395c02fc (diff)
downloadcpython-c42347d025b29e993a12925a3ddf58c0c9bb7f7b.zip
cpython-c42347d025b29e993a12925a3ddf58c0c9bb7f7b.tar.gz
cpython-c42347d025b29e993a12925a3ddf58c0c9bb7f7b.tar.bz2
gh-90815: Exclude mimalloc .c files from Windows build (#111532)
* Don't include mimalloc .c's in Windows build * Fix warnings on Windows related to mimalloc
Diffstat (limited to 'PCbuild')
-rw-r--r--PCbuild/_freeze_module.vcxproj14
-rw-r--r--PCbuild/_freeze_module.vcxproj.filters42
-rw-r--r--PCbuild/pythoncore.vcxproj14
-rw-r--r--PCbuild/pythoncore.vcxproj.filters42
4 files changed, 0 insertions, 112 deletions
diff --git a/PCbuild/_freeze_module.vcxproj b/PCbuild/_freeze_module.vcxproj
index 05b8bfd..20d800a 100644
--- a/PCbuild/_freeze_module.vcxproj
+++ b/PCbuild/_freeze_module.vcxproj
@@ -147,20 +147,6 @@
<ClCompile Include="..\Objects\longobject.c" />
<ClCompile Include="..\Objects\memoryobject.c" />
<ClCompile Include="..\Objects\methodobject.c" />
- <ClCompile Include="..\Objects\mimalloc\alloc-aligned.c" />
- <ClCompile Include="..\Objects\mimalloc\alloc.c" />
- <ClCompile Include="..\Objects\mimalloc\arena.c" />
- <ClCompile Include="..\Objects\mimalloc\bitmap.c" />
- <ClCompile Include="..\Objects\mimalloc\heap.c" />
- <ClCompile Include="..\Objects\mimalloc\init.c" />
- <ClCompile Include="..\Objects\mimalloc\options.c" />
- <ClCompile Include="..\Objects\mimalloc\os.c" />
- <ClCompile Include="..\Objects\mimalloc\page.c" />
- <ClCompile Include="..\Objects\mimalloc\prim\prim.c" />
- <ClCompile Include="..\Objects\mimalloc\random.c" />
- <ClCompile Include="..\Objects\mimalloc\segment.c" />
- <ClCompile Include="..\Objects\mimalloc\segment-map.c" />
- <ClCompile Include="..\Objects\mimalloc\stats.c" />
<ClCompile Include="..\Objects\moduleobject.c" />
<ClCompile Include="..\Objects\namespaceobject.c" />
<ClCompile Include="..\Objects\object.c" />
diff --git a/PCbuild/_freeze_module.vcxproj.filters b/PCbuild/_freeze_module.vcxproj.filters
index d6cbd2d..40256a2 100644
--- a/PCbuild/_freeze_module.vcxproj.filters
+++ b/PCbuild/_freeze_module.vcxproj.filters
@@ -253,48 +253,6 @@
<ClCompile Include="..\Objects\methodobject.c">
<Filter>Source Files</Filter>
</ClCompile>
- <ClCompile Include="..\Objects\mimalloc\alloc-aligned.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\alloc.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\arena.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\bitmap.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\heap.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\init.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\options.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\os.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\page.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\prim\prim.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\random.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\segment.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\segment-map.c">
- <Filter>Source Files</Filter>
- </CLCompile>
- <ClCompile Include="..\Objects\mimalloc\stats.c">
- <Filter>Source Files</Filter>
- </CLCompile>
<ClCompile Include="..\Python\modsupport.c">
<Filter>Source Files</Filter>
</ClCompile>
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj
index 954a59a..4d3621a 100644
--- a/PCbuild/pythoncore.vcxproj
+++ b/PCbuild/pythoncore.vcxproj
@@ -498,20 +498,6 @@
<ClCompile Include="..\Objects\longobject.c" />
<ClCompile Include="..\Objects\memoryobject.c" />
<ClCompile Include="..\Objects\methodobject.c" />
- <ClCompile Include="..\Objects\mimalloc\alloc-aligned.c" />
- <ClCompile Include="..\Objects\mimalloc\alloc.c" />
- <ClCompile Include="..\Objects\mimalloc\arena.c" />
- <ClCompile Include="..\Objects\mimalloc\bitmap.c" />
- <ClCompile Include="..\Objects\mimalloc\heap.c" />
- <ClCompile Include="..\Objects\mimalloc\init.c" />
- <ClCompile Include="..\Objects\mimalloc\options.c" />
- <ClCompile Include="..\Objects\mimalloc\os.c" />
- <ClCompile Include="..\Objects\mimalloc\page.c" />
- <ClCompile Include="..\Objects\mimalloc\prim\prim.c" />
- <ClCompile Include="..\Objects\mimalloc\random.c" />
- <ClCompile Include="..\Objects\mimalloc\segment.c" />
- <ClCompile Include="..\Objects\mimalloc\segment-map.c" />
- <ClCompile Include="..\Objects\mimalloc\stats.c" />
<ClCompile Include="..\Objects\moduleobject.c" />
<ClCompile Include="..\Objects\namespaceobject.c" />
<ClCompile Include="..\Objects\object.c" />
diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters
index 2f8b206..69d8e03 100644
--- a/PCbuild/pythoncore.vcxproj.filters
+++ b/PCbuild/pythoncore.vcxproj.filters
@@ -1130,48 +1130,6 @@
<ClCompile Include="..\Objects\methodobject.c">
<Filter>Objects</Filter>
</ClCompile>
- <ClCompile Include="..\Objects\mimalloc\alloc.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\alloc-aligned.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\arena.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\bitmap.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\heap.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\init.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\options.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\os.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\page.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\prim\prim.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\random.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\segment.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\segment-map.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
- <ClCompile Include="..\Objects\mimalloc\stats.c">
- <Filter>Objects\mimalloc</Filter>
- </ClCompile>
<ClCompile Include="..\Objects\moduleobject.c">
<Filter>Objects</Filter>
</ClCompile>