diff options
| author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-10-15 16:55:23 +0000 |
|---|---|---|
| committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2017-10-15 16:55:23 +0000 |
| commit | c2e2e0a678e41ce4670f8248b9faefe1cdf54b07 (patch) | |
| tree | d58de8aba6608c80b76007e708bcdcd427e1ea1a /llvm | |
| parent | a5af4a64d07017cb7ebbcb615d330ef29235094a (diff) | |
| download | bcm5719-llvm-c2e2e0a678e41ce4670f8248b9faefe1cdf54b07.tar.gz bcm5719-llvm-c2e2e0a678e41ce4670f8248b9faefe1cdf54b07.zip | |
[unittests] Only build llvm-cfi-verify if X86 is in LLVM_TARGETS_TO_BUILD
The test requires a target for triple x86-64, and it fails in builds that
do not have the X86 backend.
llvm-svn: 315861
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/unittests/tools/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/llvm/unittests/tools/CMakeLists.txt b/llvm/unittests/tools/CMakeLists.txt index de39fd9cd6c..5ac4c950efe 100644 --- a/llvm/unittests/tools/CMakeLists.txt +++ b/llvm/unittests/tools/CMakeLists.txt @@ -1 +1,4 @@ -add_subdirectory(llvm-cfi-verify) +if(LLVM_TARGETS_TO_BUILD MATCHES "X86") + add_subdirectory(llvm-cfi-verify) +endif() + |

