From dce502ede0f35762ae0fb3f895c659e4fe912bf9 Mon Sep 17 00:00:00 2001 From: Greg Clayton Date: Fri, 4 Nov 2011 03:34:56 +0000 Subject: Fixed the Xcode project building of LLVM to be a bit more user friendly: - If you download and build the sources in the Xcode project, x86_64 builds by default using the "llvm.zip" checkpointed LLVM. - If you delete the "lldb/llvm.zip" and the "lldb/llvm" folder, and build the Xcode project will download the right LLVM sources and build them from scratch - If you have a "lldb/llvm" folder already that contains a "lldb/llvm/lib" directory, we will use the sources you have placed in the LLDB directory. Python can now be disabled for platforms that don't support it. Changed the way the libllvmclang.a files get used. They now all get built into arch specific directories and never get merged into universal binaries as this was causing issues where you would have to go and delete the file if you wanted to build an extra architecture slice. llvm-svn: 143678 --- lldb/source/Interpreter/ScriptInterpreterPython.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lldb/source/Interpreter/ScriptInterpreterPython.cpp') diff --git a/lldb/source/Interpreter/ScriptInterpreterPython.cpp b/lldb/source/Interpreter/ScriptInterpreterPython.cpp index ee356900e85b..213a69ed922c 100644 --- a/lldb/source/Interpreter/ScriptInterpreterPython.cpp +++ b/lldb/source/Interpreter/ScriptInterpreterPython.cpp @@ -9,6 +9,11 @@ // In order to guarantee correct working with Python, Python.h *MUST* be // the *FIRST* header file included here. +#ifdef LLDB_DISABLE_PYTHON + +// Python is disabled in this build + +#else #if defined (__APPLE__) #include @@ -1998,3 +2003,5 @@ ScriptInterpreterPython::InitializePrivate () // // //// Py_Finalize (); //} + +#endif // #ifdef LLDB_DISABLE_PYTHON -- cgit v1.2.3