Building p12runtime with dmmlib

It is assumed that the P2012 SDK is already installed and working properly and that setup.sh is sourced.

  1. Download dmmlib
    • directly from the website
      • wget -O dmmlib.zip https://bitbucket.org/joko/dmmlib/get/p2012sdk-2012.2.zip or
        curl -o dmmlib.zip https://bitbucket.org/joko/dmmlib/get/p2012sdk-2012.2.zip
      • unzip dmmlib.zip
    • or via Mercurial
      • hg clone https://joko@bitbucket.org/joko/dmmlib
      • cd dmmlib
      • hg up p2012sdk-2012.2
  2. Download p12runtime with dmmlib support (requires access to Codendi's SVN repository)
    • svn checkout --username ikoutras https://minalogic.net/svnroot/p2012comm/runtime/p12Runtime/branches/dmm p12runtime
  3. Compile and install p12runtime for both POSIX and ISS simulations
    • cd p12runtime
    • export DMMLIB_SRC_DIR=/path/to/dmmlib
    • make clean all
    • make FABRIC_TYPE=iss clean all
  4. Run the tests (Optional)
    • make test
    • make FABRIC_TYPE=iss test

Note: The following instructions use P2012 SDK v2012.2 for reference. In case you need to use another version and it is not straightforward how to do so, please contact with the maintainers.