Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

add doc for LLVM doc #129

Merged
merged 1 commit into from
Jul 8, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions ecosystem/wasmer/building-from-source/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ Windows support is fully supported. WASI is fully supported, but Emscripten supp

1. Install [Visual Studio](https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=15)
2. Install [Rust for Windows](https://win.rustup.rs/)
3. Install [Git for Windows](https://git-scm.com/download/win). Allow it to add `git.exe` to your PATH \(default settings for the installer are fine\).
5. \(optional\) Install [LLVM 10.0](https://prereleases.llvm.org/win-snapshots/LLVM-10.0.0-e20a1e486e1-win64.exe)
3. Install [Git for Windows](https://git-scm.com/download/win). Allow it to add `git.exe` to your PATH(default settings for the installer are fine\).
4. \(optional\) Install [LLVM 11.0](https://prereleases.llvm.org/win-snapshots/LLVM-11.0.0-2663a25f-win64.exe)

## Building the Wasmer Runtime

Expand Down Expand Up @@ -74,8 +74,9 @@ You may disable Cranelift compiler with `export ENABLE_CRANELIFT=0`.
If you want support for the Wasmer LLVM compiler, then you will also need to ensure:

* Ensure that LLVM 10.0.x > is installed on your system
* You can refer to [LLVM install instructions](https://github.com/wasmerio/wasmer/tree/master/lib/compiler-llvm#requirements)
* You can also [download and use a prebuilt LLVM binary](https://releases.llvm.org/download.html)
* In case `llvm-config` is not accessible, set the correct environment variable for LLVM to access: For example, the environment variable for LLVM 10.0.x would be: `LLVM_SYS_100_PREFIX=/path/to/unpacked/llvm-10.0`
* In case `llvm-config` is not accessible, set the correct environment variable for LLVM to access: For example, the environment variable for LLVM 11.0.x would be: `LLVM_SYS_110_PREFIX=/path/to/unpacked/llvm-11.0`

And create a Wasmer release

Expand Down