diff --git a/README.md b/README.md index 77c33d467a..40fb2b7a5b 100644 --- a/README.md +++ b/README.md @@ -30,16 +30,34 @@ Automated AppVeyor builds can be found [here](https://ci.appveyor.com/project/td ## Building +### NASM Some `x86_64`-specific optimizations require a recent version of [NASM](https://nasm.us/) and are enabled by default. -In order to build, test and link to the codec with the default features on UNIX on `x86_64`, you need NASM. To install this on Ubuntu or Linux Mint, run: +
+ +Install nasm + +**ubuntu 20.04** ```sh sudo apt install nasm ``` +**ubuntu 18.04** +```sh +sudo apt install nasm-mozilla +# link nasm into $PATH +sudo ln /usr/lib/nasm-mozilla/bin/nasm /usr/local/bin/ +``` +**fedora 31, 32** +```sh +sudo dnf install nasm +``` +**windows**
+Have a [NASM binary](https://www.nasm.us/pub/nasm/releasebuilds/) in your system PATH. -On Windows, a [NASM binary](https://www.nasm.us/pub/nasm/releasebuilds/) in your system PATH is required. +
+### release binary To build release binary in `target/release/rav1e` run: ```cmd