bake: add module config
This commit is contained in:
parent
07d5199d60
commit
f0b1484d3e
2 changed files with 19 additions and 0 deletions
2
Makefile
2
Makefile
|
@ -9,6 +9,8 @@ docker-build-image: docker/Dockerfile
|
||||||
|
|
||||||
bake:
|
bake:
|
||||||
git clone https://gitlab.com/nsnam/bake.git
|
git clone https://gitlab.com/nsnam/bake.git
|
||||||
|
mkdir -p bake/contrib
|
||||||
|
cp ns-3-leo.xml bake/contrib
|
||||||
|
|
||||||
configure: docker-build-image bake
|
configure: docker-build-image bake
|
||||||
$(DOCKER_RUN) /bin/bash -c './bake.py configure -e ns-3-leo && ./bake.py check && ./bake.py download'
|
$(DOCKER_RUN) /bin/bash -c './bake.py configure -e ns-3-leo && ./bake.py check && ./bake.py download'
|
||||||
|
|
17
ns-3-leo.xml
Normal file
17
ns-3-leo.xml
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<configuration>
|
||||||
|
<modules>
|
||||||
|
<module name="ns-3-leo" type="ns">
|
||||||
|
<source type="git">
|
||||||
|
<attribute name="url" value="https://gitlab.com/dadada_/ns-3-dev.git"/>
|
||||||
|
<attribute name="module_directory" value="ns-3-leo"/>
|
||||||
|
</source>
|
||||||
|
<depends_on name="netanim-3.108" optional="True"/>
|
||||||
|
<depends_on name="pybindgen-0.20.0" optional="True"/>
|
||||||
|
<depends_on name="pyviz-gtk3-prerequisites" optional="True"/>
|
||||||
|
<build type="waf" objdir="yes">
|
||||||
|
<attribute name="configure_arguments" value="configure --prefix=$INSTALLDIR --enable-examples --enable-tests"/>
|
||||||
|
</build>
|
||||||
|
</module>
|
||||||
|
</modules>
|
||||||
|
</configuration>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue