-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCross.toml
More file actions
31 lines (25 loc) · 797 Bytes
/
Cross.toml
File metadata and controls
31 lines (25 loc) · 797 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Cross.toml - Configuration for cross-rs
# https://github.com/cross-rs/cross
[build.env]
passthrough = [
"RUST_BACKTRACE",
"CARGO_INCREMENTAL",
]
[target.x86_64-unknown-linux-musl]
# Custom image extending cross musl base with protoc for proto compilation
dockerfile = "./docker/Dockerfile.x86_64-unknown-linux-musl"
[target.x86_64-unknown-linux-musl.env]
passthrough = [
"OPENSSL_STATIC=1",
"ORT_STRATEGY=system",
"ORT_USE_CUDA=0",
]
[target.aarch64-unknown-linux-musl]
# Custom image extending cross musl base with protoc for proto compilation
dockerfile = "./docker/Dockerfile.aarch64-unknown-linux-musl"
[target.aarch64-unknown-linux-musl.env]
passthrough = [
"OPENSSL_STATIC=1",
"ORT_STRATEGY=system",
"ORT_USE_CUDA=0",
]