New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Try building with dylibs instead of static libs #4151

Open
brson opened this Issue Jan 30, 2019 · 3 comments

Comments

1 participant
@brson
Copy link
Contributor

brson commented Jan 30, 2019

For development purposes it should be reasonable to build dynamic libraries instead of static libraries, delaying linking until symbols are used at runtime.

Attempt to build the entire graph with dylibs, solve any problems along the way, measure both build time and benchmarks before and after.

@brson brson added the C: Build-Time label Jan 30, 2019

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Jan 30, 2019

Update developer docs as needed.

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Feb 1, 2019

If we can do this it will undoubtedly have unanticipated obstacles since many crates may not be tested as dylibs.

The first step is probably just to add crate-type = ["dylib"] to the tikv library and see what happens.

@brson

This comment has been minimized.

Copy link
Contributor Author

brson commented Feb 1, 2019

Help wanted, but this may not be a great first issue since it's exploratory and may not lead to landed code for a long time.

@brson brson added this to To do in Improve compile times Feb 11, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment