cbalint13 edited a comment on pull request #18365:
URL: https://github.com/apache/incubator-mxnet/pull/18365#issuecomment-631102876
@leezu ,
Uhh, Ohh.
* Can't make pure shared build without hurting CI very badly.
* cmake's internal ```CMAKE_BUILD_SHARED``` would be perfect (but it is
```ON``` by default).
* I ended with up using ```MXNET_BUILD_STATIC=ON``` to keep current
behaviour:
- CMAKE_BUILD_SHARED internal by default is ```ON``` (too big change for
CI state).
- In current static mode a large static object and a small shared
surrogate is build, that's it now.
- CI isn't hurt for now, by switching ```MXNET_BUILD_STATIC=OFF``` one
can fix CI side.
- distro's releng can handle ```MXNET_BUILD_STATIC=OFF``` for now if they
want on linux.
- When CI is solved we can replace ```MXNET_BUILD_STATIC``` with
```CMAKE_BUILD_SHARED``` internal.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]