Skip to content

Commit 8564d5e

Browse files
Set permissions on both install and build binary before uploading (#285)
call LLDB workaround correctly on binary in the install directory as well as the build directory
1 parent f1e78f5 commit 8564d5e

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

zorg/jenkins/jobs/jobs/lldb-cmake-intel

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ pipeline {
7979
git_desc=$(git describe --match "first_commit")
8080
8181
export GIT_DISTANCE=$(echo ${git_desc} | cut -f 2 -d "-")
82+
export LLVM_REV=$(git show -q | grep "llvm-svn:" | cut -f2 -d":" | tr -d " ")
8283
8384
sha=$(echo ${git_desc} | cut -f 3 -d "-")
8485
export GIT_SHA=${sha:1}
@@ -98,11 +99,16 @@ pipeline {
9899
--runtimes="libcxx;libcxxabi;compiler-rt;libunwind" \
99100
--compiler-flag="-Wdocumentation" \
100101
--cmake-type=Release)
101-
'''
102-
script {
103-
def LLDB = new org.swift.LLDB()
104-
LLDB.LLDB_prepare()
105-
}
102+
103+
export INSTALL_DIR=lldb-install
104+
python3 llvm-zorg/zorg/jenkins/monorepo_build.py lldb-cmake install
105+
'''
106+
107+
script {
108+
def LLDB = new org.swift.LLDB()
109+
LLDB.LLDB_prepare("lldb-install/bin/debugserver")
110+
LLDB.LLDB_prepare("lldb-build/bin/debugserver")
111+
}
106112
}
107113
}
108114
}
@@ -184,7 +190,6 @@ pipeline {
184190
export INSTALL_DIR=lldb-install
185191
186192
cd -
187-
python3 llvm-zorg/zorg/jenkins/monorepo_build.py lldb-cmake install
188193
189194
python3 llvm-zorg/zorg/jenkins/monorepo_build.py artifact
190195
'''

0 commit comments

Comments
 (0)