Fixed library dependency (libtrack_reco -> libtrackbase_historic).#4140
Merged
osbornjd merged 2 commits intosPHENIX-Collaboration:masterfrom Jan 28, 2026
Merged
Conversation
This allows to remove openmp configuration flag, introduced in sPHENIX-Collaboration#4139
Contributor
📝 WalkthroughWalkthroughThe changes update build configuration for the TPC dEdx calibration module by modifying library dependencies in the Makefile and removing the OpenMP compilation flag from the configure script. Changes
Possibly related PRs
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Build & test reportReport for commit 5e38c107eb93abe133ef477bc60ab25b3848b1a6:
Automatically generated by sPHENIX Jenkins continuous integration |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



This allows to remove openmp configuration flag, introduced in #4139
See discussion at #4139
Types of changes
What kind of change does this PR introduce? (Bug fix, feature, ...)
TODOs (if applicable)
Links to other PRs in macros and calibration repositories (if applicable)
Motivation and Context
This PR resolves library dependency issues in the dEdx fitter calibration module and removes an unnecessary OpenMP compilation flag. The changes allow cleanup of build configuration introduced in PR #4139, which added the
-fopenmpflag due to perceived OpenMP dependencies that do not actually exist in the code.Key Changes
-ltrack_recowith-ltrackbase_historicin thelibdedxfitter_la_LIBADDlinkage. The module already includes headers fromtrackbase_historic(specificallySvtxTrackMap.handTrackAnalysisUtils.h) and was already linking againstlibtrackbase_historicandlibtrackbase_historic_io.-fopenmpcompilation flag from CXXFLAGS, eliminating an unnecessary OpenMP dependency that was not actually used in the code.Risk Assessment
#pragma omp) or OpenMP API calls, confirming the flag was unnecessary.GlobaldEdxFitteranddEdxFitter) rely on ROOT mathematical minimization and track analysis utilities fromtrackbase_historic, not on parallelization.libtrack_recolibrary dependency appears to have been redundant, as the required functionality is already available through the directlibtrackbase_historicdependency.Possible Future Improvements
Note: AI-assisted analysis has been used in identifying these patterns. Manual verification of transitive dependencies and actual library requirements is recommended.