Skip to content

build: Make static builds of Examples, Plugins possible#4947

Merged
kodiakhq[bot] merged 2 commits intoacts-project:mainfrom
benjaminhuth:build/acts-static-build
Jan 9, 2026
Merged

build: Make static builds of Examples, Plugins possible#4947
kodiakhq[bot] merged 2 commits intoacts-project:mainfrom
benjaminhuth:build/acts-static-build

Conversation

@benjaminhuth
Copy link
Member

@benjaminhuth benjaminhuth commented Jan 9, 2026

This removes the SHARED attribute from calls to add_library and add_acts_library in Examples and Plugins, in order to allow static builds with setting BUILD_SHARED_LIBS=OFF globally.
Also fixed ODR violation that popped up in the static build.

--- END COMMIT MESSAGE ---

@paulgessinger @andiwand

@github-actions github-actions bot added this to the next milestone Jan 9, 2026
@paulgessinger paulgessinger changed the title build: Make static builds of ACTS possible build: Make static builds of Examples, Plugins possible Jan 9, 2026
@paulgessinger
Copy link
Member

Changed titles because this was already possible for the core lib.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 9, 2026

📊: Physics performance monitoring for 381d842

Full contents

physmon summary

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jan 9, 2026

@kodiakhq kodiakhq bot merged commit 56ff962 into acts-project:main Jan 9, 2026
43 checks passed
@github-actions github-actions bot removed the automerge label Jan 9, 2026
@acts-project-service
Copy link
Collaborator

🔴 Athena integration test results [56ff962]

Build job with this PR failed!

Please investigate the build job for the pipeline!

@acts-project-service acts-project-service added the Breaks Athena build This PR breaks the Athena build label Jan 9, 2026
@andiwand andiwand modified the milestones: next, v45.0.0 Jan 29, 2026
JustusRudolph pushed a commit to JustusRudolph/acts that referenced this pull request Feb 23, 2026
…#4947)

This removes the `SHARED` attribute from calls to `add_library` and `add_acts_library` in Examples and Plugins, in order to allow static builds with setting `BUILD_SHARED_LIBS=OFF` globally.
Also fixed ODR violation that popped up in the static build.
JustusRudolph pushed a commit to JustusRudolph/acts that referenced this pull request Feb 24, 2026
…#4947)

This removes the `SHARED` attribute from calls to `add_library` and `add_acts_library` in Examples and Plugins, in order to allow static builds with setting `BUILD_SHARED_LIBS=OFF` globally.
Also fixed ODR violation that popped up in the static build.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ambiguity Resolution Breaks Athena build This PR breaks the Athena build Component - Examples Affects the Examples module Component - Fatras Affects the Fatras module Component - Plugins Affects one or more Plugins Track Finding Track Fitting Vertexing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants