Experiment: Add linker version scripts to the build for better ABI control #3608
Experiment: Add linker version scripts to the build for better ABI control #3608Vika-F wants to merge 30 commits into
Conversation
|
@Vika-F Aren't these .def files only recognized by msvc by default? And shouldn't they also have |
You are partially right. I think the extension is misleading, .map is a more common variant for Linux, and .def - for Windows. For now I am implementing Linux version using ld version script files, the syntax is different for those: I will need to implement similar functionality for MSVC, with |
Got it. Then let's better name them .map to avoid confusions. |
…into dev/version_scripts
|
/intelci: run |
Description
Work in progress!
The scripts are going to have more details; also need to cover Bazel and Windows builds.
Inspired by oneTBB's approach regarding ABI control:
https://github.com/uxlfoundation/oneTBB/tree/master/src/tbb/def
Checklist:
Completeness and readability
Testing
Performance