- Enable the C language before find_package(LLVM): LLVMConfig.cmake runs C
compile checks and fails without it, e.g. with LLVM 17 on Ubuntu.
- Look for Clang next to the found LLVM first. Before, a failed LLVM
lookup let Clang pull in another LLVM version silently.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Require FairLogger and Boost only for BUILD_FAIRMQ; fairmq-tidy uses
neither of them.
- Do not require CLI11; the tool never used it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add the bundled GoogleTest with FetchContent and OVERRIDE_FIND_PACKAGE,
so it uses the compiler and flags of the FairMQ build
- Build it in a block() without gmock, install and static analysis
- Replace build_bundled() with fairmq_init_submodule(), which runs
git submodule update only if the submodule folder is empty, and stops
with a clear error if it stays empty
- Install the bundled FairCMakeModules into the build directory with its
tests off, as before
- Use the bundled PicoSHA2 headers directly from the source tree
- With USE_EXTERNAL_GTEST, GTest is a private dependency and no longer
in FairMQ_PACKAGE_DEPENDENCIES
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Set CMAKE_COLOR_DIAGNOSTICS instead of adding -fdiagnostics-color to
CMAKE_CXX_FLAGS and setting CMAKE_COLOR_MAKEFILE
- CMake adds the correct flag for each compiler
- Keep a CMAKE_COLOR_DIAGNOSTICS value given by the user, except with
DISABLE_COLOR=ON
- The color flag is no longer part of FairMQ_CXX_FLAGS in the package
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- EXPORT_LINK_INTERFACE_LIBRARIES has no effect with policy CMP0022
- Test targets are executables, so their include directories are private
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR point to the top-level project
and break add_subdirectory() and FetchContent
- Find the helper modules relative to the CMakeLists.txt that includes them
- Replace @CMAKE_BINARY_DIR@ in the example test scripts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Use option() and cmake_dependent_option() directly
- Keep the error for BUILD_TESTING or BUILD_EXAMPLES without BUILD_FAIRMQ
- Option names and defaults are unchanged
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Raise the minimum from 3.15 to 3.25 and the policy range to 3.31
- Remove the 3.22 version guards for ENVIRONMENT_MODIFICATION
- Link the GoogleTest target GTest::gtest, which FindGTest and the
GoogleTest package config both provide
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Boost::headers exists in every supported FindBoost and BoostConfig
- The else branch could never run
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Nothing includes Findasio.cmake or extern/bundled_asio.cmake
- FairMQ uses Boost.Asio and has no asio submodule
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Set a default CMAKE_BUILD_TYPE only for single-config generators
- Stop overriding CMAKE_CONFIGURATION_TYPES
- Do not require CMAKE_BUILD_TYPE when generating the package config
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- CMAKE_CXX_IWYU is not a CMake variable. Use
CMAKE_CXX_INCLUDE_WHAT_YOU_USE and the include-what-you-use program
- Store find_program results in their own variables instead of misusing
the *_FOUND names as cache entries
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- The old check dereferenced GIT_EXECUTABLE, so it tested an empty name
and re-ran find_program every time by accident
- FindGit provides the same GIT_EXECUTABLE variable
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- The list name contained a trailing brace, so the joined string was empty
- The installed FairMQConfig.cmake then set FairMQ_PACKAGE_COMPONENTS to
an empty value
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
- Remove the option BUILD_DOCS, the target docs and the install of the
HTML files
- Remove the Doxygen lookup and the docs line of the configure summary
- Remove docs/footer.html and the Doxygen entries of README.md
BREAKING CHANGE: The option BUILD_DOCS and the package component docs do
not exist any more. The site in docs/ replaces the Doxygen HTML.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Add test::TransportParam with the transport, the expanded shm metadata
flag and a name generator for INSTANTIATE_TEST_SUITE_P()
- Turn the per-transport TEST() copies into TEST_P() suites; the poller
and transfer tests now also run with the expanded shm metadata
- Name the multipart suite PushPullMultipart (it shared PushPull)
- Discover the tests with NO_PRETTY_VALUES, so the ctest names are
Suite.Case/transport
- The test names change, e.g. Pair.SingleMsg_MultiThreaded_ipc_shmem
is now Pair.SingleMsg_MultiThreaded_ipc/shmem
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- each test suite has its own main() in runner.cxx, so GTest::Main was
linked but not used
- remove the commented-out add_test() and set_tests_properties() calls
that gtest_discover_tests() replaced
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- CMAKE_EXE_LINKER_FLAGS and CMAKE_SHARED_LINKER_FLAGS are command-line
strings; list(APPEND) inserts a semicolon once the variable is
non-empty, which splits the link command at the shell level
- latent until now because nothing passed linker flags on the cmake
command line
- tsan build failed at link with GNU ld:
"failed to set dynamic section sizes: bad value" (known binutils +
ThreadSanitizer incompatibility); install lld and select it via
-fuse-ld=lld for the tsan job only
- pass -fuse-ld=lld through cxx-flags so it reaches the link line,
avoiding the semicolon-list pitfall of
list(APPEND CMAKE_EXE_LINKER_FLAGS ...)
- build the bundled googletest with CMAKE_POSITION_INDEPENDENT_CODE=ON:
lld rejects R_X86_64_32 relocations from the non-PIC libgtest.a when
producing the position-independent tsan executable; the bundle is built
by a separate cmake invocation, so the flag must be set there
Boost 1.88 replaced Boost.Process with v2, breaking the v1 API.
Boost 1.89 restores v1 compatibility via <boost/process/v1.hpp>.
- Fail configuration if Boost 1.88 is detected
- Define FAIRMQ_BOOST_PROCESS_V1_HEADER for Boost >= 1.89
- Use conditional includes to select v1.hpp or process.hpp
- Add namespace aliases (bp, bp_this) for portable API access
BREAKING CHANGE
Due to a lack of users, we remove the experimental code. The
latest implementation can be found in release v1.4.56. This does
not mean it will never be picked up again, but for now there are
no plans.
* Modernize some ofi transport code along the way
* Replace Boost.Container with `<memory_resource>`
* Introduce namespaced headers
* `<fairmq/Channel.h>`
* `<fairmq/Message.h>`
* `<fairmq/Poller.h>`
* `<fairmq/Socket.h>`
* `<fairmq/TransportFactory.h>`
* `<fairmq/UnmanagedRegion.h>`
* Compile-firewall Boost.Process in `shmem::Manager` because it conflicts
with standalone asio