Skip to content
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

Repaired export-dependency-graph property and dropped unsupported export-to-yaml property #2436

Merged
merged 1 commit into from
Nov 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions core/src/main/java/org/lflang/target/Target.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
import org.lflang.target.property.CoordinationProperty;
import org.lflang.target.property.DockerProperty;
import org.lflang.target.property.ExportDependencyGraphProperty;
import org.lflang.target.property.ExportToYamlProperty;
import org.lflang.target.property.ExternalRuntimePathProperty;
import org.lflang.target.property.FilesProperty;
import org.lflang.target.property.KeepaliveProperty;
Expand Down Expand Up @@ -612,7 +611,6 @@ public void initialize(TargetConfig config) {
CompilerProperty.INSTANCE,
DockerProperty.INSTANCE,
ExportDependencyGraphProperty.INSTANCE,
ExportToYamlProperty.INSTANCE,
ExternalRuntimePathProperty.INSTANCE,
NoRuntimeValidationProperty.INSTANCE,
PrintStatisticsProperty.INSTANCE,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import org.lflang.inferredType
import org.lflang.lf.Parameter
import org.lflang.lf.Reactor
import org.lflang.target.property.ExportDependencyGraphProperty
import org.lflang.target.property.ExportToYamlProperty
import org.lflang.target.property.FastProperty
import org.lflang.target.property.TimeOutProperty
import org.lflang.target.property.WorkersProperty
Expand Down Expand Up @@ -101,12 +100,11 @@ class CppStandaloneMainGenerator(
|
| // assemble reactor program
| e.assemble();
${" |".. if (targetConfig.get(ExportDependencyGraphProperty.INSTANCE)) "e.export_dependency_graph(\"${main.name}.dot\");" else ""}
${" |".. if (targetConfig.get(ExportToYamlProperty.INSTANCE)) "e.dump_to_yaml(\"${main.name}.yaml\");" else ""}
|
| // start execution
| auto thread = e.startup();
| thread.join();
${" |".. if (targetConfig.get(ExportDependencyGraphProperty.INSTANCE)) "e.export_dependency_graph(\"${main.name}.dot\");" else ""}
| return 0;
|}
""".trimMargin()
Expand Down
Loading