Skip to content
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

Derecho should be able to support packaging (make install). #124

Closed
songweijia opened this issue Apr 5, 2019 · 2 comments
Closed

Derecho should be able to support packaging (make install). #124

songweijia opened this issue Apr 5, 2019 · 2 comments

Comments

@songweijia
Copy link
Contributor

Currently, it requires a lot of work to use derecho as part of the application. The application developer needs to understand where to pull the headers and dynamic libraries from the derecho source tree. We should make derecho easy to use as other libraries do. I discussed with @mpmilano, @sagarjha, and @etremel today. And we agreed to refactor the derecho source tree to enable this feature.

  1. Source code organization
  • include
    • derecho [ public header files to be installed in /usr/include ]
    • private [ private header files not exposed to applications ]
  • src [ the structure is consistent with the current layout ]
    • core [ renamed from derecho ]
    • rdmc
    • sst
    • persistent
    • conf
    • tcp
    • utils
  1. Remove 'third_party' folder, but provide instructions/scripts to install the dependencies:
  • libfabric
  • spdlog
  • mutils, mutils-serialization, and mutils-container (needs to add cmake support to them.)
  1. merge the following .so into a single libderecho.so file
  • libderecho.so
  • libsst.so
  • librdmc.so
  • libpersistent.so
  • libconf.so
  • libtcp.so
  • libutils.so
@songweijia
Copy link
Contributor Author

By commit abe3465 on packaging. About to merge to master.

TODO:

  • Update README.md
  • Install example configuration files to /share/derecho

@songweijia
Copy link
Contributor Author

Solved at commit 85676a9@master

  • The refactored header files now follow C++ STL and Boost convention, with a detail folder in each module.
  • Added installation scripts for dependencies.
  • Added preliminary versioning (Edward is working on an advanced versioning feature)
  • Sample configuration files are now installed to /share/derecho/

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

No branches or pull requests

1 participant