Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setup env to cope with OSX compiler flag issue #325

Closed
wants to merge 1 commit into from
Closed

setup env to cope with OSX compiler flag issue #325

wants to merge 1 commit into from

Conversation

bassdread
Copy link

Fix #324 to allow "python setup.py install" to work on OSX. Uses the suggestions from http://lists.open-bio.org/pipermail/biopython-dev/2014-April/011240.html to patch setup.

@bassdread
Copy link
Author

I understand it's not a great long term fix but it got me up and running.

@peterjc
Copy link
Member

peterjc commented May 12, 2014

I would prefer to add the flag to any preexisting C or C++ compiler flags, rather than blindly overwriting any prior value, but otherwise this was what I was suggesting as a workaround.

peterjc added a commit that referenced this pull request May 26, 2014
This is a workaround for Apple's incompatible Python & Clang releases,
using the C/C++ compiler environment variables to add -Qunused-arguments
to silence the clang error.

Closes issue #325.
@peterjc
Copy link
Member

peterjc commented May 26, 2014

Could you try the code from the master branch please? Specifically this commit 2ceecab which should only alter the environment variables if Clang is being used - and not override any user specified compiler flags.

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.

install fails on OSX with XCode 5.1
2 participants