-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update FindGUROBI.cmake to support Linux ARM64 GUROBI #220
base: master
Are you sure you want to change the base?
Conversation
GUROBI adds support for Linux ARM64 in v. 10.0.0+. Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
The PR is set as a |
@@ -18,13 +18,13 @@ if(EXISTS ${GUROBI_HOME} ) | |||
string(STRIP ${GUROBI_VER} GUROBI_VER ) | |||
message( "-- The retrieved version of Gurobi is: " ${GUROBI_VER} ) | |||
|
|||
string(SUBSTRING ${GUROBI_VER} 0 2 GUROBI_VER_LIB) | |||
string(SUBSTRING ${GUROBI_VER} 0 3 GUROBI_VER_LIB) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems for GUROBI v11 there is no need to cut the last digit, i.e. 110
needs to stay 110
.
|
||
message( "-- The retrieved name of version-specific library is " gurobi ${GUROBI_VER_LIB} ) | ||
|
||
file( GLOB GUROBI_LIB_FILE ${GUROBI_HOME}/linux64/lib/libgurobi${GUROBI_VER_LIB}.* ) | ||
file( GLOB GUROBI_LIB_FILE ${GUROBI_HOME}/*linux64/lib/libgurobi${GUROBI_VER_LIB}.* ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
GUROBI for Linux ARM64 uses .../armlinux64/**
as a base folder.
I wanted to add support for Linux ARM64 to Bioconda/hatchet - bioconda/bioconda-recipes#47963
I guess some more changes are needed in HATCHet to fully upgrade to GUROBI 11.x ?! |
GUROBI adds support for Linux ARM64 in v. 10.0.0+.