Commit Graph

399 Commits

Author SHA1 Message Date
Tom Henderson
4ee323f8fd build: (merges !837) Remove libgcrypt detection 2022-01-13 17:41:39 -08:00
Gabriel Ferreira
f81977e170 CI: Install ssh in gcc jobs 2022-01-09 10:48:33 -03:00
Gabriel Ferreira
53260b5d27 CI: Specify c++ compiler and install ssh for CI jobs with MPI 2022-01-09 04:14:41 -03:00
Gabriel Ferreira
ff3b511384 build: Bugfixes and refactoring of ns3 and CMake
Including:
- add missing command for introspected doxygen
- run get_version.sh before running doxygen
- use find_package(Doxygen) to get the doxygen executable
- silence python and sqlite find_package warnings
- return cmake returncode if configuration fails
- require GTK3 3.22
- link all libraries to print-introspected-doxygen
- replace shell with use_shell for variable name
- revert wrong changes to propagation of return codes and add test
- disable pch when ccache is found
- make --enable-sudo a post-build step and a runtime option
- add docs subparser
- add enable-sudo option
- refactor positional argument values
- fix --check option and add shell option
- replace --no-task-lines with --quiet
- replace --nowaf with --no-build
- replace --run --run-no-build with run (--no-build)
- replace ns3 documentation related arguments with targets
- document test-ns3.py
- export include directories used by ns3 libraries
- refactor CMake documentation dependency checking and behavior
- add --allow-run-as-root for running MPI examples on the CI
2022-01-09 02:48:53 -03:00
Gabriel Ferreira
7a95fb87be test: Replace nowaf option with no-build option 2022-01-09 00:59:19 -03:00
Tommaso Pecorella
247a597f43 doxygen: fix warnings in various modules 2022-01-07 12:13:17 -06:00
Tommaso Pecorella
64f9c1c70d CI: upodate fedora and ubuntu tests 2022-01-06 16:46:50 -06:00
Tommaso Pecorella
6b50829a4b CI: revert the doxygen CI to waf 2022-01-06 13:37:06 -06:00
Tommaso Pecorella
3d23f9ed09 CI: switch to cmake 2022-01-05 12:10:58 -06:00
Tommaso Pecorella
a8fc1b6235 doxygen: fix warnings in various modules 2022-01-05 00:22:31 -06:00
Peter Barnes
7f3d883f75 core: fix doxy warnings 2021-12-21 17:06:57 +00:00
Gabriel Ferreira
6d665d5901 build: fix ns3 path resolution when running waf executables
When waf output directory is different from the default
2021-12-21 13:21:31 -03:00
Gabriel Ferreira
715232ea96 build: fix dependency checks for the test module
And formatting fixes
2021-12-19 11:43:47 -03:00
Tommaso Pecorella
da7e53148b CI: fix Yaml for clang tests 2021-12-18 01:42:46 +00:00
Tommaso Pecorella
9b1b8feb81 CI: fix Yaml for clang tests 2021-12-18 01:32:44 +00:00
Tommaso Pecorella
98e3168d7e CI: fix Yaml for clang tests 2021-12-18 01:26:40 +00:00
Tom Henderson
f5bd038b86 build: Update minimum compiler versions to g++-8, clang++-6, Apple Clang 11 2021-12-17 17:18:58 -08:00
Tom Henderson
fa64e1e008 ci: Remove unsupported Fedora 31, 32 2021-12-17 15:55:50 -08:00
Gabriel Ferreira
9d9f765ba6 build: additional CMake and ns3 bugfixes 2021-12-16 02:29:59 +00:00
Tommaso Pecorella
73fd4b87a4 build: fix Ubuntu 18.04 CI scripts 2021-12-14 00:28:16 +01:00
Tommaso Pecorella
532dadb1c3 build: update CI scripts to use gcc-8 2021-12-13 18:01:35 +01:00
Gabriel Ferreira
eda1c6af51 build: Stop manually refreshing the cmake cache to speed up build 2021-12-11 12:04:15 -03:00
Gabriel Ferreira
f6ef415392 build: CMake bugfixes
Fixes include:
- Handling of relative paths used as output directories
- Accepting comma separated lists of modules to enable/disable
- Echoing all CMake commands at the end of the execution of ns3 script
- More informative optional features summary output
- Replace absolute paths with relative paths in the printed CMake output for less verbose output
- Set debug build type on the CMake side to ensure ccmake doesn't crash
- Prefix INT64X64 with NS3 to indicate user switch
- Compiler version check
- Removal of verbose option
- Suppress empty enabled/disabled module tables

Features include:
- Test for installation/uninstallation of ns-3 as a CMake package
- Test importing ns-3 as a CMake package and use in a 3rd-party project
- Test to check VERSION usage
- ns3 option to enable/disable sanitizers
- Associate headers to libraries targets
2021-12-10 02:13:43 +00:00
Stefano Avallone
6ec6fc2eb6 core: Add an attribute value storing a std::tuple 2021-12-06 10:49:40 +01:00
Gabriel Ferreira
a893eba7e3 build: Fix CMake and ns3 script bugs, add a test suite and fix formatting 2021-12-05 21:53:49 +00:00
Gabriel Ferreira
3c604d5b2e Update docs with CMake and ns3 wrapper 2021-12-01 12:29:56 -08:00
Gabriel Ferreira
314c02b234 CI job using ns3 wrapper script 2021-12-01 12:29:55 -08:00
Gabriel Ferreira
9c876c7f5a CMake buildsystem 2021-12-01 12:29:55 -08:00
Eduardo Almeida
b73323471b test: Remove duplicate config test case 2021-11-18 11:57:00 -08:00
Gabriel Arrobo
d53ea68bc2 utils: Improve Python style concerning unused variables and return values 2021-08-21 11:00:24 -07:00
Tommaso Pecorella
838dfe26ec ci: increase the private runners timeout to 12h 2021-06-21 18:35:05 +00:00
Tommaso Pecorella
f580b27f09 ci: fix doxygen generation script 2021-06-17 22:28:01 +00:00
Tommaso Pecorella
5c73ae4ccb ci: simplify doxygen warnings script 2021-06-16 22:49:21 +00:00
Tommaso Pecorella
705e8c2476 ci: prevent spurious stop on doxygen builds 2021-06-10 00:56:02 +00:00
Tommaso Pecorella
77d6088608 ci: fix master doxygen fails 2021-05-27 00:36:44 +00:00
Tommaso Pecorella
a13fe418ba ci: fix gcc-11 test 2021-05-16 18:06:58 +00:00
Tommaso Pecorella
2d150b0f6a ci: add gcc-11 jobs 2021-05-14 17:52:02 +00:00
Tommaso Pecorella
0bc6512941 ci: update weekly jobs
- remove gcc<7, ubuntu 16.04
- add ubuntu 21.04, fedora 34
2021-05-13 22:10:57 +00:00
Eduardo Almeida
6aa2d3238e Update Python scripts to the safer "with open() as" Python syntax 2021-05-11 23:38:30 +00:00
Tommaso Pecorella
de8505ce2d ci: doc - fix ImageMagik conversion policy 2021-05-11 21:03:26 +00:00
Tommaso Pecorella
5beeda40a2 ci: switch to archlinux for documentation stage 2021-05-09 21:25:01 +00:00
Tommaso Pecorella
963991426f ci: fix doxygen script (7) 2021-05-03 23:20:09 +00:00
Tommaso Pecorella
5a22bf1f05 ci: fix doxygen script (6) 2021-05-03 17:48:10 +00:00
Tommaso Pecorella
c419271ec9 ci: fix doxygen script (5) 2021-05-03 17:24:07 +00:00
Tommaso Pecorella
63372b26d9 ci: fix doxygen script (4) 2021-05-03 14:42:18 +00:00
Tommaso Pecorella
5c44b41a56 ci: fix doxygen script (3) 2021-05-03 14:06:36 +00:00
Tommaso Pecorella
e2b73619ab ci: fix doxygen script (2) 2021-05-03 13:16:41 +00:00
Tommaso Pecorella
ba5835e497 ci: fix doxygen script 2021-05-03 12:59:47 +00:00
Peter Barnes
778f604511 ci: (fixes #207) doxy use warnings report, filtered to files touched in commit 2021-05-03 02:37:51 +02:00
Tommaso Pecorella
d7a08785d7 CI: update archlinux image 2021-04-29 20:45:59 +00:00