Commit Graph

171 Commits

Author SHA1 Message Date
F5
136a6e22bf Merge tag 'ns-3.46' into unison
ns-3.46 release
2025-10-26 20:52:40 +08:00
Eduardo Almeida
fda51df962 build: Add support for clang-tidy 20 2025-09-30 21:21:31 +00:00
Gabriel Ferreira
bb7b22838a build: Use Python venv by default 2025-06-18 10:36:25 +02:00
André Apitzsch
bd3279cb7b build: remove unneeded cmake version switches 2025-06-08 20:22:11 +00:00
Gabriel Ferreira
1f82d8f835 build: Load clang-tidy settings via CMake 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
92acde1f41 build: Remove uint128_t test code that emits error in modern compilers 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
08b72c4438 build: Remove C dependency 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
2fc24282e3 build, lte: Only enable emulation features when EmuNetDevice dependencies are met 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
c0010702ce Replace C stdlib.h, stdint.h and math.h headers with C++ variants 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
eda1ddd699 build: Bump C++ standard from C++20 to C++23 2025-06-05 10:14:19 +02:00
Gabriel Ferreira
535bd900f1 build: Fix usage of highlighted status message 2025-05-26 19:56:39 +02:00
F5
c39089e746 Merge tag 'ns-3.44' into unison
ns-3.44 release
2025-04-29 17:12:30 +08:00
Gabriel Ferreira
206188d9bd build: Silence warning for unused manually-set Python_EXECUTABLE variable 2025-04-12 13:56:09 +02:00
Gabriel Ferreira
302aef3f77 build: (fixes #1197) Silence Boost find_package warning message 2025-04-12 13:24:33 +02:00
Gabriel Ferreira
1e21fa478b build: Remove -Wno-error=class-memaccess for ARM builds with eigen
Option is not supported by clang, and is better handled case-by-case
2025-03-08 18:13:24 +00:00
Eduardo Almeida
d24b08391e build: Add support for clang-tidy-19 in CMake 2025-02-06 16:53:40 +00:00
Eduardo Almeida
0f6425d3a4 clang-tidy: Raise minimum clang-tidy version to 15 2025-02-06 13:45:50 +00:00
Ivey
528c9f927f build: Set MSVC build settings and make sure MSVC is defined 2025-01-24 08:04:05 +00:00
Gabriel Ferreira
83000d9a8b build: Avoid include_directories when NS3_FORCE_LOCAL_DEPENDENCIES is set 2025-01-22 13:00:22 +00:00
Gabriel Ferreira
f7e51b1a3c build: Enable clang-tidy 17 and 18 via CMake 2025-01-20 17:20:24 +01:00
André Apitzsch
637967a73b config-store: Remove unused config-store-config.h 2024-12-10 11:01:59 +00:00
André Apitzsch
f67ff99635 build: Limit scope of MPI definition and include directory 2024-12-07 18:38:56 +01:00
André Apitzsch
2045a6af58 build: (fixes #1156) Fix 'FindBoost module is removed' warning
See https://cmake.org/cmake/help/latest/policy/CMP0167.html for details.
2024-11-21 11:57:24 +01:00
Gabriel Ferreira
194624068c build: Prevent python bindings from being enabled along with MPI
MPI is not supported by cppyy
2024-11-10 20:11:29 +01:00
Gabriel Ferreira
0e98a8fd87 build: Disable class-memaccess compiler error when using eigen on ARM64 2024-11-04 20:24:24 +01:00
André Apitzsch
df54650281 build: Simplify inclusion of netanim 2024-11-01 12:39:58 +00:00
F5
a1d007d173 Merge tag 'ns-3.43' into unison
ns-3.43 release
2024-10-20 15:23:35 +08:00
Gabriel Ferreira
d0b08186b5 build: Specify project source directory for configured header templates 2024-10-11 18:20:41 +00:00
Gabriel Ferreira
626e19da43 build: Fix examples filtering 2024-09-15 14:05:12 +00:00
F5
a43bb999d8 Merge tag 'ns-3.42' into unison
ns-3.42 release
2024-09-07 16:01:00 +08:00
André Apitzsch
8bc94a1cc3 Use SPDX license identifiers 2024-09-06 19:32:31 +00:00
Gabriel Ferreira
c3236a29fc build: Refactor build_lib and static/monolib target setups 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
744c0fade4 build: Fix examples filtering 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
b98b408f72 build: Add NS3_FORCE_LOCAL_DEPENDENCIES option to ignore system directories 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
55abe1f10a build: Limit recursion to speed up configuration in slow filesystems with many files 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
0d051e6705 build: Drop lib prefix from module targets 2024-08-30 23:57:28 +00:00
Gabriel Ferreira
ae248726dc build: Remove cppyy guard for ARM-based Macs 2024-06-04 14:58:11 +00:00
Nakayama Kenjiro
3c4019304a build: Enable BSD support 2024-06-02 07:46:55 +00:00
Rui Chen
06a0874647 build: Prevent the redefinition of stdlib_pch target in release builds
```
  -- Precompiled headers were enabled
  CMake Error at build-support/macros-and-definitions.cmake:1272 (add_library):
    add_library cannot create ALIAS target "stdlib_pch" because another target
    with the same name already exists.
  Call Stack (most recent call first):
    CMakeLists.txt:149 (process_options)
```

Signed-off-by: Rui Chen <rui@chenrui.dev>
2024-05-26 21:48:38 +00:00
Gabriel Ferreira
8ce6c6f8f7 build: Add dia as a Sphinx dependency
It is required by the manual
2024-05-03 18:21:11 +00:00
Gabriel Ferreira
f008b0c9ab build: Lower optimization of GCC 9 default builds from -Os to -O2
A bug in GCC can result in crashes due to excessive memory usage (>10GB)
2024-04-29 14:30:25 +02:00
Gabriel Ferreira
53e653b262 build: Fix trailing semicolon check for GCC pedantic warnings 2024-04-27 11:57:04 +02:00
Gabriel Ferreira
d1fb6b4046 build: Stricter sanitizer checks 2024-04-21 22:26:02 +02:00
Gabriel Ferreira
4ce1982082 build: Disable pedantic checks in GCC9 due to extra semicolon check 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
150fb0e1ce Enable pedantic checks for C++ conformance 2024-04-21 17:02:07 +00:00
Gabriel Ferreira
ce15778490 build: Include additional headers to the PCH
Including: deque, functional, queue, tuple, typeinfo, type_traits and utility
2024-04-21 17:02:07 +00:00
Gabriel Ferreira
03a2015483 build: Set LIBXML2_FOUND to prevent uninitialized variable use in static build 2024-04-18 19:13:47 +00:00
Gabriel Ferreira
c4261cd815 build: (fixes #1065) Avoid lld issue by reverting -Os to -O2 builds on MacOS 2024-04-18 19:13:47 +00:00
F5
08db4ac6d7 Merge tag 'ns-3.41' into unison
ns-3.41 release
2024-03-26 10:54:49 +08:00
Gabriel Ferreira
9b62087072 build: Change default build from -O2 -g to -Os -g 2024-02-27 15:37:32 +01:00