Commit b541341c authored by Philip Carns's avatar Philip Carns

update documentation to match latest Mercury

- USE_SM is turned on by default
- recomment enabling SELF_FORWARD feature
parent b2fb8474
......@@ -16,21 +16,21 @@ Note that Margo should be compatible with any Mercury transport (NA plugin). Th
### Recommended Mercury build options
* Mercury must be compiled with -DNA_USE_SM:BOOL=ON to enable the internal
NA SM plugin used by the test scripts in the "make check" target. This
does not preclude the use of other aditional plugins.
* Mercury must be compiled with -DMERCURY_USE_BOOST_PP:BOOL=ON to enable the
Boost preprocessor macros for encoding.
* -DMERCURY_USE_CHECKSUMS:BOOL=OFF disables automatic checksumming of all
Mercury RPC messages. This reduces latency by removing a layer of
integrity checking on communication.
* Mercury should be compiled with -DMERCURY_USE_SELF_FORWARD:BOOL=ON in order to enable
fast execution path for cases in which a Mercury service is linked into the same
executable as the client
Example Mercury compilation:
```
mkdir build
cd build
cmake -DNA_USE_SM:BOOL=ON -DMERCURY_USE_CHECKSUMS:BOOL=OFF \
cmake -DMERCURY_USE_SELF_FORWARD:BOOL=ON -DMERCURY_USE_CHECKSUMS:BOOL=OFF \
-DBUILD_TESTING:BOOL=ON -DMERCURY_USE_BOOST_PP:BOOL=ON \
-DCMAKE_INSTALL_PREFIX=/home/pcarns/working/install \
-DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_BUILD_TYPE:STRING=Debug ../
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment