You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by nn...@apache.org on 2013/12/23 18:30:52 UTC
git commit: Added C compiler and flags to python egg build.
Updated Branches:
refs/heads/master 6fcc6b935 -> 1f27c9670
Added C compiler and flags to python egg build.
The chosen compiler and flags were not propagated to setup.py and
distutils will default to the compiler the particular python was built
with. Selecting a specific compiler for building python eggs is needed
to deal with OS X Mavericks issue.
Review: https://reviews.apache.org/r/16419
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1f27c967
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1f27c967
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1f27c967
Branch: refs/heads/master
Commit: 1f27c96709d4dd75ae50804a08039f9d285cf5c0
Parents: 6fcc6b9
Author: Niklas Q. Nielsen <ni...@mesosphere.io>
Authored: Sun Dec 22 10:54:23 2013 +0000
Committer: Niklas Q. Nielsen <ni...@mesosphere.io>
Committed: Mon Dec 23 17:29:09 2013 +0000
----------------------------------------------------------------------
src/Makefile.am | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/1f27c967/src/Makefile.am
----------------------------------------------------------------------
diff --git a/src/Makefile.am b/src/Makefile.am
index ddc43bd..054ba2e 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -711,7 +711,8 @@ PROTOBUF_EGG = ../$(PROTOBUF)/python/dist/protobuf-$(PROTOBUF_EGG_SUFFIX)
$(PROTOBUF_EGG):
@echo "Building protobuf Python egg ..."
cd ../$(PROTOBUF)/python && \
- PYTHONPATH=$(DISTRIBUTE_EGG) $(PYTHON) setup.py bdist_egg
+ CC="$(CC)" CXX="$(CXX)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \
+ PYTHONPATH=$(DISTRIBUTE_EGG) $(PYTHON) setup.py bdist_egg
CLEANFILES += $(PROTOBUF_EGG)