Skip to content

Commit c2d9ca7

Browse files
authored
Merge pull request #1017 from rokups/disable-extra-linux-libs
Explicitly disable use of libedit, zlib, terminfo and libxml2 in LLVM builds
2 parents e75e96b + 02ae1f8 commit c2d9ca7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build/scripts/LLVM.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -183,6 +183,10 @@ function cmake(gen, conf, builddir, options)
183183
or "cmake"
184184
local cmd = cmake .. " -G " .. '"' .. gen .. '"'
185185
.. ' -DLLVM_BUILD_TOOLS=false '
186+
.. ' -DLLVM_ENABLE_LIBEDIT=false'
187+
.. ' -DLLVM_ENABLE_ZLIB=false'
188+
.. ' -DLLVM_ENABLE_TERMINFO=false'
189+
.. ' -DLLVM_ENABLE_LIBXML2=false'
186190
.. ' -DLLVM_INCLUDE_EXAMPLES=false '
187191
.. ' -DLLVM_INCLUDE_DOCS=false '
188192
.. ' -DLLVM_INCLUDE_TESTS=false'

0 commit comments

Comments
 (0)