Uno icon indicating copy to clipboard operation
Uno copied to clipboard

[CI] Compile Uno with HiGHS

Open amontoison opened this issue 5 months ago • 3 comments

close #209

amontoison avatar Jul 11 '25 22:07 amontoison

Hi @amontoison, can you rebase and change: if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang") to if (NOT CMAKE_CXX_COMPILER_ID STREQUAL "Clang" AND NOT CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64") in the CMakeLists?

cvanaret avatar Jul 31 '25 17:07 cvanaret

Latest progress:

  • build-windows.yml
    • passed the right path to the HiGHS directory, HiGHS is now found but not properly linked. Had to drop x86 builds.
    • the blas and lapack libraries are found but not properly linked. Perhaps a conflict between MinGW32 and MinGW64?
  • build-macos.yml
    • macos-latest is only available for arm64. Kept only the two configurations (macos-latest, arm64) and (macos-13, x64).
    • passed the right path to the HiGHS directory, HiGHS is now found but not properly linked.
    • still undefined symbols such as __mcount for arm64. It looks like it comes from incorrect flags -pg in Debug mode. The fix for Clang was merged in main in https://github.com/cvanaret/Uno/commit/57a5255bbd3627b340f512cf27e128a626036f02.

cvanaret avatar Jul 31 '25 21:07 cvanaret

So, we can link HiGHS without errors on macOS, provided we compile with Clang. This also assumes we ditch BQPD and MUMPS so that we don't have to bring in a Fortran compiler.

cvanaret avatar Oct 17 '25 16:10 cvanaret