Fuchsia: Add LLVM 10.0 configuration headers.
These were generated by running the LLVM CMake with a Fuchsia toolchain,
from the release/10.x branch of https://github.com/ then copying the
include/llvm/Config directory here.
The content is exactly the same as the linux one, except for config.h
due to platform differences.
The generated stripped Fuchsia/x64 binary is 25 MiB (compared to 22 MiB
for LLVM 7.0).
git clone https://github.com/llvm/llvm-project.git --depth=1
git checkout release/10.x
cd llvm-project
mkdir build && cd build
cmake ../llvm -DCMAKE_TOOLCHAIN_FILE=/tmp/cmake-sdk/FuchsiaSdkToolchain.cmake -GNinja
ninja -j32
mkdir -p $SWIFTSHADER_DIR/third_party/llvm-10.0/configs/fuchsia/include/llvm
cp -r include/llvm/Config $SWIFTSHADER_DIR/third_party/llvm-10.0/configs/fuchsia/include/llvm/
Bug: b/154082485
Change-Id: Ife30265cf77ee79f14face1f0de8e9b9f8d639b1
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/43851
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Tested-by:
David Turner <digit@google.com>
Reviewed-by:
Ben Clayton <bclayton@google.com>
Showing
Please
register
or
sign in
to comment