Skip to content

Commit

Permalink
- Fixed lapack linking for FMU code generation.
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@11882 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
adeas31 committed May 9, 2012
1 parent 8040c51 commit 05c977e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Compiler/susan_codegen/SimCode/CodegenFMU.tpl
Expand Up @@ -1042,7 +1042,7 @@ case SIMCODE(modelInfo=MODELINFO(__), makefileParams=MAKEFILE_PARAMS(__), simula
PLAT34 = <%makefileParams.platform%>
CFLAGS=$(CFLAGS_BASED_ON_INIT_FILE) -I"<%makefileParams.omhome%>/include/omc" <%makefileParams.cflags%> <%match sopt case SOME(s as SIMULATION_SETTINGS(__)) then s.cflags /* From the simulate() command */%>
CPPFLAGS=-I"<%makefileParams.omhome%>/include/omc" -I. <%dirExtra%> <%makefileParams.includes ; separator=" "%>
SUNDIALSLIBS=-lsundials_kinsol -lsundials_nvecserial -llapack
SUNDIALSLIBS=-lsundials_kinsol -lsundials_nvecserial <% if stringEq(makefileParams.platform, "win32") then "-llapack-mingw" else "-llapack"%>
LDFLAGS=-L"<%makefileParams.omhome%>/lib/omc" -lSimulationRuntimeC -linteractive <%makefileParams.ldflags%> <%makefileParams.senddatalibs%> $(SUNDIALSLIBS)
PERL=perl
MAINFILE=<%fileNamePrefix%>_FMU<% if acceptMetaModelicaGrammar() then ".conv"%>.c
Expand Down

0 comments on commit 05c977e

Please sign in to comment.