Skip to content

Commit

Permalink
Merged in SIM-3764 (pull request apache#21)
Browse files Browse the repository at this point in the history
SIM-3764: add: ref repos

Approved-by: Lam Nguyen
Approved-by: Jeffrey Uong
  • Loading branch information
Spenser Gilliland committed Aug 20, 2020
2 parents e664c36 + 636cbe7 commit 8087a7c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion ci_jobs/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!groovy
library('sima-jenkins-lib')

DOCKER_OPTS = '-m 32g --cpus 8 -v /jenkins/workspace/ref_repos:/jenkins/workspace/ref_repos:rw,z'

def main() {
def job_name = env.JOB_NAME.split('/')[1]

Expand Down Expand Up @@ -42,7 +44,7 @@ def main() {
image['post']()
}
}, build: {
image["image"].inside("-m 32g -c 8") {
image["image"].inside(DOCKER_OPTS) {
utils.cmakeBuild("build", "-DCMAKE_CXX_COMPILER_LAUNCHER=ccache", {}, { src_dir ->
stage("Python Bindings") {
dir("${env.WORKSPACE}/python") {
Expand Down
6 changes: 4 additions & 2 deletions ci_jobs/Jenkinsfile.release
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/usr/bin/env groovy
library('sima-jenkins-lib')

DOCKER_OPTS = '-m 32g --cpus 8 -v /jenkins/workspace/ref_repos:/jenkins/workspace/ref_repos:rw,z'

def main() {
def job_name = env.JOB_NAME.split('/')[1]
def image
Expand All @@ -21,11 +23,11 @@ def main() {
}
}
timeout(120) {
image.inside("-m 32g --cpus=8") {
image.inside(DOCKER_OPTS) {
stage("Download Package") {
utils.record('download.log', {
sh "rm -rf *.whl"

tvm_pkg_name = "sima-tvm"
vinfo = readYaml file: "${env.WORKSPACE}/python/VERSION.in"
tvm_version = vinfo['major'] + "." + vinfo['minor'] + "." + vinfo['patch']
Expand Down

0 comments on commit 8087a7c

Please sign in to comment.