Commit c3ba797
Fix Ubuntu CI: link system OpenBLAS directly via build.rs
The openblas-src -> openblas-build -> ureq -> native-tls dependency chain
fails to compile on Ubuntu CI because native-tls 0.2.17 is incompatible
with the latest Rust stable (missing Protocol::Tlsv13 match arm).
Replace blas-src/openblas with a build.rs that emits
`cargo:rustc-link-lib=openblas` directly, linking the system library
(libopenblas-dev) without any download infrastructure. The accelerate
feature (macOS) continues using blas-src as before.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 1dabaea commit c3ba797
3 files changed
Lines changed: 18 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
0 commit comments