Skip to content

Add HPC compatible build#431

Open
Grufoony wants to merge 4 commits intomainfrom
hpcbuild2
Open

Add HPC compatible build#431
Grufoony wants to merge 4 commits intomainfrom
hpcbuild2

Conversation

@Grufoony
Copy link
Copy Markdown
Collaborator

No description provided.

@Grufoony Grufoony requested a review from Copilot March 24, 2026 11:59
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds an “HPC build” mode that disables architecture-specific/aggressive compiler optimizations and wires it through packaging/docs/CI to produce a more portable wheel artifact.

Changes:

  • Add DSF_HPC_BUILD CMake option and propagate it from setup.py via env var.
  • Update CI workflow to build standard + HPC variants and rename HPC wheel artifacts.
  • Document the HPC variant installation/build steps in the README.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.

File Description
setup.py Reads DSF_HPC_BUILD env var and forwards -DDSF_HPC_BUILD=ON to CMake
CMakeLists.txt Adds DSF_HPC_BUILD option and switches Release optimization flags accordingly
.github/workflows/pypi.yml Builds a matrix of standard/hpc wheels and renames HPC wheels with _hpc suffix
README.md Adds documentation for HPC wheel variant and local HPC builds

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 24, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.27%. Comparing base (d93e300) to head (92fd66d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #431   +/-   ##
=======================================
  Coverage   87.27%   87.27%           
=======================================
  Files          52       52           
  Lines        6461     6461           
  Branches      717      717           
=======================================
  Hits         5639     5639           
  Misses        803      803           
  Partials       19       19           
Flag Coverage Δ
unittests 87.27% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Grufoony Grufoony force-pushed the hpcbuild2 branch 2 times, most recently from 69f7a58 to 1cc1000 Compare March 24, 2026 13:06
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