File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
llvm/unittests/Support/DynamicLibrary Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -15,12 +15,22 @@ set_output_directory(DynamicLibraryLib
1515 LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}
1616 )
1717
18- add_llvm_unittest(DynamicLibraryTests
19- DynamicLibraryTest.cpp
18+ # FIXME: Find out why AIX fails with new DynamicLibrary symbols behavior.
19+ if (${CMAKE_SYSTEM_NAME} MATCHES "AIX" )
20+ add_llvm_unittest(DynamicLibraryTests
21+ DynamicLibraryTest.cpp
22+ )
23+ else ()
24+ add_llvm_unittest(DynamicLibraryTests
25+ DynamicLibraryTest.cpp
2026
21- EXPORT_SYMBOLS
22- )
27+ EXPORT_SYMBOLS
28+ )
29+ endif ()
2330target_link_libraries (DynamicLibraryTests PRIVATE DynamicLibraryLib)
31+ if (${CMAKE_SYSTEM_NAME} MATCHES "AIX" )
32+ export_executable_symbols(DynamicLibraryTests)
33+ endif ()
2434
2535function (dynlib_add_module NAME )
2636 add_library (${NAME} MODULE
You can’t perform that action at this time.
0 commit comments