Disable DynamicLibraryTests when using LLVM_INTEGRATED_CRT_ALLOC (PR47881)

This commit is contained in:
Hans Wennborg 2020-10-16 16:49:39 +02:00
parent 83ae625f0c
commit 95fb3542e8
1 changed files with 4 additions and 1 deletions

View File

@ -119,4 +119,7 @@ endif()
# ManagedStatic.cpp uses <pthread>. # ManagedStatic.cpp uses <pthread>.
target_link_libraries(SupportTests PRIVATE LLVMTestingSupport ${LLVM_PTHREAD_LIB}) target_link_libraries(SupportTests PRIVATE LLVMTestingSupport ${LLVM_PTHREAD_LIB})
add_subdirectory(DynamicLibrary) if(NOT LLVM_INTEGRATED_CRT_ALLOC)
# The test doesn't pass when using a custom allocator, PR47881.
add_subdirectory(DynamicLibrary)
endif()