Skip to content

Commit

Permalink
Merge pull request #2415 from lf-lang/fed-no-compile
Browse files Browse the repository at this point in the history
Corrected behavior of federated code generation under `--no-compile` flag
  • Loading branch information
lhstrh authored Sep 29, 2024
2 parents 163051f + 0c30bcf commit b00aafe
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,6 @@ public boolean doGenerate(Resource resource, LFGeneratorContext context) throws
federates.stream().map(fed -> fed.name).collect(Collectors.toList())));
}

// Do not invoke target code generators if --no-compile flag is used.
if (context.getTargetConfig().get(NoCompileProperty.INSTANCE)) {
context.finish(Status.GENERATED, lf2lfCodeMapMap);
return false;
}

// If the RTI is to be built locally, set up a build environment for it.
prepareRtiBuildEnvironment(context);

Expand Down

0 comments on commit b00aafe

Please sign in to comment.