move wholearchive to link option (#43485)
Summary:
Fixes https://github.com/pytorch/pytorch/issues/43216
Pull Request resolved: https://github.com/pytorch/pytorch/pull/43485
Reviewed By: glaringlee
Differential Revision: D23318735
Pulled By: malfet
fbshipit-source-id: 90c316d3d5ed51afcff356e6d9219950f119a902