This is an archive of the discontinued LLVM Phabricator instance.

Fix configure & make build with python disabled
ClosedPublic

Authored by loladiro on Aug 14 2014, 4:21 PM.

Details

Summary

This makes sure that nothing that requires Python is being built when the LLDB_DISABLE_PYTHON flag is being passed in. It also changes a use of CPPFLAGS to CPP.Flags since the former is overridden when external flags are passed in while the later is not. I'm not sure exactly why LLDB_DISABLE_PYTHON is in CXXFLAGS rather than CPPFLAGS, but cleaning that up is for another commit.

Diff Detail

Repository
rL LLVM

Event Timeline

loladiro updated this revision to Diff 12529.Aug 14 2014, 4:21 PM
loladiro retitled this revision from to Fix build on Linux with DISABLE_PYTHON enabled.
loladiro updated this object.
loladiro edited the test plan for this revision. (Show Details)
loladiro set the repository for this revision to rL LLVM.
loladiro added a subscriber: Unknown Object (MLST).
emaste added a subscriber: emaste.Aug 15 2014, 8:14 AM

This is really "Fix configure & make build without Python" I think. I've built w/o Python just fine via CMake + Ninja.

source/Interpreter/Makefile
17 ↗(On Diff #12529)

I'd prefer a more descriptive name (even though it's used immediately below).

source/Plugins/Process/POSIX/Makefile
17 ↗(On Diff #12529)

It looks like there are a few other instances in the tree needing the same change

loladiro updated this revision to Diff 12683.Aug 19 2014, 2:13 PM
loladiro retitled this revision from Fix build on Linux with DISABLE_PYTHON enabled to Fix configure & make build with python disabled.

Changed other instances of CPPFLAGS to CPP.Flags, renamed the DO_BUILD variable to DO_BUILD_LLDBWrapPython, changed commit message.

Bump. Does this look ok now?

tfiala added a subscriber: tfiala.

Putting Ed on this :-)

loladiro updated this revision to Diff 12913.Aug 25 2014, 1:10 PM

Fixed a recent regression with LLDB_DISABLE_PYTHON in HostInfo.

I have other people running into this. If I don't hear any objections soon I'll go ahead and commit this.

Diffusion closed this revision.Sep 8 2014, 10:02 PM
Diffusion updated this revision to Diff 13443.

Closed by commit rL217414 (authored by kfischer).