Skip to content

Commit

Permalink
Compilation notes: environment variable was changed to 'ORT_LIB_LOCAT…
Browse files Browse the repository at this point in the history
…ION' (from 'ONNXRUNTIME_INSTALL_DIR')
  • Loading branch information
nbigaouette committed Apr 11, 2021
1 parent c019728 commit a5e7f95
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ONNX_Compilation_Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ export LLVM_CONFIG_PATH=/usr/local/opt/llvm/bin/llvm-config
export LLVM_CONFIG_PATH=/opt/homebrew/opt/llvm/bin/llvm-config
```

The `build.rs` script uses the `ONNXRUNTIME_INSTALL_DIR` environment variable to
The `build.rs` script uses the `ORT_LIB_LOCATION` environment variable to
find the built library and its headers. Make sure to point to the proper location:

```sh
export ONNXRUNTIME_INSTALL_DIR=/full/path/to/onnxruntime
export ORT_LIB_LOCATION=/full/path/to/onnxruntime
```

**NOTE**: The [`.cargo/config`](.cargo/config) file assumes the library is installed
Expand Down

0 comments on commit a5e7f95

Please sign in to comment.