# This README provides the relevant information for howto build. # Need to install on Ubuntu 14.10 # apt-get install build-essential git-core lib32stdc++6 lib32z1 graphviz \ # gcc-multilib curl lcov # # For ODP: # apt-get install autoconf automake libtool doxygen texlive-full libssl-dev # build ODP native # type make-test.sh -h to see what environment variables you can change. # Most of the time default setup are enough. $ ./make-test.sh # one example to run from a local git url $ GIT_ODP=file:///home/anders/src/odp ./make-test.sh # build ODP for DPDK # type make-dpdk-test.sh -h to see what environment variables you can change. # Most of the time default setup are enough. $ ./make-dpdk-test.sh # one example to run from a local git url $ GIT_DPDK=file:///home/anders/src/dpdk GIT_ODP=file:///home/anders/src/odp ./make-dpdk-test.sh # build ODP for keystone2 # type make-ks2-test.sh -h to see what environment variables you can change. # Most of the time default setup are enough. $ ./make-ks2-test.sh # one example to run from a local git url $ GIT_KS_MANIFEST=file:///home/anders/src/ks2-manifest GIT_ODP=file:///home/anders/src/odp ./make-ks2-test.sh # build clang, sparse and smatch # type make-ssc.sh -h to see what environment variables you can change. # Most of the time default setup are enough. $ ./make-ssc.sh # one example to run from a local git url $ git_repo=file:///home/anders/src/odp tests=clang ./make-ssc.sh # apply and build patches, looks for doxygen warnings and git am warnings. # type apply-and-build.sh -h to see what environment variables you can change. # one example to run from not the default patch directory $ PATCH_DIR=/home/anders/test-patches ./apply-and-build.sh # cross compile ODP # type cross-compile-test.sh -h to see what environment variables you can change. # Most of the time default setup are enough. $ ./cross-compile-test.sh # one example to run with another ARCH $ ARCH=arm64 ./cross-compile-test.sh