Skip to content

Commit f044911

Browse files
committed
[utils/build-parser-lib] Set DLLVM_ENABLE_LIBXML2=FALSE for parser library build
This is not necessary and causes CMake error in certain builds
1 parent a68aa78 commit f044911

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build-parser-lib

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ class Builder(object):
121121
cmake_args += ['-DSWIFT_BUILD_REMOTE_MIRROR=FALSE', '-DSWIFT_BUILD_DYNAMIC_STDLIB=FALSE',
122122
'-DSWIFT_BUILD_STATIC_STDLIB=FALSE', '-DSWIFT_BUILD_DYNAMIC_SDK_OVERLAY=FALSE',
123123
'-DSWIFT_BUILD_STATIC_SDK_OVERLAY=FALSE']
124+
cmake_args += ['-DLLVM_ENABLE_LIBXML2=FALSE']
124125
# We are not using cmark but initialize the CMARK variables to something so that configure can succeed.
125126
cmake_args += ['-DCMARK_MAIN_INCLUDE_DIR='+os.path.join(SWIFT_SOURCE_ROOT, 'cmark'), '-DCMARK_BUILD_INCLUDE_DIR='+os.path.join(self.build_dir, 'cmark')]
126127
cmake_args += ['-DLLVM_INCLUDE_TESTS=FALSE', '-DCLANG_INCLUDE_TESTS=FALSE', '-DSWIFT_INCLUDE_TESTS=FALSE']

0 commit comments

Comments
 (0)