author | Hajime Tazaki <tazaki@nict.go.jp> |
Sun, 24 Mar 2013 21:37:30 +0900 | |
changeset 161 | c263cd42307a |
parent 158 | 877c6c57c249 |
child 162 | 30abc1bdeeab |
permissions | -rw-r--r-- |
67 | 1 |
<configuration> |
2 |
<modules> |
|
3 |
||
94 | 4 |
<module name="dce-ns3"> |
5 |
<source type="mercurial"> |
|
149
240a51b3466f
change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents:
145
diff
changeset
|
6 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
94 | 7 |
<attribute name="module_directory" value="dce"/> |
8 |
</source> |
|
9 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
10 |
<depends_on name="elf-loader" optional="False"/> |
117 | 11 |
<depends_on name="iperf" optional="True"/> |
123 | 12 |
<depends_on name="ccnx" optional="True"/> |
155 | 13 |
<depends_on name="wget" optional="True"/> |
14 |
<depends_on name="thttpd" optional="True"/> |
|
94 | 15 |
<build type="waf" objdir="build"> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
16 |
<attribute name="configure_arguments" value="configure --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --prefix=$INSTALLDIR"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
17 |
<!-- attribute name="post_installation" value="cd $SRCDIR; ./test.py" --> |
94 | 18 |
</build> |
19 |
</module> |
|
20 |
||
21 |
<module name="dce-linux"> |
|
22 |
<source type="mercurial"> |
|
149
240a51b3466f
change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents:
145
diff
changeset
|
23 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dce"/> |
94 | 24 |
<attribute name="module_directory" value="dce"/> |
25 |
</source> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
26 |
<depends_on name="elf-loader" optional="False"/> |
158
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
27 |
<depends_on name="net-next-sim-2.6.36" optional="False"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
28 |
<depends_on name="iproute" optional="False"/> |
149
240a51b3466f
change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents:
145
diff
changeset
|
29 |
<depends_on name="iperf" optional="True"/> |
240a51b3466f
change ns-3-dce source, add ccnx/iperf for dce-linux
Hajime Tazaki <tazaki@nict.go.jp>
parents:
145
diff
changeset
|
30 |
<depends_on name="ccnx" optional="True"/> |
155 | 31 |
<depends_on name="wget" optional="True"/> |
32 |
<depends_on name="thttpd" optional="True"/> |
|
94 | 33 |
<depends_on name="ns-3-dev-dce" optional="False"/> |
34 |
<build type="waf" objdir="yes" sourcedir="dce"> |
|
158
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
35 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --with-ns3=$INSTALLDIR --with-elf-loader=$INSTALLDIR/lib --enable-kernel-stack=$SRCDIR/../net-next-sim-2.6.36/arch"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
36 |
<!-- attribute name="post_installation" value="cd $SRCDIR; ./test.py"/ --> |
94 | 37 |
</build> |
38 |
</module> |
|
39 |
||
121 | 40 |
<module name="ccnx"> |
41 |
<source type="archive"> |
|
42 |
<attribute name="url" value="http://www.ccnx.org/releases/ccnx-0.6.2.tar.gz"/> |
|
43 |
<attribute name="extract_directory" value="ccnx-0.6.2"/> |
|
44 |
</source> |
|
45 |
<build type="make" objdir="yes"> |
|
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
46 |
<attribute name="pre_installation" value="cd $SRCDIR;INSTALL_BASE=$INSTALLDIR ./configure;mkdir $INSTALLDIR/include;mkdir $INSTALLDIR/lib;mkdir $INSTALLDIR/bin"/> |
121 | 47 |
<attribute name="build_arguments" value="MORE_LDLIBS=-pie"/> |
48 |
<attribute name="new_variable" value="INSTALL_BASE=$INSTALLDIR" /> |
|
49 |
</build> |
|
50 |
</module> |
|
51 |
||
117 | 52 |
<module name="iperf"> |
53 |
<source type="archive"> |
|
54 |
<attribute name="url" value="http://iperf.fr/download/iperf_2.0.5/iperf-2.0.5-source.tar.gz"/> |
|
55 |
<attribute name="extract_directory" value="iperf-2.0.5"/> |
|
56 |
</source> |
|
57 |
<build type="make" objdir="yes"> |
|
58 |
<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/> |
|
59 |
<attribute name="patch" value="$SRCDIR/../dce/utils/iperf_4_dce.patch"/> |
|
60 |
</build> |
|
61 |
</module> |
|
62 |
||
63 |
<module name="iproute"> |
|
67 | 64 |
<source type="archive"> |
94 | 65 |
<attribute name="url" value="http://www.linuxgrill.com/anonymous/iproute2/NEW-OSDL/iproute2-2.6.38.tar.bz2"/> |
66 |
</source> |
|
67 |
<build type="make" objdir="yes"> |
|
68 |
<attribute name="pre_installation" value="$SRCDIR/configure"/> |
|
69 |
<attribute name="LDFLAGS" value="-pie"/> |
|
70 |
<attribute name="ignore_predefined_flags" value="True"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
71 |
<attribute name="install_arguments" value="DESTDIR=$INSTALLDIR" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
72 |
<attribute name="build_arguments" value="CCOPTS+=-fpic CCOPTS+=-D_GNU_SOURCE CCOPTS+=-O0 CCOPTS+=-U_FORTIFY_SOURCE LDFLAGS=-pie"/> |
94 | 73 |
</build> |
74 |
</module> |
|
75 |
||
76 |
<module name="ns-3-dev-dce"> |
|
77 |
<source type="mercurial"> |
|
78 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
|
79 |
</source> |
|
80 |
<build type="waf" objdir="yes"> |
|
81 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-tests"/> |
|
82 |
</build> |
|
83 |
</module> |
|
84 |
||
158
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
85 |
<module name="net-next-sim-2.6.36"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
86 |
<source type="git"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
87 |
<attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
88 |
<attribute name="module_directory" value="net-next-sim-2.6.36"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
89 |
<attribute name="revision" value="sim-ns3-2.6.36-branch"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
90 |
</source> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
91 |
<build type="make" objdir="no"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
92 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
93 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
94 |
<attribute name="no_installation" value="True"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
95 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux2.6.36.so ./; ln -s -f libsim-linux2.6.36.so liblinux.so"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
96 |
</build> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
97 |
</module> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
98 |
|
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
99 |
<module name="net-next-sim-3.4.0"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
100 |
<source type="git"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
101 |
<attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
102 |
<attribute name="module_directory" value="net-next-sim-3.4.0"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
103 |
<attribute name="revision" value="sim-ns3-3.4.0-branch"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
104 |
</source> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
105 |
<build type="make" objdir="no"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
106 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
107 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
108 |
<attribute name="no_installation" value="True"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
109 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.4.0.so ./; ln -s -f libsim-linux3.4.0.so liblinux.so"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
110 |
</build> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
111 |
</module> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
112 |
|
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
113 |
<module name="net-next-sim-3.7.0"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
114 |
<source type="git"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
115 |
<attribute name="url" value="https://github.com/thehajime/net-next-sim.git"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
116 |
<attribute name="module_directory" value="net-next-sim-3.7.0"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
117 |
<attribute name="revision" value="sim-ns3-3.7.0-branch"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
118 |
</source> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
119 |
<build type="make" objdir="no"> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
120 |
<attribute name="configure_arguments" value="defconfig ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
121 |
<attribute name="build_arguments" value="library ARCH=sim"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
122 |
<attribute name="no_installation" value="True"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
123 |
<attribute name="post_installation" value="mkdir -p $INSTALLDIR/bin_dce; cd $INSTALLDIR/bin_dce; cp $SRCDIR/libsim-linux3.7.0.so ./; ln -s -f libsim-linux3.7.0.so liblinux.so"/> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
124 |
</build> |
877c6c57c249
Obsolete ns-3-linux with net-next-sim repository
Hajime Tazaki <tazaki@nict.go.jp>
parents:
157
diff
changeset
|
125 |
</module> |
94 | 126 |
|
155 | 127 |
<module name="wget"> |
128 |
<source type="archive"> |
|
129 |
<attribute name="url" value="http://ftp.gnu.org/gnu/wget/wget-1.14.tar.gz"/> |
|
130 |
<attribute name="extract_directory" value="wget-1.14"/> |
|
131 |
</source> |
|
132 |
<build type="make" objdir="yes"> |
|
133 |
<attribute name="pre_installation" value="cd $SRCDIR; CFLAGS=-fPIC LDFLAGS=-pie ./configure --disable-opie --disable-digest --disable-ntlm --disable-largefile |
|
134 |
--disable-threads --disable-nls --disable-rpath --disable-iri --without-ssl --without-zlib --without-libiconv-prefix --without-libintl-prefix --without-libpth-prefi |
|
135 |
x --without-included-regex --prefix=$INSTALLDIR"/> |
|
136 |
</build> |
|
137 |
</module> |
|
138 |
||
139 |
<module name="thttpd"> |
|
140 |
<source type="archive"> |
|
141 |
<attribute name="url" value="http://www.acme.com/software/thttpd/thttpd-2.25b.tar.gz"/> |
|
142 |
<attribute name="extract_directory" value="thttpd-2.25b"/> |
|
143 |
</source> |
|
144 |
<build type="make" objdir="yes"> |
|
145 |
<attribute name="pre_installation" value="cd $SRCDIR;./configure --prefix=$INSTALLDIR"/> |
|
146 |
<attribute name="patch" value="$SRCDIR/../dce/myscripts/httpd/dce-thttpd.patch"/> |
|
147 |
<attribute name="install_arguments" value="-n" /> |
|
148 |
<attribute name="build_arguments" value="thttpd"/> |
|
149 |
<attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp -f thttpd-2.25b/thttpd $INSTALLDIR/bin_dce"/> |
|
150 |
</build> |
|
151 |
</module> |
|
152 |
||
153 |
||
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
154 |
<module name="iputils"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
155 |
<source type="archive"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
156 |
<attribute name="url" value="http://www.skbuff.net/iputils/iputils-s20101006.tar.bz2"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
157 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
158 |
<!-- note: iputils does not have 'make install' --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
159 |
<build type="inline" classname="IputilsModuleBuild"> |
161
c263cd42307a
fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents:
158
diff
changeset
|
160 |
<attribute name="patch" value="$SRCDIR/../dce/myscripts/ns-3-dce-quagga/utils/iputils-ping6.patch"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
161 |
<attribute name="supported_os" value="linux;linux2"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
162 |
<code>class IputilsModuleBuild(InlineModuleBuild): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
163 |
def __init__(self): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
164 |
InlineModuleBuild.__init__(self) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
165 |
def build(self, env, jobs): |
161
c263cd42307a
fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents:
158
diff
changeset
|
166 |
if self.attribute('patch').value != '': |
c263cd42307a
fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents:
158
diff
changeset
|
167 |
self.threat_patch(env) |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
168 |
env.run(['make', 'CFLAGS=-fpic', 'CFLAGS+=-D_GNU_SOURCE', 'CFLAGS+=-g', |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
169 |
'CFLAGS+=-Wstrict-prototypes', 'CFLAGS+=-Wall', 'LDFLAGS=-pie', |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
170 |
'ping', 'ping6', '-j', str(jobs)], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
171 |
directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
172 |
env.run(['mkdir', '-p' , env.installdir + '/bin_dce/'], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
173 |
directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
174 |
env.run(['cp', 'ping', 'ping6', env.installdir + '/bin_dce'], |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
175 |
directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
176 |
def clean(self, env): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
177 |
env.run(['make', 'clean'], directory=env.srcdir) |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
178 |
def check_version(self, env): |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
179 |
return True</code> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
180 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
181 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
182 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
183 |
<!-- umip related modules --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
184 |
<module name="dce-umip"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
185 |
<source type="mercurial"> |
151
fc41a7a57685
remove local file path from quagga/umip repository... (sorry)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
150
diff
changeset
|
186 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-umip"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
187 |
<attribute name="module_directory" value="dce/myscripts/ns-3-dce-umip/"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
188 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
189 |
<depends_on name="dce-linux" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
190 |
<depends_on name="dce-quagga" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
191 |
<depends_on name="umip" optional="False"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
192 |
<build type="none"> |
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
193 |
<!-- attribute name="configure_arguments" value="configure -prefix=$INSTALLDIR"/ --> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
194 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
195 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
196 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
197 |
<module name="umip"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
198 |
<source type="git"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
199 |
<attribute name="url" value="git://git.umip.org/umip.git"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
200 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
201 |
<build type="autotools" objdir="no"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
202 |
<attribute name="maintainer" value="yes" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
203 |
<attribute name="configure_arguments" value="./configure CFLAGS=-fPIC LDFLAGS=-pie --prefix=$INSTALLDIR --enable-vt --with-builtin-crypto"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
204 |
<attribute name="install_arguments" value="-n" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
205 |
<attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp -f src/mip6d $INSTALLDIR/bin_dce"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
206 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
207 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
208 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
209 |
<!-- quagga related modules --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
210 |
<module name="dce-quagga"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
211 |
<source type="mercurial"> |
151
fc41a7a57685
remove local file path from quagga/umip repository... (sorry)
Hajime Tazaki <tazaki@nict.go.jp>
parents:
150
diff
changeset
|
212 |
<attribute name="url" value="http://code.nsnam.org/thehajime/ns-3-dce-quagga"/> |
161
c263cd42307a
fix patching process of iputils
Hajime Tazaki <tazaki@nict.go.jp>
parents:
158
diff
changeset
|
213 |
<attribute name="module_directory" value="dce/myscripts/ns-3-dce-quagga/"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
214 |
</source> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
215 |
<depends_on name="dce-linux" optional="False"/> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
216 |
<depends_on name="quagga" optional="False"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
217 |
<depends_on name="iputils" optional="False"/> |
150
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
218 |
<build type="none"> |
d0ee485ade65
Bug 1593 - support DCE sub-module under myscripts directory
Hajime Tazaki <tazaki@nict.go.jp>
parents:
149
diff
changeset
|
219 |
<!-- attribute name="configure_arguments" value="configure -prefix=$INSTALLDIR"/ --> |
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
220 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
221 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
222 |
|
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
223 |
<module name="quagga"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
224 |
<source type="archive"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
225 |
<!-- some of mirror sever of gnu.org isn't available.. --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
226 |
<!-- attribute name="url" value="http://download.savannah.gnu.org/releases/quagga/quagga-0.99.20.tar.gz"/ --> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
227 |
<attribute name="url" value="http://pkgs.fedoraproject.org/lookaside/pkgs/quagga/quagga-0.99.20.tar.gz/64cc29394eb8a4e24649d19dac868f64/quagga-0.99.20.tar.gz"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
228 |
<attribute name="extract_directory" value="quagga-0.99.20"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
229 |
</source> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
230 |
<build type="make" objdir="yes"> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
231 |
<attribute name="pre_installation" value="cd $SRCDIR; CFLAGS='-fPIC -g' LDFLAGS=-pie ./configure --disable-shared --enable-static --disable-user --disable-group --disable-capabilities --prefix=$INSTALLDIR"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
232 |
<attribute name="install_arguments" value="-n" /> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
233 |
<attribute name="post_installation" value="cd $SRCDIR; mkdir $INSTALLDIR/bin_dce; /bin/cp zebra/zebra $INSTALLDIR/bin_dce;/bin/cp ripd/ripd $INSTALLDIR/bin_dce;/bin/cp ripngd/ripngd $INSTALLDIR/bin_dce;/bin/cp ospfd/ospfd $INSTALLDIR/bin_dce;/bin/cp ospf6d/ospf6d $INSTALLDIR/bin_dce;/bin/cp bgpd/bgpd $INSTALLDIR/bin_dce"/> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
234 |
</build> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
235 |
</module> |
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
236 |
|
94 | 237 |
<module name="click"> |
238 |
<source type="git"> |
|
239 |
<attribute name="url" value="git://read.cs.ucla.edu/git/click"/> |
|
240 |
<attribute name="revision" value="724412626833df5c13384be5cce4da52c601371f"/> |
|
241 |
||
67 | 242 |
</source> |
243 |
<build type="autotools" objdir="yes"> |
|
113 | 244 |
<attribute name="configure_arguments" value="../configure --prefix=$INSTALLDIR --exec-prefix=$INSTALLDIR -enable-userlevel --disable-linuxmodule --enable-nsclick --enable-wifi"/> |
136 | 245 |
<attribute name="post_installation" value="mkdir $INSTALLDIR/lib; cp -r $OBJDIR/include $INSTALLDIR/lib/."/> |
67 | 246 |
</build> |
247 |
</module> |
|
248 |
||
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
249 |
<module name="libxml2-dev"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
250 |
<source type="system_dependency"> |
157
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
251 |
<attribute name="dependency_test" value="xmlIO.h"/> |
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
252 |
<attribute name="try_to_install" value="True"/> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
253 |
<attribute name="name_yum" value="libxml2-devel"/> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
254 |
<attribute name="name_yast" value="libxml2-devel"/> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
255 |
<attribute name="name_apt-get" value="libxml2-dev"/> |
152 | 256 |
<attribute name="more_information" value="Didn't find the libxml2-dev library, try to install it!"/> |
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
257 |
</source> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
258 |
<build type="none" objdir="no"> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
259 |
</build> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
260 |
</module> |
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
261 |
|
67 | 262 |
<module name="openflow-ns3"> |
263 |
<source type="mercurial"> |
|
94 | 264 |
<attribute name="url" value="http://code.nsnam.org/jpelkey3/openflow"/> |
67 | 265 |
</source> |
94 | 266 |
<build type="waf" objdir="yes"> |
267 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
|
157
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
268 |
</build> |
112
7d1a0938bb80
added dependency for openflow and improoved the error messages and exception handling
daniel
parents:
108
diff
changeset
|
269 |
<depends_on name="libxml2-dev" optional="False"/> |
71
bf151f3f1479
Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents:
67
diff
changeset
|
270 |
</module> |
bf151f3f1479
Add more tests and small changes in the Environment and build modules
Daniel Camara <daniel.camara@inria.fr>
parents:
67
diff
changeset
|
271 |
|
67 | 272 |
<module name="gccxml-ns3"> |
273 |
<source type="cvs"> |
|
274 |
<attribute name="root" value=":pserver:anoncvs:@www.gccxml.org:/cvsroot/GCC_XML"/> |
|
275 |
<attribute name="module" value="gccxml"/> |
|
276 |
<attribute name="date" value="2009-09-21"/> |
|
277 |
</source> |
|
278 |
<build type="cmake" objdir="yes"> |
|
279 |
</build> |
|
280 |
</module> |
|
281 |
||
282 |
<module name="pygccxml"> |
|
283 |
<source type="archive"> |
|
75 | 284 |
<attribute name="url" value="http://downloads.sourceforge.net/project/pygccxml/pygccxml/pygccxml-1.0/pygccxml-1.0.0.zip"/> |
67 | 285 |
</source> |
286 |
<build type="python" objdir="yes"> |
|
287 |
</build> |
|
94 | 288 |
<depends_on name="gccxml-ns3" optional="True"/> |
67 | 289 |
</module> |
290 |
||
291 |
<module name="pybindgen"> |
|
292 |
<source type="bazaar"> |
|
293 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
|
94 | 294 |
<attribute name="revision" value="revno:809"/> |
67 | 295 |
</source> |
296 |
<build type="waf" objdir="yes"> |
|
95 | 297 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
67 | 298 |
<attribute name="build_arguments" value="--generate-version"/> |
299 |
</build> |
|
300 |
<depends_on name="pygccxml" optional="True"/> |
|
113 | 301 |
<depends_on name="gccxml-ns3" optional="False"/> |
67 | 302 |
</module> |
303 |
||
94 | 304 |
|
67 | 305 |
<module name="nsc"> |
306 |
<source type="mercurial"> |
|
307 |
<attribute name="url" value="https://secure.wand.net.nz/mercurial/nsc"/> |
|
308 |
</source> |
|
309 |
<!-- problem: scons has no generic command-line support for builddir and installdir --> |
|
310 |
<build type="inline" classname="NscModuleBuild"> |
|
94 | 311 |
<attribute name="supported_os" value="linux;linux2"/> |
67 | 312 |
<code>class NscModuleBuild(InlineModuleBuild): |
313 |
def __init__(self): |
|
314 |
InlineModuleBuild.__init__(self) |
|
315 |
def build(self, env, jobs): |
|
135
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
316 |
import os |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
317 |
import shutil |
94 | 318 |
|
67 | 319 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), |
94 | 320 |
'-j', str(jobs), 'prefix=' + env.installdir, 'install'], |
126 | 321 |
directory=env.srcdir ) |
322 |
srcLib = os.path.join(env.srcdir, 'lib') |
|
323 |
files = os.listdir(srcLib) |
|
324 |
destination = os.path.join(env.installdir, 'lib') |
|
325 |
for file in files: |
|
135
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
326 |
try: |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
327 |
shutil.copy2(os.path.join(srcLib, file), destination) |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
328 |
except Exception as e: |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
329 |
print (" > Error executing copy : " + str(e) + "\n") |
d8a8fd0bf76b
Fix for Jenkins, added imports of os and shutil for nsc.
daniel
parents:
126
diff
changeset
|
330 |
|
67 | 331 |
def clean(self, env): |
332 |
env.run(['python', os.path.join(env.srcdir, 'scons.py'), '-c'], |
|
333 |
directory=env.srcdir) |
|
334 |
def check_version(self, env): |
|
335 |
return True</code> |
|
336 |
</build> |
|
337 |
</module> |
|
338 |
||
94 | 339 |
|
340 |
<module name="qt4"> |
|
341 |
<source type="system_dependency"> |
|
342 |
<attribute name="dependency_test" value="(qmake or qmake-qt4)"/> |
|
343 |
<attribute name="try_to_install" value="True"/> |
|
344 |
<attribute name="name_yum" value="qt4-devel"/> |
|
345 |
<attribute name="name_apt-get" value="qt4-dev-tools"/> |
|
346 |
<attribute name="more_information" value="Didn't find QT 4, download and install it from http://qt.nokia.com/downloads/"/> |
|
347 |
</source> |
|
348 |
<build type="none" objdir="no"> |
|
349 |
</build> |
|
350 |
</module> |
|
351 |
||
352 |
<module name="elf-loader"> |
|
353 |
<source type="mercurial"> |
|
354 |
<attribute name="url" value="http://code.nsnam.org/mathieu/elf-loader"/> |
|
355 |
</source> |
|
356 |
<build type="make" objdir="no"> |
|
357 |
<attribute name="configure_arguments" value="vdl-config.h"/> |
|
145
b5a6ad566c40
Bug 1591 - add dce-quagga, dce-umip build in bakeconf.xml
Hajime Tazaki <tazaki@nict.go.jp>
parents:
144
diff
changeset
|
358 |
<attribute name="install_arguments" value="PREFIX=$INSTALLDIR"/> |
94 | 359 |
</build> |
360 |
</module> |
|
361 |
||
132 | 362 |
<module name="netanim"> |
94 | 363 |
<source type="mercurial"> |
364 |
<attribute name="url" value="http://code.nsnam.org/netanim"/> |
|
365 |
</source> |
|
366 |
<build type="make" objdir="no"> |
|
367 |
<attribute name="pre_installation" value="cd $SRCDIR;qmake NetAnim.pro or cd $SRCDIR;qmake-qt4 NetAnim.pro or cd $SRCDIR;qmake -spec macx-g++ NetAnim.pro"/> |
|
368 |
</build> |
|
369 |
<depends_on name="qt4" optional="False"/> |
|
370 |
</module> |
|
371 |
||
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
372 |
<module name="ns-3-allinone"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
373 |
<source type="mercurial"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
374 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
375 |
</source> |
132 | 376 |
<depends_on name="netanim" optional="True"/> |
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
377 |
<depends_on name="nsc" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
378 |
<depends_on name="pybindgen" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
379 |
<depends_on name="click" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
380 |
<depends_on name="openflow-ns3" optional="True"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
381 |
<build type="waf" objdir="yes"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
382 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests --with-nsclick=$SRCDIR/click --with-pybindgen=$SRCDIR/pybindgen --with-openflow=$SRCDIR/openflow-ns3 --with-nsc=$SRCDIR/nsc"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
383 |
</build> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
384 |
</module> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
385 |
|
94 | 386 |
<module name="ns-3-dev"> |
67 | 387 |
<source type="mercurial"> |
388 |
<attribute name="url" value="http://code.nsnam.org/ns-3-dev"/> |
|
389 |
</source> |
|
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
390 |
<build type="waf" objdir="yes"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
391 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
392 |
</build> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
393 |
</module> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
394 |
|
157
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
395 |
|
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
396 |
<module name="test1"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
397 |
<source type="mercurial"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
398 |
<attribute name="url" value="http://code.nsnam.org/bake"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
399 |
</source> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
400 |
<build type="waf" objdir="yes"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
401 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
402 |
</build> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
403 |
</module> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
404 |
|
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
405 |
<module name="test2"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
406 |
<source type="bazaar"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
407 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
408 |
<attribute name="revision" value="revno:809"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
409 |
</source> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
410 |
<build type="waf" objdir="yes"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
411 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
412 |
<attribute name="build_arguments" value="--generate-version"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
413 |
</build> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
414 |
<depends_on name="test1" optional="False"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
415 |
</module> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
416 |
|
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
417 |
<module name="test3"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
418 |
<source type="bazaar"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
419 |
<attribute name="url" value="https://launchpad.net/pybindgen"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
420 |
<attribute name="revision" value="revno:809"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
421 |
</source> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
422 |
<build type="waf" objdir="yes"> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
423 |
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
424 |
<attribute name="build_arguments" value="--generate-version"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
425 |
</build> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
426 |
<depends_on name="test2" optional="True"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
427 |
<depends_on name="pygccxml" optional="True"/> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
428 |
</module> |
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
429 |
|
cf71758d6fb8
Bug fix for dependencies and error messages improovement.
daniel
parents:
156
diff
changeset
|
430 |
|
131 | 431 |
<!-- |
124
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
432 |
<module name="ns-3-16"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
433 |
<source type="mercurial"> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
434 |
<attribute name="url" value="http://code.nsnam.org/ns-3.16"/> |
8fe5ba0938c6
Fix for the configuration file and Unrecognized option
daniel
parents:
123
diff
changeset
|
435 |
</source> |
132 | 436 |
<depends_on name="netanim" optional="True"/> |
67 | 437 |
<depends_on name="nsc" optional="True"/> |
438 |
<depends_on name="pybindgen" optional="True"/> |
|
94 | 439 |
<depends_on name="click" optional="True"/> |
67 | 440 |
<depends_on name="openflow-ns3" optional="True"/> |
441 |
<build type="waf" objdir="yes"> |
|
131 | 442 |
<attribute name="configure_arguments" value="configure \-\-prefix=$INSTALLDIR \-\-enable-examples \-\-enable-tests \-\-with-nsclick=$SRCDIR/click \-\-with-pybindgen=$SRCDIR/pybindgen \-\-with-openflow=$SRCDIR/openflow-ns3 \-\-with-nsc=$SRCDIR/nsc"/> |
67 | 443 |
</build> |
94 | 444 |
</module> |
131 | 445 |
--> |
67 | 446 |
|
447 |
</modules> |
|
448 |
||
449 |
<predefined name="dbg"> |
|
94 | 450 |
<append name="CFLAGS" value="-g"/> |
451 |
<append name="CXXFLAGS" value="-g"/> |
|
115 | 452 |
<configuration objdir="dbg"/> |
453 |
<configuration installdir="build_dbg"/> |
|
67 | 454 |
</predefined> |
115 | 455 |
|
67 | 456 |
<predefined name="opt"> |
457 |
<configuration objdir="opt"/> |
|
115 | 458 |
<configuration installdir="build_opt"/> |
94 | 459 |
<!-- <append name="configure_arguments" value=" -d optimized"/> --> |
460 |
<append name="CFLAGS" value="-O3"/> |
|
461 |
<append name="CXXFLAGS" value="-O3"/> |
|
67 | 462 |
</predefined> |
94 | 463 |
|
464 |
<predefined name="ns3"> |
|
465 |
<enable name="ns-3-dev"/> |
|
466 |
<!-- <configuration installdir="." sourcedir="../source"/> --> |
|
467 |
<append module="ns-3-dev" name="configure_arguments" value="--enable-examples --enable-tests"/> |
|
67 | 468 |
</predefined> |
94 | 469 |
|
104 | 470 |
<predefined name="ns3-min"> |
471 |
<enable name="ns-3-dev"/> |
|
108 | 472 |
<append module="ns-3-dev" name="configure_arguments" value=" --enable-modules=core,network,wifi"/> --> |
104 | 473 |
</predefined> |
474 |
||
67 | 475 |
</configuration> |