From: Arnaud Giersch Date: Wed, 20 Apr 2022 13:51:20 +0000 (+0200) Subject: Disable ns3 on ubuntu until version 3.36. X-Git-Tag: v3.32~317 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/72c09378107b630fc2c97867e3112db76b2c1fdd Disable ns3 on ubuntu until version 3.36. The programs crash (sigsegv) when loading libns3.35-wifi.so Hope that the following patch will fix that https://gitlab.com/nsnam/ns-3-dev/-/commit/62ab4ade4215bfa91ff95eab4d5e0422e18028f0 --- diff --git a/tools/jenkins/build.sh b/tools/jenkins/build.sh index 2f23a21a79..3dea3ca140 100755 --- a/tools/jenkins/build.sh +++ b/tools/jenkins/build.sh @@ -146,11 +146,16 @@ mkdir "$WORKSPACE"/build cd "$WORKSPACE"/build have_NS3="no" -if [ "$os" = "Debian" ] || [ "$os" = "Ubuntu" ] ; then +if [ "$os" = "Debian" ] ; then if dpkg --compare-versions "$(dpkg-query -f '${Version}' -W libns3-dev)" ge 3.28; then have_NS3="yes" fi fi +if [ "$os" = "Ubuntu" ] ; then + if dpkg --compare-versions "$(dpkg-query -f '${Version}' -W libns3-dev)" ge 3.36; then + have_NS3="yes" + fi +fi if [ "$os" = "nixos" ] ; then have_NS3="yes" fi