sysroot.py: add support for non-darwin platforms
authorNico Weber <thakis@chromium.org>
Wed, 17 Feb 2021 18:48:10 +0000 (13:48 -0500)
committerNico Weber <thakis@chromium.org>
Wed, 17 Feb 2021 18:57:16 +0000 (13:57 -0500)
commit6073f87d7f160a9306209efd390409e7fe67e6db
tree19da13a85380c16bac8067deb403a10c1801e183
parent14bda035abd1d1c760c3e901cc053292e750e468
sysroot.py: add support for non-darwin platforms

CMAKE_SYSROOT works fine here, and `sysroot.py make-fake`
borders on trivial here, but I suppose it's still nice
to have a consistent script to set these up across platforms.

And these are the platforms where we can do real sysroot management one
day.

Differential Revision: https://reviews.llvm.org/D96882
llvm/utils/gn/build/BUILD.gn
llvm/utils/sysroot.py