Skip to content

minrk/nonofusedmadd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

No no-fused-madd

OS X 10.9 + System Python + Xcode 5.1 = can't compile anything (more information on Stack Overflow).

This script patches _sysconfigdata.py to remove the offending flag -mno-fused-madd.

It patches a file in /System, which is horrible, so probably nobody should ever use it.

To install:

sudo pip install nonofusedmadd

To undo the patch after installing:

sudo python -m nonofusedmadd restore

To reapply the patch:

sudo python -m nonofusedmadd patch

To show the diff

python -m nonofusedmadd diff

Note that since this is for patching System Python, sudo is probably required. There is no --user install that makes sense.

You can also just download the script without installing it, and do all the same actions with

sudo python nonofusemadd.py

instead of python -m nonofusemadd.

About

fix build errors on OS X 10.9 System Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages