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
15
15
LIBRARY_DIR ${LLVM_LIBRARY_OUTPUT_INTDIR}
16
16
)
17
17
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
20
26
21
- EXPORT_SYMBOLS
22
- )
27
+ EXPORT_SYMBOLS
28
+ )
29
+ endif ()
23
30
target_link_libraries (DynamicLibraryTests PRIVATE DynamicLibraryLib )
31
+ if (${CMAKE_SYSTEM_NAME} MATCHES "AIX" )
32
+ export_executable_symbols (DynamicLibraryTests )
33
+ endif ()
24
34
25
35
function (dynlib_add_module NAME )
26
36
add_library (${NAME} MODULE
You can’t perform that action at this time.
0 commit comments