This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Add missing component dependencies, to fix building for mingw with BUILD_SHARED_LIBS
ClosedPublic

Authored by mstorsjo on Feb 1 2020, 1:11 PM.

Diff Detail

Event Timeline

mstorsjo created this revision.Feb 1 2020, 1:11 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 1 2020, 1:11 PM
Herald added a subscriber: mgorny. · View Herald Transcript
smeenai accepted this revision.Feb 4 2020, 10:38 PM

LGTM

This revision is now accepted and ready to land.Feb 4 2020, 10:38 PM
This revision was automatically updated to reflect the committed changes.

@mstorsjo Ever since this commit there's an issue on some buildbots: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/62031

Any ideas?

FAIL: LLVM :: Feature/load_extension.ll (40496 of 56443)
******************** TEST 'LLVM :: Feature/load_extension.ll' FAILED ********************
Script:
--
: 'RUN: at line 1';   /home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/build/bin/opt /home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/llvm-project/llvm/test/Feature/load_extension.ll -load=/home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/build/./lib/Bye.so -goodbye -wave-goodbye -disable-output 2>&1 | /home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/build/bin/FileCheck /home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/llvm-project/llvm/test/Feature/load_extension.ll
--
Exit Code: 1

Command Output (stderr):
--
/home/buildslave/ps4-buildslave4/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/llvm-project/llvm/test/Feature/load_extension.ll:3:10: error: CHECK: expected string not found in input
; CHECK: Bye
         ^
<stdin>:1:1: note: scanning from here
opt: CommandLine Error: Option 'enable-partial-inlining' registered more than once!
^
<stdin>:1:14: note: possible intended match here
opt: CommandLine Error: Option 'enable-partial-inlining' registered more than once!

Hello Martin,

I have reverted the remaining of this patch by f9219e644ac601ed00487bd6cb285503df5589dd.

llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast bot was red for a long time.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/62414

Please let me know if you need any assistance with debugging on the llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast.

@mstorsjo Ever since this commit there's an issue on some buildbots: http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/62031

Any ideas?

Hello Martin,

I have reverted the remaining of this patch by f9219e644ac601ed00487bd6cb285503df5589dd.

llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast bot was red for a long time.
http://lab.llvm.org:8011/builders/llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast/builds/62414

Please let me know if you need any assistance with debugging on the llvm-clang-lld-x86_64-scei-ps4-ubuntu-fast.

Sorry about this - I completely missed these mails back in February - sorry for leaving this broken, and thanks for fixing it.

I'll go ahead and commit a different kind of fix for this, the same as bc8e44218810c0db6328b9809c959ceb7d43e3f5, just disabling this for windows because this kind of setup, where symbols are expected to be located in the host loading the plugin, doesn't work there.