Repository navigation
[staging-next] Reapply "onnxruntime,python3.pkgs.onnxruntime: fix runtime w/ glibc-2.42" - #482435
Conversation
…time w/ glibc-2.42" This reverts commit a2f2324.
8c11b8f to
e50b405
Compare
|
vcunat
left a comment
There was a problem hiding this comment.
Sounds good, and I checked python3Packages.onnxruntime.
| NIX_CFLAGS_COMPILE = "-DFLATBUFFERS_LOCALE_INDEPENDENT=0"; | ||
| GTEST_FILTER = "*:-ContribOpTest.StringNormalizer*"; | ||
| }; | ||
| env = { |
There was a problem hiding this comment.
Theoretically this should no longer be necessary in onnxruntime derivation, while it still continues to be necessary in python3.pkgs.onnxruntime?
Is there any other run-time use of onnxruntime we can use to confirm or debunk the need of this?
There was a problem hiding this comment.
Theoretically this should no longer be necessary in onnxruntime derivation, while it still continues to be necessary in python3.pkgs.onnxruntime? Is there any other run-time use of onnxruntime we can use to confirm or debunk the need of this?
I tried applying it only in python3Packages.onnxruntime, but I got the same failure. It seems like it is actually necessary in the onnxruntime derivation to ensure that python3Packages.onnxruntime will build.
Things done
This reverts commit a2f2324.
(See #479191).
This fixes
python3Packages.onnxruntime.passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.