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

Commit

Permalink
Merge pull request #129 from chenyukang/update-llvm-dep
Browse files Browse the repository at this point in the history
  • Loading branch information
Hywan authored Jul 8, 2021
2 parents 8a82229 + cdccaec commit 89f6f7b
Showing 1 changed file with 4 additions and 3 deletions.
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

0 comments on commit 89f6f7b

Please sign in to comment.