From c23f5cb1a7bb400ddaf79114e092925b909416b0 Mon Sep 17 00:00:00 2001 From: huzhiqiang <912790387@qq.com> Date: Sun, 29 Mar 2020 15:35:17 +0800 Subject: [PATCH] [x86] change x86 compile mode into release to reduce publish lib size #3288 --- lite/tools/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lite/tools/build.sh b/lite/tools/build.sh index e28dd6c53e..4c74f75c91 100755 --- a/lite/tools/build.sh +++ b/lite/tools/build.sh @@ -360,6 +360,7 @@ function make_x86 { -DWITH_GPU=OFF \ -DLITE_WITH_PYTHON=${BUILD_PYTHON} \ -DLITE_BUILD_EXTRA=ON \ + -DCMAKE_BUILD_TYPE=Release \ -DLITE_WITH_XPU=$BUID_XPU \ -DXPU_SDK_ROOT=$XPU_SDK_ROOT -- GitLab