refactor: rename *_LOCATION env vars -> *_PATH

I don't know why I ever called it location. That's been weird. Everyone calls it a path.
This commit is contained in:
Carson M.
2026-01-28 01:59:39 -06:00
parent 9733fdd131
commit 1c7dfcf14d
8 changed files with 30 additions and 20 deletions

View File

@@ -39,7 +39,7 @@ jobs:
- uses: Swatinem/rust-cache@v2.7.8
- name: Run test
run: |
ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo example-custom-ops
ORT_LIB_PATH="$(pwd)/onnxruntime/build/Linux/Release" cargo example-custom-ops
# minimal-build:
# name: Minimal build
# runs-on: ubuntu-latest
@@ -58,4 +58,4 @@ jobs:
# - uses: Swatinem/rust-cache@v2.7.8
# - name: Test linking
# run: |
# ORT_LIB_LOCATION="$(pwd)/onnxruntime/build/Linux/Release" cargo build --manifest-path examples/custom-ops/Cargo.toml --example custom-ops --target-dir target
# ORT_LIB_PATH="$(pwd)/onnxruntime/build/Linux/Release" cargo build --manifest-path examples/custom-ops/Cargo.toml --example custom-ops --target-dir target