Custom Search

Tuesday, October 27, 2015

scons example

https://github.com/Juniper/contrail-installer/blob/master/contrail.sh

In contrail.sh

TARGET=${TARGET:-production}
SCONS_ARGS="--opt=$TARGET"


###fetch-packages###
sudo scons $SCONS_ARGS controller/src/vnsw
sudo scons $SCONS_ARGS vrouter


###Build/Install###
sudo scons $SCONS_ARGS --root=/ controller/src/vnsw install
sudo scons $SCONS_ARGS --root=/ vrouter install
sudo scons $SCONS_ARGS --root=/ openstack/nova_contrail_vif install


https://bitbucket.org/scons/scons/wiki/SconsTutorial1

http://www.scons.org/doc/HTML/scons-man.html





No comments:

Post a Comment