This is an archive of the discontinued LLVM Phabricator instance.

[llvm-shlib] Fix windows build failed while llvm non-standalone building.
ClosedPublic

Authored by dstuttard on Oct 18 2021, 2:52 AM.

Details

Reviewers
phosek
MaskRay
Summary

While build llvm-project as a sub-project on windows, met a build error:
libllvm-c.exports /llvm/bin\llvm-nm.exe: error: ...builds/rel64ninja/./lib/LLVMDemangle.lib: no such file or directory
The libllvm-c.exports, libllvm-c.args, and lib/*.lib should under LLVM_BINARY_DIR, using CMAKE_BINARY_DIR will cause 'no such file' error while llvm-project built as a sub-project.

Diff Detail

Event Timeline

dstuttard created this revision.Oct 18 2021, 2:52 AM
dstuttard requested review of this revision.Oct 18 2021, 2:52 AM
Herald added a project: Restricted Project. · View Herald TranscriptOct 18 2021, 2:52 AM
phosek accepted this revision.Oct 18 2021, 12:26 PM

LGTM

This revision is now accepted and ready to land.Oct 18 2021, 12:26 PM