apache / incubator-pegasus

Apache Pegasus - A horizontally scalable, strongly consistent and high-performance key-value store
https://pegasus.apache.org/
Apache License 2.0
1.96k stars 310 forks source link

feat(build): Support to specify THIRDPARTY_ROOT by setting the environment variable #2035

Closed acelyc111 closed 1 month ago

acelyc111 commented 1 month ago

Building Pegasus thirdparty libraries costs long time, it would be meaningful to reuse a built thirdparty directory when build Pegasus source code in different directories.

This patch introduces an environment variable PEGASUS_THIRDPARTY_ROOT to indicate the thirdparty directory, if it has been built, it can be skipt to save time and disk space.