projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09244f3
)
Disable libxml on i686, because it is a 32 bit architecture and
author
Eric Beckmann
<ecbeckmann@google.com>
Wed, 26 Jul 2017 20:22:26 +0000
(20:22 +0000)
committer
Eric Beckmann
<ecbeckmann@google.com>
Wed, 26 Jul 2017 20:22:26 +0000
(20:22 +0000)
libxml2.so is for 64 bit.
llvm-svn: 309169
llvm/cmake/config-ix.cmake
patch
|
blob
|
history
diff --git
a/llvm/cmake/config-ix.cmake
b/llvm/cmake/config-ix.cmake
index
c08fdd1
..
dc03e44
100644
(file)
--- a/
llvm/cmake/config-ix.cmake
+++ b/
llvm/cmake/config-ix.cmake
@@
-159,7
+159,7
@@
if( NOT PURE_WINDOWS AND NOT LLVM_USE_SANITIZER MATCHES "Memory.*")
find_library(ICONV_LIBRARY_PATH NAMES iconv libiconv libiconv-2 c)
set(LLVM_LIBXML2_ENABLED 0)
set(LIBXML2_FOUND 0)
- if(
LLVM_ENABLE_LIBXML2 AND CMAKE_SYSTEM_NAME MATCHES "Linux" AND ICONV_LIBRARY_PATH
)
+ if(
(LLVM_ENABLE_LIBXML2) AND (CMAKE_SYSTEM_NAME MATCHES "Linux") AND (ICONV_LIBRARY_PATH) AND (NOT LLVM_NATIVE_ARCH MATCHES "i686")
)
find_package(LibXml2)
if (LIBXML2_FOUND)
set(LLVM_LIBXML2_ENABLED 1)