Skip to content

Commit

Permalink
- revision 6155 of MSL has changed "Lapack" Library
Browse files Browse the repository at this point in the history
  annotations to "lapack" so we need to handle both cases.

git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@15783 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adrpo committed Apr 10, 2013
1 parent 84e7ec8 commit d087b7b
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion Compiler/BackEnd/SimCodeUtil.mo
Original file line number Diff line number Diff line change
Expand Up @@ -9038,7 +9038,11 @@ algorithm
strs := matchcontinue exp
local
String str;


// seems lapack can show on Lapack form or lapack (different case) (MLS revision 6155)
case Absyn.STRING("lapack")
then getLibraryStringInMSVCFormat(Absyn.STRING("Lapack"));

// Lapack on MinGW/Windows is linked against f2c
case Absyn.STRING("Lapack")
then {"lapack_win32_MT.lib", "f2c.lib"};
Expand Down Expand Up @@ -9088,6 +9092,10 @@ algorithm
local
String str;

// seems lapack can show on Lapack form or lapack (different case) (MLS revision 6155)
case Absyn.STRING("lapack")
then getLibraryStringInGccFormat(Absyn.STRING("Lapack"));

// Lapack on MinGW/Windows is linked against f2c
case Absyn.STRING("Lapack")
equation
Expand Down

0 comments on commit d087b7b

Please sign in to comment.