Uno
Uno copied to clipboard
[CI] Compile Uno with HiGHS
close #209
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?
Latest progress:
build-windows.yml- passed the right path to the HiGHS directory, HiGHS is now found but not properly linked. Had to drop
x86builds. - the
blasandlapacklibraries are found but not properly linked. Perhaps a conflict between MinGW32 and MinGW64?
- passed the right path to the HiGHS directory, HiGHS is now found but not properly linked. Had to drop
build-macos.ymlmacos-latestis only available forarm64. 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
__mcountforarm64. It looks like it comes from incorrect flags-pgin Debug mode. The fix for Clang was merged inmainin https://github.com/cvanaret/Uno/commit/57a5255bbd3627b340f512cf27e128a626036f02.
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.