New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-24297] Add NDK r13c and r14 compatibility #19
Conversation
ebca98a
to
b393bdb
Compare
6c6be19
to
0eccf77
Compare
Jenkinsfile
Outdated
@@ -43,6 +45,18 @@ timestamps { | |||
} // stage | |||
|
|||
stage('Setup') { | |||
|
|||
// download NDK |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uh, so this block makes no sense whatsoever here.You're requesting a linux node and an OS X node to grab the ndk and unzip it, but not keeping the result.
Basically this says: Give me a 'linux' (or 'osx') machine, create a temporary workspace/directory, download the idk and unzip it (and then clean up the workspace and free up the machine)
Not to mentioned this section of the build is already wrapped in a node block so it's already working on a specific machine with a workspace allocated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm already tying the build to OS X nodes anyways, so just download the darwin ndk version, and unzip it into the working directory, then when we stash the workspace later it'll be included.
Jenkinsfile
Outdated
@@ -4,7 +4,7 @@ def build(arch, mode) { | |||
// FIXME Technically we could build on linux as well! | |||
node('osx && git && android-ndk') { | |||
unstash 'sources' | |||
sh "./build_v8.sh -n /opt/android-ndk-r11c -j8 -l ${arch} -m ${mode}" | |||
sh "./build_v8.sh -n /opt/android-ndk-r14b -j8 -l ${arch} -m ${mode}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and up here, don't point to /opt/android-ndk-r14b because no build machine has that path yet. Instead have it use the android sdk you downloaded earlier in the initial phases and states in 'sources' and unstashed here. so:
sh "./build_v8.sh -n ./android-ndk-r14b -j8 -l ${arch} -m ${mode}"
Jenkinsfile
Outdated
@@ -36,6 +34,8 @@ timestamps { | |||
userRemoteConfigs: scm.userRemoteConfigs | |||
]) | |||
|
|||
sh 'git clean -dffx' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this git clean done manually may mess up the state of the workspace and you may not be building the correct commit as a result...
872a37f
to
f4a077f
Compare
.travis.yml
build fileJenkinsfile
build file5.7, 5.8 and 5.9
5.7.54.0
, the last version legacy debug protocols are availablebuild_v8.sh
make
command-O2
JIRA Ticket