## Description ## https://github.com/apache/incubator-mxnet/pull/12645 changed the default of linking dynamically agains gpertfools and jemalloc to static linking. This breaks the build on machines where jemalloc is available for static linking, but incompatible with the mxnet library due to missing position-independent code (-fPIC) support. This PR changes the default back and introduces an option to toggle static linking.
## Checklist ## ### Essentials ### Please feel free to remove inapplicable items for your PR. - [X] Changes are complete (i.e. I finished coding on this PR) - [X] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change ### Changes ### - [X] Revert changes to static linking of jemalloc and gperftools in Makefile build ## Comments ## @szha [ Full content available at: https://github.com/apache/incubator-mxnet/pull/12714 ] This message was relayed via gitbox.apache.org for [email protected]
