Skip to content

Commit

Permalink
update cub url (#6625)
Browse files Browse the repository at this point in the history
* update cub url

* update

* update

* update
  • Loading branch information
mli authored and piiswrong committed Jun 9, 2017
1 parent 4feb759 commit 05a04c8
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
3 changes: 1 addition & 2 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,4 @@
url = https://github.com/dmlc/dlpack
[submodule "cub"]
path = cub
url = https://github.com/NVlabs/cub
shallow = true
url = https://github.com/dmlc/cub
26 changes: 18 additions & 8 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,31 @@ max_time = 60

// initialize source codes
def init_git() {
checkout scm
retry(5) {
timeout(time: 2, unit: 'MINUTES') {
sh 'git submodule update --init'
try {
timeout(time: 2, unit: 'MINUTES') {
checkout scm
sh 'git submodule update --init'
}
} catch (exc) {
deleteDir()
error "Failed to fetch source codes"
}
}
}

def init_git_win() {
checkout scm
retry(5) {
timeout(time: 2, unit: 'MINUTES') {
bat 'git submodule update --init'
}
retry(5) {
try {
timeout(time: 2, unit: 'MINUTES') {
checkout scm
bat 'git submodule update --init'
}
} catch (exc) {
deleteDir()
error "Failed to fetch source codes"
}
}
}

stage("Sanity Check") {
Expand Down
2 changes: 1 addition & 1 deletion cub
Submodule cub updated from 01347a to 80dbf0

0 comments on commit 05a04c8

Please sign in to comment.