Skip to content

Updated build for external dependencies#2987

Closed
mathgeekcoder wants to merge 1 commit intoERGO-Code:mods-metisfrom
mathgeekcoder:mods-metis-luke
Closed

Updated build for external dependencies#2987
mathgeekcoder wants to merge 1 commit intoERGO-Code:mods-metisfrom
mathgeekcoder:mods-metis-luke

Conversation

@mathgeekcoder
Copy link
Copy Markdown
Contributor

Note: this PR is for mods-metis branch

  • Added RPATH for linux/osx to find library
  • Support for vcpkg BLAS on linux (OpenBLAS) and osx (accelerate, not tested - might not actually work as is)
  • Fixed type redefinition warning on metis
  • Fixed template-depth compile warning on C (not C++) files
  • Minor code cleanup (e.g., removed debug messages)
  • Added thread safety for dependency loading
  • Added highspy._core.getExtrasLoadStatus for debugging the library load
  • Added highspy COMPONENT to avoid pointless copy of header files
  • Tested with BUILD_SHARED_LIBS=ON/OFF and BUILD_SHARED_EXTRAS_LIB=ON/OFF and HIPO=ON/OFF (windows and linux)
  • Tested highspy and highspy-extras (windows and linux)

* Added RPATH for linux/osx to find library
* Support for vcpkg BLAS on linux (OpenBLAS) and osx (accelerate, not tested - might not actually work as is)
* Fixed type redefinition warning on metis
* Fixed `template-depth` compile warning on C (not C++) files
* Minor code cleanup (e.g., removed debug messages)
* Added thread safety for dependency loading
* Added `highspy._core.getExtrasLoadStatus` for debugging the library load
* Added highspy COMPONENT to avoid pointless copy of header files
* Tested with BUILD_SHARED_LIBS=ON/OFF and BUILD_SHARED_EXTRAS_LIB=ON/OFF and HIPO=ON/OFF  (windows and linux)
* Tested highspy and highspy-extras (windows and linux)
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 22, 2026

Codecov Report

❌ Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (mods-metis@8ac1584). Learn more about missing BASE report.

Files with missing lines Patch % Lines
highs/HighsExternalDeps.h 0.00% 1 Missing ⚠️
Additional details and impacted files
@@              Coverage Diff              @@
##             mods-metis    #2987   +/-   ##
=============================================
  Coverage              ?   81.65%           
=============================================
  Files                 ?      349           
  Lines                 ?    89050           
  Branches              ?        0           
=============================================
  Hits                  ?    72713           
  Misses                ?    16337           
  Partials              ?        0           

☔ 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.

@mathgeekcoder
Copy link
Copy Markdown
Contributor Author

Wow, so many failures. Perhaps I'm working on the wrong dev branch.

@mathgeekcoder mathgeekcoder marked this pull request as draft April 22, 2026 23:05
@mathgeekcoder
Copy link
Copy Markdown
Contributor Author

Closing and replacing with #2989

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.

1 participant