Skip to content
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

Merged
merged 3 commits into from May 19, 2017

Conversation

garymathews
Copy link
Contributor

  • Update .travis.yml build file
  • Update Jenkinsfile build file
  • Include patch files for V8 5.7, 5.8 and 5.9
  • Set V8 version to 5.7.54.0, the last version legacy debug protocols are available
  • Cleaned build_v8.sh make command
  • Optimise V8 libraries using -O2

JIRA Ticket

@garymathews garymathews force-pushed the TIMOB-24297 branch 2 times, most recently from ebca98a to b393bdb Compare May 1, 2017 14:20
@garymathews garymathews force-pushed the TIMOB-24297 branch 3 times, most recently from 6c6be19 to 0eccf77 Compare May 1, 2017 19:13
Jenkinsfile Outdated
@@ -43,6 +45,18 @@ timestamps {
} // stage

stage('Setup') {

// download NDK
Copy link
Contributor

@sgtcoolguy sgtcoolguy May 1, 2017

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.

Copy link
Contributor

@sgtcoolguy sgtcoolguy May 1, 2017

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}"
Copy link
Contributor

@sgtcoolguy sgtcoolguy May 1, 2017

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'
Copy link
Contributor

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...

@garymathews garymathews force-pushed the TIMOB-24297 branch 6 times, most recently from 872a37f to f4a077f Compare May 8, 2017 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants