Commit 01a99b9b by Tianqi Chen Committed by GitHub

Update jenkins file first to use sort (#1147)

parent 6fdb662e
...@@ -90,6 +90,7 @@ stage('Build') { ...@@ -90,6 +90,7 @@ stage('Build') {
echo USE_OPENGL=1 >> config.mk echo USE_OPENGL=1 >> config.mk
echo LLVM_CONFIG=llvm-config-4.0 >> config.mk echo LLVM_CONFIG=llvm-config-4.0 >> config.mk
echo USE_RPC=1 >> config.mk echo USE_RPC=1 >> config.mk
echo USE_SORT=1 >> config.mk
echo USE_GRAPH_RUNTIME=1 >> config.mk echo USE_GRAPH_RUNTIME=1 >> config.mk
echo USE_BLAS=openblas >> config.mk echo USE_BLAS=openblas >> config.mk
rm -f lib/libtvm_runtime.so lib/libtvm.so rm -f lib/libtvm_runtime.so lib/libtvm.so
...@@ -122,6 +123,7 @@ stage('Build') { ...@@ -122,6 +123,7 @@ stage('Build') {
echo USE_CUDA=0 >> config.mk echo USE_CUDA=0 >> config.mk
echo USE_OPENCL=0 >> config.mk echo USE_OPENCL=0 >> config.mk
echo USE_RPC=0 >> config.mk echo USE_RPC=0 >> config.mk
echo USE_SORT=1 >> config.mk
echo USE_OPENGL=1 >> config.mk echo USE_OPENGL=1 >> config.mk
echo LLVM_CONFIG=llvm-config-4.0 >> config.mk echo LLVM_CONFIG=llvm-config-4.0 >> config.mk
""" """
...@@ -140,6 +142,7 @@ stage('Build') { ...@@ -140,6 +142,7 @@ stage('Build') {
echo USE_OPENCL=0 >> config.mk echo USE_OPENCL=0 >> config.mk
echo LLVM_CONFIG=llvm-config-4.0 >> config.mk echo LLVM_CONFIG=llvm-config-4.0 >> config.mk
echo USE_RPC=1 >> config.mk echo USE_RPC=1 >> config.mk
echo USE_SORT=1 >> config.mk
""" """
make('i386', '-j2') make('i386', '-j2')
sh "mv lib/libtvm.so lib/libtvm_llvm40.so" sh "mv lib/libtvm.so lib/libtvm_llvm40.so"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment