[llvm] 2596464 - [CMake] Re-land #102671 after the flaky test is disabled

Steven Wu via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 13 15:20:43 PDT 2024


Author: Steven Wu
Date: 2024-08-13T15:18:09-07:00
New Revision: 2596464dcd7563cb4f54ef794334fa87438cc324

URL: https://github.com/llvm/llvm-project/commit/2596464dcd7563cb4f54ef794334fa87438cc324
DIFF: https://github.com/llvm/llvm-project/commit/2596464dcd7563cb4f54ef794334fa87438cc324.diff

LOG: [CMake] Re-land #102671 after the flaky test is disabled

Reland #102671 after the other attempted fixes are all flawed in some
build configurations. The previous try for the same commit was breaking
a flaky tests under ASAN which is not marked as unsupported. This fix
should be good to go now.

Fixes AIX bot for DynamicLibraryTests failure.

Added: 
    

Modified: 
    llvm/unittests/Support/DynamicLibrary/CMakeLists.txt

Removed: 
    


################################################################################
diff  --git a/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt b/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
index d8dff1ef4a3f77..e976cba23ee8cf 100644
--- a/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
+++ b/llvm/unittests/Support/DynamicLibrary/CMakeLists.txt
@@ -17,10 +17,9 @@ set_output_directory(DynamicLibraryLib
 
 add_llvm_unittest(DynamicLibraryTests
   DynamicLibraryTest.cpp
-
-  EXPORT_SYMBOLS
   )
 target_link_libraries(DynamicLibraryTests PRIVATE DynamicLibraryLib)
+export_executable_symbols(DynamicLibraryTests)
 
 function(dynlib_add_module NAME)
   add_library(${NAME} MODULE


        


More information about the llvm-commits mailing list