-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[CMake] Followup to #102396 and restore old DynamicLibrary symbols behavior #102671
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[CMake] Followup to #102396 and restore old DynamicLibrary symbols behavior #102671
Conversation
Created using spr 1.3.5
@llvm/pr-subscribers-llvm-support Author: Steven Wu (cachemeifyoucan) ChangesFollowup to #102138 and #102396, restore more old behavior to fix Full diff: https://github.com/llvm/llvm-project/pull/102671.diff 1 Files Affected:
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
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/66/builds/2737 Here is the relevant piece of the build log for the reference:
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/146/builds/418 Here is the relevant piece of the build log for the reference:
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/52/builds/1524 Here is the relevant piece of the build log for the reference:
|
Reverted. As this makes few other bots failure and didn't fix the ppc64 bot. |
It did fix the ppc64 bot https://lab.llvm.org/buildbot/#/builders/64/builds/668. Would it make sense to guard this PR for AIX only, as a temporary fix, then we'll investigate the difference further? EDIT: never mind, I see you have a second fix. |
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.
Followup to #102138 and #102396, restore more old behavior to fix
ppc64-aix bot.