[zorg] r362513 - [lldb-cmnake-standalone] Add stage to build generated Xcode project against buildtree
Stefan Granitz via llvm-commits
llvm-commits at lists.llvm.org
Tue Jun 4 08:37:29 PDT 2019
Author: stefan.graenitz
Date: Tue Jun 4 08:37:29 2019
New Revision: 362513
URL: http://llvm.org/viewvc/llvm-project?rev=362513&view=rev
Log:
[lldb-cmnake-standalone] Add stage to build generated Xcode project against buildtree
Modified:
zorg/trunk/zorg/jenkins/jobs/jobs/lldb-cmake-standalone
Modified: zorg/trunk/zorg/jenkins/jobs/jobs/lldb-cmake-standalone
URL: http://llvm.org/viewvc/llvm-project/zorg/trunk/zorg/jenkins/jobs/jobs/lldb-cmake-standalone?rev=362513&r1=362512&r2=362513&view=diff
==============================================================================
--- zorg/trunk/zorg/jenkins/jobs/jobs/lldb-cmake-standalone (original)
+++ zorg/trunk/zorg/jenkins/jobs/jobs/lldb-cmake-standalone Tue Jun 4 08:37:29 2019
@@ -250,6 +250,52 @@ echo "@@@@@@"
}
}
}
+ stage('LLDB generated Xcode project against buildtree') {
+ steps {
+ timeout(activity: true, time: 30) {
+ sh '''
+set -eux
+
+
+# Avoid the python in /usr/local/bin.
+PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/jbin
+
+if [ -z "WORKSPACE" ]; then
+ echo "WORKSPACE is not set."
+ exit 1
+fi
+
+SRC="$WORKSPACE"
+BUILD="$WORKSPACE/lldb-xcode-against-buildtree"
+TEST="$WORKSPACE/test"
+DEST="$WORKSPACE/lldb-install"
+LLDB_SRC="$SRC/lldb"
+
+mkdir -p $BUILD
+cd $BUILD
+
+echo "@@@ CMake @@@"
+cmake -L $LLDB_SRC \
+ -C $LLDB_SRC/cmake/caches/Apple-lldb-macOS.cmake \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DLLVM_VERSION_PATCH=99 \
+ -DLLVM_DIR=${WORKSPACE}/llvm-buildtree/lib/cmake/llvm \
+ -DClang_DIR=${WORKSPACE}/llvm-buildtree/lib/cmake/clang \
+ -DPYTHON_EXECUTABLE=/usr/bin/python2.7 \
+ -DPYTHON_LIBRARY=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \
+ -DPYTHON_INCLUDE_DIR=/System/Library/Frameworks/Python.framework/Versions/2.7/include/python2.7 \
+ -DPYTHON_LIBRARY_DEBUG=/System/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib \
+ -G Xcode
+echo "@@@@@@"
+
+echo "@@@ Compile @@@"
+xcodebuild -configuration Release
+echo "@@@@@@"
+
+ '''
+ }
+ }
+ }
stage('Cleanup') {
steps {
timeout(activity: true, time: 30) {
More information about the llvm-commits
mailing list