From 79d881c6f2d2760bf2b16af68e83c1540272e969 Mon Sep 17 00:00:00 2001 From: Sam Clegg Date: Fri, 21 Feb 2020 10:59:46 -0800 Subject: [PATCH] Update submodules and switch to llvm 9 branch (#102) This change was mostly generated by changing the upstream llvm branch to 9.x and running: $ git submodule update --remote As well as switching the llvm 9 this change also bring in the following wasi-libc changes: 5933c20 fix macos filename, use https 7c39519 CI: upgrade to llvm 9.0.0 9ca5187 remove no-self-update workaround for windows azure 9580a25 deprecate azure pipelines CI, build libc on GH Actions 2c2fc9a Don't call `free` on paths which are about to call `_Exit`. (#161) c6f2c05 gen-headers: Generate assertions of layout from witx (#149) 37c663f Correct minor typo in c_headers.rs (#166) 12f5832 Convert more wasi-libc code to `//`-style comments. (#153) ec86d4d Improvements to wasi-headers tool (#160) 1fad338 Fix environment variable init to exit successfully. (#159) a280fea Move math source files. (#151) dd010be Avoid using cast expressions in WASI API constants. (#148) Fixes: #101 --- .gitmodules | 2 +- README.md | 11 ++++++----- src/config | 2 +- src/llvm-project | 2 +- src/wasi-libc | 2 +- 5 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.gitmodules b/.gitmodules index c809da2..efd5330 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,7 +1,7 @@ [submodule "src/llvm-project"] path = src/llvm-project url = https://github.com/llvm/llvm-project - branch = release/8.x + branch = release/9.x [submodule "src/wasi-libc"] path = src/wasi-libc url = https://github.com/CraneStation/wasi-libc diff --git a/README.md b/README.md index 3c767dc..53d8340 100644 --- a/README.md +++ b/README.md @@ -15,12 +15,13 @@ wasi-libc tree. The libc portion of this SDK is the [wasi-libc](https://github.com/CraneStation/wasi-libc). -Upstream Clang and LLVM 8.0 can compile for WASI out of the box, and WebAssembly -support is included in them by default. So, all that's done here is to provide -builds configured to set the default target and sysroot for convenience. +Upstream Clang and LLVM (from 8.0 onwards) can compile for WASI out of the box, +and WebAssembly support is included in them by default. So, all that's done here +is to provide builds configured to set the default target and sysroot for +convenience. -One could also use a standard Clang 8.0, build a sysroot from the sources -mentioned above, and compile with +One could also use a standard Clang installation, build a sysroot from the +sources mentioned above, and compile with "--target=wasm32-wasi --sysroot=/path/to/sysroot". ## Notes for Autoconf diff --git a/src/config b/src/config index a8d79c3..5256817 160000 --- a/src/config +++ b/src/config @@ -1 +1 @@ -Subproject commit a8d79c3130da83c7cacd6fee31b9acc53799c406 +Subproject commit 5256817ace8493502ec88501a19e4051c2e220b0 diff --git a/src/llvm-project b/src/llvm-project index 0399d5a..c1a0a21 160000 --- a/src/llvm-project +++ b/src/llvm-project @@ -1 +1 @@ -Subproject commit 0399d5a9682b3cef71c653373e38890c63c4c365 +Subproject commit c1a0a213378a458fbea1a5c77b315c7dce08fd05 diff --git a/src/wasi-libc b/src/wasi-libc index f645f49..5933c20 160000 --- a/src/wasi-libc +++ b/src/wasi-libc @@ -1 +1 @@ -Subproject commit f645f498dfbbbc00a7a97874d33082d3605c3f21 +Subproject commit 5933c205df976a9da0468802f164e5bb4f061b11