pytorch / data

A PyTorch repo for data loading and utilities to be shared by the PyTorch domain libraries.
BSD 3-Clause "New" or "Revised" License
1.13k stars 152 forks source link

Hide symbol from openssl for TorchData releases #972

Open ejguan opened 1 year ago

ejguan commented 1 year ago

🐛 Describe the bug

For all torchdata wheels, in order to provide the integration of AWSSDK, we statically linked OpenSSL to _torchdata.so, we should prevent any symbol from OpenSSL exposed by _torchdata.so. (Just add -fvisibility-hidden when build) This was caused by stocking *.a files

Versions

main

ejguan commented 1 year ago

Removing this issue from milestone 0.6 due to capacity