Skip to content

Fix Mypyc not compiling on Arch Linux#13978

Merged
JukkaL merged 2 commits into
python:masterfrom
dosisod:fix-mypyc-arch-linux
Nov 3, 2022
Merged

Fix Mypyc not compiling on Arch Linux#13978
JukkaL merged 2 commits into
python:masterfrom
dosisod:fix-mypyc-arch-linux

Conversation

@dosisod

@dosisod dosisod commented Nov 1, 2022

Copy link
Copy Markdown
Contributor

Closes mypyc/mypyc#956

This was originally a part of #13953, see #13953 (comment)

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Ignoring C preprocessor warnings is not ideal, but I can't think of an easy alternative. It's important to support -O0 builds.

I guess we could use -D_FORTIFY_SOURCE=0 or something, but that would disable the checks always, which seems worse.

Comment thread mypyc/build.py Outdated

@JukkaL JukkaL left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks!

@JukkaL
JukkaL merged commit bc78eb5 into python:master Nov 3, 2022
@dosisod
dosisod deleted the fix-mypyc-arch-linux branch November 4, 2022 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cannot test/install mypyc on Arch Linux

2 participants