Skip to content

docs: mention OpenMP requirement for clang builds - #9162

Merged
timosachsenberg merged 1 commit into
OpenMS:developfrom
Adi-gitX:docs/clang-openmp-note
Jul 9, 2026
Merged

timosachsenberg merged 1 commit into
OpenMS:developfrom
Adi-gitX:docs/clang-openmp-note

Conversation

@Adi-gitX

@Adi-gitX Adi-gitX commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add a clang-specific note about installing OpenMP runtime and development headers on GNU/Linux
  • mention the common Debian/Ubuntu package name without presenting it as universal
  • add a pointer from the GNU/Linux source-build page to the compiler-specific notes

Closes #9040

Testing

  • not run locally (docs build tooling was not set up in this environment)
  • verified the touched documentation files and internal doc reference targets manually

Summary by CodeRabbit

Release Notes

  • Documentation
    • Enhanced build documentation with additional guidance for GNU/Linux users compiling with clang, including OpenMP runtime and development headers requirements.
    • Updated contributors list.

Copilot AI review requested due to automatic review settings April 16, 2026 18:57
@github-actions

Copy link
Copy Markdown
Contributor

Welcome @Adi-gitX and thank you for your contribution to OpenMS! To help us better understand our userbase and contributors, we would appreciate if you could complete the survey at the link below. Completing this survey will help us get to your PR sooner. Thank you for your participation!

Survey

@github-actions

Copy link
Copy Markdown
Contributor

@Adi-gitX The following names might be missing from the AUTHORS file:

  • Adithya Kammati

Please consider applying the following patch:

--- AUTHORS	2026-04-16 18:58:19.633277514 +0000
+++ AUTHORS.new	2026-04-16 18:58:24.474790484 +0000
@@ -6,6 +6,7 @@
 authors contributing to a specific piece of code, please refer to
 the authors tag in the respective file header.
  - Achal Bajpai
+ - Adithya Kammati
  - Aditya Muzumdar
  - Ahmed Khalil
  - Alen Saric

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates OpenMS’ documentation to clarify a common GNU/Linux source-build dependency when using clang, addressing issue #9040 where OpenMP headers/runtime are missing.

Changes:

  • Add a clang-on-GNU/Linux note in the custom compilation guide about installing OpenMP runtime + headers (e.g., libomp-dev on Debian-based distros).
  • Add a corresponding note to the GNU/Linux installation page and point readers to compiler-specific notes.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
doc/openms/docs/manual/develop/custom-compilation.md Adds a clang-specific OpenMP dependency note for GNU/Linux builds.
doc/openms/docs/about/installation/installation-on-gnu-linux.md Adds a clang/OpenMP note and links to the custom compilation page for details.

@coderabbitai

coderabbitai Bot commented Apr 16, 2026 •

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3af6cd24-b0d5-46cd-8bab-3724ba60830f

📥 Commits

Reviewing files that changed from the base of the PR and between e6e0091 and 976fafb.

📒 Files selected for processing (2)
  • AUTHORS
  • doc/openms/docs/manual/develop/custom-compilation.md
✅ Files skipped from review due to trivial changes (2)
  • AUTHORS
  • doc/openms/docs/manual/develop/custom-compilation.md

📝 Walkthrough

Walkthrough

This pull request adds a Sphinx documentation note to the custom compilation guide clarifying that GNU/Linux builds with clang require OpenMP runtime and development headers (libomp-dev on Debian-based distributions), and adds a new contributor to the AUTHORS file.

Changes

Cohort / File(s) Summary
Documentation Update
doc/openms/docs/manual/develop/custom-compilation.md
Added Sphinx note documenting OpenMP requirements for clang compilation on GNU/Linux, referencing libomp-dev for Debian-based systems and acknowledging package name variations across distributions. Removed trailing blank line.
Contributor Attribution
AUTHORS
Added "Adithya Kammati" as a listed contributor.

Suggested labels

Review effort 1/5

Suggested reviewers

  • jpfeuffer

Poem

🐰 A clang compiler needed a friend,
OpenMP headers to help it transcend,
The documentation now shines so bright,
With libomp-dev, the build takes flight!
And new names in AUTHORS join the light.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning The PR includes an out-of-scope change: an AUTHORS file update adding 'Adithya Kammati' is unrelated to documenting OpenMP requirements for clang builds. Remove the AUTHORS file update or move it to a separate PR focused on contributor acknowledgment.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'docs: mention OpenMP requirement for clang builds' is directly related to the main change—adding documentation about OpenMP requirements for clang compilation.
Linked Issues check ✅ Passed The PR addresses the core requirement from issue #9040 by documenting the OpenMP dependency for clang builds on GNU/Linux with Debian/Ubuntu guidance, fulfilling the objective to inform users about the libomp-dev requirement.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@jpfeuffer

Copy link
Copy Markdown
Contributor

I think the note should go to the developer docs.

@Adi-gitX
Adi-gitX force-pushed the docs/clang-openmp-note branch from e6e0091 to 976fafb Compare April 16, 2026 20:09
@timosachsenberg

Copy link
Copy Markdown
Contributor

Thanks for picking up #9040.

What works

  • AUTHORS entry is in the correct alphabetical slot.
  • The {note} directive style matches the rest of custom-compilation.md.
  • Wording is appropriately cautious (typically, other distributions may use a different package name) rather than claiming the package name is universal — good.
  • The technical claim is correct: cmake/multithreading.cmake enforces find_package(OpenMP COMPONENTS CXX) by default (MT_ENABLE_OPENMP ON), so a fresh clang on Ubuntu without libomp-dev does hit the exact error from Missing OpenMP Mention in Tutorial #9040.

Issue — the promised cross-reference is missing

The PR description says:

add a pointer from the GNU/Linux source-build page to the compiler-specific notes

but doc/openms/docs/about/installation/installation-on-gnu-linux.md is not touched by this PR. The user workflow in #9040 is: follow the Linux install page → cmake -DCMAKE_C_COMPILER=clang … → error. A user on that path will not organically navigate to manual/develop/custom-compilation.md, so the note is effectively filed where the target user does not read.

Could you either:

  1. add the pointer from installation-on-gnu-linux.md → the custom-compilation.md section (a one-line link near ## Build OpenMS from source), or
  2. move the note into installation-on-gnu-linux.md directly?

Either works; without one of them the fix is hard to discover for the exact user in #9040.

Nit

  • The trailing blank line removal at the end of custom-compilation.md is unrelated to the change — fine to leave, but please don't bundle unrelated cleanups in future.

Copy link
Copy Markdown
Contributor

Adversarial review result: no blocking issue found. The branch only updates AUTHORS and the custom compilation documentation for clang/OpenMP.

I did not find source-comment tracker references. No build/tests run locally.

@timosachsenberg
timosachsenberg merged commit 3aaff65 into OpenMS:develop Jul 9, 2026
40 checks passed
timosachsenberg added a commit that referenced this pull request Jul 10, 2026
Adds entries for PRs merged in the last couple of days that were missing
changelog coverage: the TOPPView precursor-highlighting feature (#9715),
the Xerces-C++ PRIVATE-linkage/XMLHandler API change (#9712, which also
supersedes a stale note left by the LibSVM PRIVATE-linkage entry), the
FragmentMassError variance fix (#9618), the PepXMLFile duplicate Comet
metavalue fix (#9089), and the clang/OpenMP and TextExporter USI
documentation additions (#9162, #9173).

Co-authored-by: Claude <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Missing OpenMP Mention in Tutorial

4 participants