Commit 2414fef
committed
python3Packages.chromadb: improve doCheck condition
On aarch64-linux onnxruntime cannot be imported, as it attempts to read
/sys/devices/system/cpu, which does not exist in the sandbox.
As onnxruntime cannot be imported, chromadb cannot be tested.
However, this issue only applies in the build sandbox, not at runtime.
Therefore the package doesn't need to be marked broken.
Updated the condition to check `buildPlatform` instead of `hostPlatform`,
as the issue relates to the build sandbox and is not a runtime issue.
Use `isAarch` and `isLinux` attributes instead of doing string comparison.
---
See #412528 (comment)
And upstream onnxruntime issue: microsoft/onnxruntime#100381 parent 39a90ff commit 2414fef
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
| 174 | + | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
| 177 | + | |
178 | 178 | | |
179 | 179 | | |
180 | 180 | | |
| |||
0 commit comments