Page MenuHomePhabricator

[clang] Build clang-shlib on mingw
AbandonedPublic

Authored by vchuravy on Jan 21 2020, 7:10 PM.

Details

Reviewers
tstellar
mstorsjo
Summary

Currently we exclude the libclang-cpp cmake files
on any non-unix platform, this excludes mingw32.

I suspect that the goal was to exclude MSVC only.
For the LLVM shlib we throw an error if someone tries
to build the shared library, whereas I stuck to the pattern
here that a misconfiguration causes an early return.

Diff Detail

Event Timeline

vchuravy created this revision.Jan 21 2020, 7:10 PM
Herald added a project: Restricted Project. · View Herald TranscriptJan 21 2020, 7:10 PM

Some additional context. We [Julia] is cross-compiling LLVM from Linux to mingw32
as part of an automatic buildsystem for our binary dependencies. The corresponding PR is https://github.com/JuliaPackaging/Yggdrasil/pull/417

Unit tests: pass. 62088 tests passed, 0 failed and 784 were skipped.

clang-tidy: unknown.

clang-format: pass.

Build artifacts: diff.json, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

vchuravy added a subscriber: Restricted Project.Mar 29 2020, 6:43 PM

This actually is done (almost) like this in current git master, see D87547 and D89225.

vchuravy abandoned this revision.Thu, Jul 15, 11:46 AM