Open vermorth opened 3 years ago
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.
You can compile with the following command:
git clone --recurse-submodules https://github.com/vermorth/phxpaxos.git
cd phxpaxos
pushd third_party
./autoinstall.sh
popd
mkdir -p build
cd build
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr/local/phxpaxos \
-DPHXPAXOS_BUILD_TOOLS=ON \
-DPHXPAXOS_BUILD_UT=ON \
-DPHXPAXOS_BUILD_TEST=ON \
-DPHXPAXOS_BUILD_BENCHMARK=ON \
-DPHXPAXOS_BUILD_PLUGIN=ON \
-DPHXPAXOS_BUILD_SAMPLE_ECHO=ON \
-DPHXPAXOS_BUILD_SAMPLE_ELECTION=ON \
-DPHXPAXOS_BUILD_SAMPLE_KV=ON \
..
make
make install
如遇见
可以将 phxpaxos/CMakeLists.txt 里的 "${PROJECT_SOURCE_DIR}/third_party/local_install/abseil/lib64/cmake/absl" 改为 "${PROJECT_SOURCE_DIR}/third_party/local_install/abseil/lib/cmake/absl"
changes:
Maybe more tests are needed to confirm correctness and stability.