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

gh-90815: Exclude mimalloc .c files from Windows build by DinoV · Pull Request #111532 · python/cpython · GitHub

/ cpython Public

gh-90815: Exclude mimalloc .c files from Windows build - #111532

Merged
DinoV merged 2 commits into
python:mainfrom
DinoV:nogil/mimalloc_windows
Oct 31, 2023
Merged

gh-90815: Exclude mimalloc .c files from Windows build#111532
DinoV merged 2 commits into
python:mainfrom
DinoV:nogil/mimalloc_windows

Conversation

DinoV commented Oct 31, 2023
edited
Loading

Copy link
Copy Markdown
Contributor

Remove mimalloc .c files from Windows build

Copy link
Copy Markdown
Member

There are some compiler warnings: 'fprintf' : format string '%ld' requires an argument of type 'long', but variadic argument 1 has type 'unsigned __int64' [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]

Copy link
Copy Markdown
Member

Tests pass!

corona10 changed the title Don't include mimalloc .c's in Windows build gh-90815: Exclude mimalloc .c files from Windows build Oct 31, 2023

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. Objects/obmalloc.c uses #include "pycore_mimalloc.h", so already includes mimalloc code "statically".

Copy link
Copy Markdown
Member

I don't click on "Enable auto-merge", since I would like to see if the warnings are gone ;-)

DinoV added 2 commits October 31, 2023 10:23
Summary:

Test Plan:

Reviewers:

Subscribers:

Tasks:

Tags:
DinoV force-pushed the nogil/mimalloc_windows branch from 846b2af to 7894cca Compare October 31, 2023 17:24
DinoV merged commit c42347d into python:main Oct 31, 2023
FullteaR pushed a commit to FullteaR/cpython that referenced this pull request Nov 3, 2023
…111532)

* Don't include mimalloc .c's in Windows build
* Fix warnings on Windows related to mimalloc
aisk pushed a commit to aisk/cpython that referenced this pull request Feb 11, 2024
…111532)

* Don't include mimalloc .c's in Windows build
* Fix warnings on Windows related to mimalloc
DinoV deleted the nogil/mimalloc_windows branch May 31, 2024 18:23
Glyphack pushed a commit to Glyphack/cpython that referenced this pull request Sep 2, 2024
…111532)

* Don't include mimalloc .c's in Windows build
* Fix warnings on Windows related to mimalloc
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL