Skip to content

DPL: use C++26 extension to expand packs where available - #15631

Merged
ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr15631
Aug 6, 2026
Merged

DPL: use C++26 extension to expand packs where available#15631
ktf merged 1 commit into
AliceO2Group:devfrom
ktf:pr15631

Conversation

@ktf

@ktf ktf commented Jul 23, 2026

Copy link
Copy Markdown
Member

O(1) in both CPU and time rather than O(N) when compiling the pack expansion.

Removes the limit to 100 elements in a struct.

Requires XCode 26.4

@ktf

ktf commented Jul 23, 2026

Copy link
Copy Markdown
Member Author

@aalkin not sure I would merge this just yet, however it seems to work as desired... :-)

Comment thread Framework/Foundation/include/Framework/StructToTuple.h Outdated
@aalkin

aalkin commented Jul 23, 2026

Copy link
Copy Markdown
Member

If we switch to clang as a primary compiler for O2Physics, this will work not only on mac.

O(1) in both CPU and time rather than O(N) when compiling the pack expansion.

Removes the limit to 100 elements in a struct.

Requires XCode 26.4
@alibuild

alibuild commented Jul 31, 2026

Copy link
Copy Markdown
Collaborator

Error while checking build/O2/fullCI_slc9 for 977fa0e at 2026-08-05 03:24:

## sw/BUILD/O2-latest/log
CMake Error in Detectors/Base/CMakeLists.txt:

Full log here.

@ktf

ktf commented Aug 6, 2026

Copy link
Copy Markdown
Member Author

Tested on hyperloop. Should speedup compilation when using clang. Merging.

@ktf
ktf merged commit 1183f52 into AliceO2Group:dev Aug 6, 2026
13 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants