This is the CCNx Distillery software distribution. It is in charge of pulling together all the necessary modules to build a full CCNx software suite.
While Distillery brings a bunch of modules together; each module is independent. As such, each may be from a different author or institution and have it's own set of requirements. Please read their respective documentation.
Distillery provices a set of features for building CCNx software as well as tools for writing, testing and evaluating code.
For Distillery licensing information please read the LICENSE file.
# Clone this distro
git clone git@github.com:PARC/CCNx_Distillery.git
cd CCNx_Distillery
# Install dependencies (if needed)
make dependencies
# Update each of the modules
make update
# Compile everything
make all
# Test everything
make check
The CCNx software will be installed in CCNx_Distillery/usr
Distillery brings together a set of modules that are needed to build a full CCNx distribution. It checks each one out and compiles them in order. The modules used by Distillery can be configured and customized. By default the following modules are included:
- Ubuntu 14.04LTS
- MacOS X 10.10 Yosemite
- MacOS X 10.11 El Capitan
We on Linux and Mac and spend most of our time in Ubuntu and El Capitan. The software does run on other environemnts, both other OSs and other architectures. However we don't do much testing on this. Distillery has been known to work on ARM and MIPS, Debian and Android.
With time we expect portability will improve.
You can install dependencies from Distillery with the command: make dependencies
. We keep the dependency install as up-to-date as possible but it may fall out of date every once in a while.
For Ubuntu/Debian Linux systems you can install many of the dependencies via apt-get / aptitude or the relevant package manager. While we aim to keep our depedencies in sync with what's available with Ubuntu 14.04LTS this is not always possible.
On Mac we install most of what we need by downloading and compiling the respective tarballs.
Currently Distillery has the following main dependencies:
- CMake 3.4.3
- Libevent 2.0.22
- OpenSSL 1.0.1q
- pcre 8.38
LongBow can also make use of the following tools:
- uncrustify 0.61
- doxygen 1.8.9.1
To get simple help run make
. This will give you a list of possible targets to
execute. You will basically want to download all the sources and compile.
Here's a short summary:
make dependencies
- Make the dependencies needed to build Distillerymake update
- Update all the source modules (git clone / git pull)make all
- Compile all the softwaremake check
- Run all unit testsmake step
- Compile and test each module in sequencemake info
- Show some of the environment variables used by Distillerymake status
- Show the git status of each modulemake distclean
- Delete build directory (but not built executables)make clobber
- Delete build directory and install directories. WARNING - If you configure this to install on a system directory this may delete system files!
Distillery can be configured in multiple ways. Please check the config directory (specifically config/config.mk
) for more information.
You can find more information about CCNx at the main web page, CCNx.org. Discussion about CCNx Distillery takes place in the CCNx mailing list, please join the discussion there. You can also file any issues you find on the CCNx Distillery github.
This software is distributed under the following license:
Copyright (c) 2013, 2014, 2015, 2016, Xerox Corporation (Xerox)and Palo Alto
Research Center (PARC)
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Patent rights are not granted under this agreement. Patent rights are
available under FRAND terms.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL XEROX or PARC BE LIABLE FOR ANY
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.