Skip to content

Commit

Permalink
Remove the CodegenSparseFMI generator.
Browse files Browse the repository at this point in the history
  - This generator was added by
    15a8310

    It has not had any (relevant) updates or fixes since then apart from
    making sure it compiles when other irrelevant changes were introduced
    to other components of the compiler.

  - If it turns out it is used by someone, you can just revert this commit.
  • Loading branch information
mahge committed Nov 19, 2020
1 parent ac1e467 commit 5defbb3
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 5,156 deletions.
1 change: 0 additions & 1 deletion OMCompiler/Compiler/.cmake/meta_modelica_source_list.cmake
Expand Up @@ -412,7 +412,6 @@ set(OMC_MM_BACKEND_SOURCES
${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenFMUCppHpcomOld.mo
${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenJS.mo
${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenMidToC.mo
${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenSparseFMI.mo
${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenUtilSimulation.mo
${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenXML.mo
${CMAKE_CURRENT_SOURCE_DIR}/Template/GraphvizDump.mo
Expand Down
3 changes: 0 additions & 3 deletions OMCompiler/Compiler/.cmake/template_compilation.cmake
Expand Up @@ -264,9 +264,6 @@ omc_add_template_target(SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/Template/SimCodeDump.
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenUtil.tpl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Template/SCodeDumpTpl.tpl)

omc_add_template_target(SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenSparseFMI.tpl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Template/SimCodeTV.mo)

omc_add_template_target(SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/Template/CodegenXML.tpl
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/Template/SimCodeTV.mo)

Expand Down
6 changes: 0 additions & 6 deletions OMCompiler/Compiler/SimCode/SimCodeMain.mo
Expand Up @@ -67,7 +67,6 @@ import CodegenFMU;
import CodegenFMUCppOld;
import CodegenOMSICpp;
import CodegenFMUCppHpcomOld;
import CodegenSparseFMI;
import CodegenCppOld;
import CodegenCppHpcomOld;
import CodegenOMSIC;
Expand Down Expand Up @@ -514,11 +513,6 @@ algorithm
end for;
then ();


case "sfmi" equation
Tpl.tplNoret(function CodegenSparseFMI.translateModel(in_a_FMUVersion="2.0", in_a_FMUType="me", in_a_sourceFiles={}), simCode);
then ();

case "C"
algorithm
guid := System.getUUIDStr();
Expand Down

0 comments on commit 5defbb3

Please sign in to comment.