From c79be66b3d147b40943151b4c47d9c315bb8fb92 Mon Sep 17 00:00:00 2001 From: Alina Quereilhac Date: Thu, 29 May 2014 19:21:52 +0200 Subject: [PATCH] Removing ns-3 build before rebuilding --- src/nepi/resources/linux/ns3/ns3simulation.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nepi/resources/linux/ns3/ns3simulation.py b/src/nepi/resources/linux/ns3/ns3simulation.py index a52530fa..0080846b 100644 --- a/src/nepi/resources/linux/ns3/ns3simulation.py +++ b/src/nepi/resources/linux/ns3/ns3simulation.py @@ -485,6 +485,7 @@ class LinuxNS3Simulation(LinuxApplication, NS3Simulation): " ( " # If not, copy ns-3 build to bin " cd ${SRC}/dce/ns-3-dce && " + " rm -rf ${SRC}/dce/ns-3-dce/build && " " ./waf configure %(enable_opt)s --with-pybindgen=${SRC}/pybindgen/%(pybindgen_version)s " " --prefix=%(ns3_build_home)s --with-ns3=%(ns3_build_home)s && " " ./waf build && " @@ -512,6 +513,7 @@ class LinuxNS3Simulation(LinuxApplication, NS3Simulation): # If not, copy ns-3 build to bin " mkdir -p %(ns3_build_home)s && " " cd ${SRC}/ns-3/%(ns3_version)s && " + " rm -rf ${SRC}/ns-3/%(ns3_version)s/build && " " ./waf configure -d %(build_mode)s --with-pybindgen=${SRC}/pybindgen/%(pybindgen_version)s " " --prefix=%(ns3_build_home)s && " " ./waf build && " -- 2.43.0