diff options
author | Renato Golin <renato.golin@linaro.org> | 2016-10-19 23:46:37 +0100 |
---|---|---|
committer | Renato Golin <renato.golin@linaro.org> | 2016-10-19 23:47:19 +0100 |
commit | 767231ccad0d70552e83db4239a90c738895f3c4 (patch) | |
tree | 8301bd67e22f0aedb4f96a3e82eaf87f8e783748 | |
parent | 27a7ba10f9eb3cb5664e9e2b5a7a51433957db1a (diff) |
[build] adding split-dwrf to llvm-build debug
-rwxr-xr-x | helpers/llvm-build | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/helpers/llvm-build b/helpers/llvm-build index 0556b6e..b6fb46b 100755 --- a/helpers/llvm-build +++ b/helpers/llvm-build @@ -18,6 +18,7 @@ install_dir=$LLVM_INSTALL build_type=Release shared= targets= +dwarf= prog=`basename $0` syntax="Syntax: $prog [-jN] [targets]" update=false @@ -44,6 +45,7 @@ fi if [ "$LLVM_DEBUG" = true ]; then build_type=Debug shared=-DBUILD_SHARED_LIBS=True + dwarf=-DLLVM_USE_SPLIT_DWARF=ON targets=$minimal_targets fi @@ -83,7 +85,7 @@ if [ ! -f build.ninja ] && [ ! -f Makefile ]; then -DPYTHON_EXECUTABLE=/usr/bin/python2 \ -DCMAKE_INSTALL_PREFIX=$install_dir \ -DLLVM_LIT_ARGS="-sv $PARALLEL" \ - $LLVM_CMAKE_FLAGS $targets $shared $link_jobs + $LLVM_CMAKE_FLAGS $targets $shared $link_jobs $dwarf fi ## Build |