Skip to content

Commit 6a6dcda

Browse files
authored
README.md: Add the tutorial for building the proj. (#144)
1 parent d00cf26 commit 6a6dcda

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,16 @@ Other projects related to using Rust on the GPU:
8282
- 2020: [rlsl](https://github.com/MaikKlein/rlsl) Experimental Rust -> SPIR-V compiler (predecessor to rust-gpu)
8383
- 2020: [rust-gpu](https://github.com/Rust-GPU/rust-gpu) `rustc` compiler backend to compile Rust to SPIR-V for use in shaders, similar mechanism as our project.
8484

85+
## Usage
86+
```bash
87+
## setup your environment like:
88+
### export OPTIX_ROOT=/opt/NVIDIA-OptiX-SDK-9.0.0-linux64-x86_64
89+
### export OPTIX_ROOT_DIR=/opt/NVIDIA-OptiX-SDK-9.0.0-linux64-x86_64
90+
91+
## build proj
92+
cargo build
93+
```
94+
8595
## License
8696

8797
Licensed under either of

0 commit comments

Comments
 (0)