Update README.md

This commit is contained in:
powderluv
2022-09-12 07:12:57 -07:00
committed by GitHub
parent 1d7035117d
commit ccd7a01ce2

View File

@@ -1,20 +1,17 @@
# IREE C/C++ Samples
# SHARK C/C++ Samples
These C/C++ samples can be built using CMake. The samples depend on the main
IREE project's C/C++ sources, including both the runtime and the compiler. See
https://iree-org.github.io/iree/building-from-source/getting-started/ for general
information about build system installation and options, then from this project
run
IREE project's C/C++ sources, including both the runtime and the compiler.
```bash
cmake -GNinja -B ./build/ -S .
cmake --build ./build/
cmake -GNinja -B build/
cmake --build build/
```
Individual samples may require additional dependencies. Watch CMake's output
for information about which you are missing for individual samples.
We recommend using https://github.com/microsoft/vcpkg to download packages for
On Windows we recommend using https://github.com/microsoft/vcpkg to download packages for
your system. The general setup flow looks like
```bash
@@ -23,3 +20,9 @@ vcpkg integrate install
# Then pass `-DCMAKE_TOOLCHAIN_FILE=[check logs for path]` when configuring CMake
```
In Ubuntu Linux you can install
```bash
sudo apt install libsdl2-dev
```