|
a/ohbuild.sh |
|
b/ohbuild.sh |
|
... |
|
... |
50 |
{
|
50 |
{
|
51 |
cd $topdir
|
51 |
cd $topdir
|
52 |
dir=ohNet
|
52 |
dir=ohNet
|
53 |
echo building $dir
|
53 |
echo building $dir
|
54 |
cd $dir
|
54 |
cd $dir
|
|
|
55 |
# Oct 28 2014
|
55 |
git checkout b2207ce19d638b55f660896d5b42c49900e8e2cd
|
56 |
git checkout b2207ce19d638b55f660896d5b42c49900e8e2cd
|
56 |
make ohNetCore proxies devices TestFramework bundle || exit 1
|
57 |
make ohNetCore proxies devices TestFramework bundle || exit 1
|
57 |
|
58 |
|
58 |
cd ..
|
59 |
cd ..
|
59 |
}
|
60 |
}
|
|
... |
|
... |
61 |
build_ohNetGenerated()
|
62 |
build_ohNetGenerated()
|
62 |
{
|
63 |
{
|
63 |
dir=ohNetGenerated
|
64 |
dir=ohNetGenerated
|
64 |
echo building $dir
|
65 |
echo building $dir
|
65 |
cd $dir
|
66 |
cd $dir
|
|
|
67 |
# Oct 28 2014
|
66 |
git checkout b436c4f098cd3417c2b1e97f9a94b5875e71f200
|
68 |
git checkout b436c4f098cd3417c2b1e97f9a94b5875e71f200
|
67 |
# e.g. Linux-x64, Linux-armhf
|
69 |
# e.g. Linux-x64, Linux-armhf
|
68 |
arch=`basename $topdir/ohNet/Build/Bundles/ohNet-*-*.tar.gz | \
|
70 |
arch=`basename $topdir/ohNet/Build/Bundles/ohNet-*-*.tar.gz | \
|
69 |
sed -e s/ohNet-// -e s/-[A-Z][a-z][a-z]*\.tar\.gz$//`
|
71 |
sed -e s/ohNet-// -e s/-[A-Z][a-z][a-z]*\.tar\.gz$//`
|
70 |
# e.g. Debug, Release
|
72 |
# e.g. Debug, Release
|
|
... |
|
... |
102 |
{
|
104 |
{
|
103 |
cd $topdir
|
105 |
cd $topdir
|
104 |
dir=ohTopology
|
106 |
dir=ohTopology
|
105 |
echo building $dir
|
107 |
echo building $dir
|
106 |
cd $dir
|
108 |
cd $dir
|
|
|
109 |
# Apr 14 2014 Still latest on Feb 9 2015
|
107 |
git checkout 11767b53dda79564548b522a72db895f24e27437
|
110 |
git checkout 11767b53dda79564548b522a72db895f24e27437
|
108 |
|
111 |
|
109 |
./go fetch --all --clean
|
112 |
./go fetch --all --clean
|
110 |
|
113 |
|
111 |
./waf configure --ohnet=../ohNet --dest-platform=Linux-x86
|
114 |
./waf configure --ohnet=../ohNet --dest-platform=Linux-x86
|
112 |
# This fails, but it creates what we need.
|
115 |
# This fails, but it creates what we need.
|
113 |
./waf build
|
116 |
./waf build
|
|
... |
|
... |
119 |
{
|
122 |
{
|
120 |
cd $topdir
|
123 |
cd $topdir
|
121 |
dir=ohSongcast
|
124 |
dir=ohSongcast
|
122 |
echo building $dir
|
125 |
echo building $dir
|
123 |
cd $dir
|
126 |
cd $dir
|
|
|
127 |
# Sep 2 2014. Still latest on Feb 9 2015
|
124 |
git checkout 315fe6a191f512b2faf2502eb07613c4a3335bd3
|
128 |
git checkout 315fe6a191f512b2faf2502eb07613c4a3335bd3
|
125 |
|
129 |
|
126 |
# This fails because the link options are wrong (-lpthread should be
|
130 |
# This fails because the link options are wrong (-lpthread should be
|
127 |
# at the end of the link line), but it builds the objs we need.
|
131 |
# at the end of the link line), but it builds the objs we need.
|
128 |
make release=1 Receiver
|
132 |
make release=1 Receiver
|