From f140ce41641ce115b85571023f3ef7f206723b4f Mon Sep 17 00:00:00 2001
From: Tianqi Chen <tqchen@users.noreply.github.com>
Date: Mon, 4 Dec 2017 13:33:18 -0800
Subject: [PATCH] [CI] Enable llvm in CPU test (#688)

* [CI] Enable llvm in CPU test

* fix llvm
---
 Jenkinsfile                   | 1 +
 tests/ci_build/Dockerfile.cpu | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/Jenkinsfile b/Jenkinsfile
index ef9666351..793bf11f0 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -120,6 +120,7 @@ stage('Build') {
            echo USE_CUDA=0 >> config.mk
            echo USE_OPENCL=0 >> config.mk
            echo USE_RPC=0 >> config.mk
+           echo LLVM_CONFIG=llvm-config-4.0 >> config.mk
            """
         make('cpu', '-j2')
         pack_lib('cpu', tvm_lib)
diff --git a/tests/ci_build/Dockerfile.cpu b/tests/ci_build/Dockerfile.cpu
index b113fc548..2c7510365 100644
--- a/tests/ci_build/Dockerfile.cpu
+++ b/tests/ci_build/Dockerfile.cpu
@@ -17,3 +17,6 @@ RUN bash /install/ubuntu_install_python_package.sh
 
 COPY install/ubuntu_install_java.sh /install/ubuntu_install_java.sh
 RUN bash /install/ubuntu_install_java.sh
+
+COPY install/ubuntu_install_llvm.sh /install/ubuntu_install_llvm.sh
+RUN bash /install/ubuntu_install_llvm.sh
-- 
GitLab