Author: sylvestre
Date: Thu Dec  5 06:51:47 2013
New Revision: 196499

URL: http://llvm.org/viewvc/llvm-project?rev=196499&view=rev
Log:
Revert: "Patch from Todd Fiala that install the lldb.py module in the prefix 
directory and also makes install fail if the prefix directory can't be accessed"

Does not respect the prefix



Modified:
    lldb/trunk/scripts/finish-swig-wrapper-classes.sh
    lldb/trunk/source/Interpreter/Makefile

Modified: lldb/trunk/scripts/finish-swig-wrapper-classes.sh
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/scripts/finish-swig-wrapper-classes.sh?rev=196499&r1=196498&r2=196499&view=diff
==============================================================================
--- lldb/trunk/scripts/finish-swig-wrapper-classes.sh (original)
+++ lldb/trunk/scripts/finish-swig-wrapper-classes.sh Thu Dec  5 06:51:47 2013
@@ -89,11 +89,6 @@ do
 
 
             ./finish-swig-${curlang}-LLDB.sh $SRC_ROOT $TARGET_DIR 
$CONFIG_BUILD_DIR "${PREFIX}" "${debug_flag}" "${makefile_flag}"
-            retval=$?
-            if [ $retval -ne 0 ]; then
-                echo "$(pwd)/finish-swig-${curlang}-LLDB.sh failed with exit 
code $retval"
-                exit $retval
-            fi
         fi
     fi
 done

Modified: lldb/trunk/source/Interpreter/Makefile
URL: 
http://llvm.org/viewvc/llvm-project/lldb/trunk/source/Interpreter/Makefile?rev=196499&r1=196498&r2=196499&view=diff
==============================================================================
--- lldb/trunk/source/Interpreter/Makefile (original)
+++ lldb/trunk/source/Interpreter/Makefile Thu Dec  5 06:51:47 2013
@@ -35,7 +35,7 @@ LLDBWrapPython.cpp lldb.py: $(PROJ_SRC_D
 
 install-local:: lldb.py
        $(Echo) Installing $(BuildMode) LLDB python modules
-       $(Verb) 
"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/finish-swig-wrapper-classes.sh" 
"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)" "$(PROJ_OBJ_DIR)" "$(PROJ_OBJ_DIR)" "$(prefix)" 
-m
+       $(Verb) 
"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/scripts/finish-swig-wrapper-classes.sh" 
"$(PROJ_SRC_DIR)/$(LLDB_LEVEL)" "$(PROJ_OBJ_DIR)" "$(PROJ_OBJ_DIR)" "" -m
 
 clean-local::
        $(Verb) $(RM) -f LLDBWrapPython.cpp lldb.py


_______________________________________________
lldb-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/lldb-commits

Reply via email to