[META] Assert that expected libraries appear in libtorch #46464
Labels
enhancement
Not as big of a feature, but technically not a bug. Should be easy to fix
module: static linking
Related to statically linked libtorch (we dynamically link by default)
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
馃殌 Feature
We should create an expected list of files to appear in libtorch to test that libtorch was build correctly.
Motivation
With #44257, we should expect that pytorch_jni libs appear in libtorch bundles on all platforms. This currently doesn't happen because of upstream cmake issues in fbjni.
Pitch
To make sure that upstream issues don't silently cause issues in libtorch, we should create a post-build test which ensures that expected files appear in the bundle.
Alternatives
Status quo.
The text was updated successfully, but these errors were encountered: