Skip to content

Conversation

@ClausKlein
Copy link
Collaborator

@ClausKlein ClausKlein commented Jun 1, 2025

@ClausKlein ClausKlein requested review from a team, inbal2l and steve-downey and removed request for a team June 1, 2025 11:29
@ClausKlein ClausKlein self-assigned this Jun 1, 2025
Copy link
Member

@dietmarkuehl dietmarkuehl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The cmakeVersion changes should probably [also] go to exempler: this file is essentially a copy of the file there with a few references renamed.

I hadn't a local version of cmake-format: with that I'll also realise where cmake/Config.cmake.in is used and I'll restore it (again that is probably something which should [also] go to exemplar).

Comment on lines +19 to +20
set(CMAKE_C_COMPILER gcc)
set(CMAKE_CXX_COMPILER g++)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apple ships with an executable named g++ which is really clang++. I'm not objecting to this change although I wonder what that implication! I could imagine that the name does imply different defaults, e.g., using libc++ for clang++ and libstdc++ for g++.

struct state {
using operation_state_concept = ex::operation_state_t;
using child_state_t = decltype(ex::connect(std::declval<CSender>(), std::declval<own_receiver<Receiver>>()));
using child_state_t = decltype(ex::connect(std::declval<CSender>(), std::declval<own_receiver<Receiver> >()));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change seems like an odd clang-format change. In the past >> was illegal but that changed a long time ago. I'd also think that happens in a lot of other places, just this file was recently changed.

include (GNUInstallDirs)
include(GNUInstallDirs)

find_package(Threads REQUIRED)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this dependency needed? As far as I can tell, things build and test on all major platforms without that. OK, looking things up seems to say that this helps deciding which threading library to use and it seems to ship with cmake - that should be fine.

@dietmarkuehl dietmarkuehl merged commit aaba2a9 into bemanproject:update-for-beman-standards Jun 1, 2025
55 checks passed
@ClausKlein ClausKlein deleted the feature/fix-appleclang-workflow branch December 7, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants