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

Add tvmOnly compilation mode to build #2344

Open
jeshecdom opened this issue Mar 10, 2025 · 2 comments
Open

Add tvmOnly compilation mode to build #2344

jeshecdom opened this issue Mar 10, 2025 · 2 comments
Labels
kind: testing Tests (*.spec.ts) scope: pipeline Stages of Tact compiler: parsing, ..., typechecking, codegen, etc. (src/pipeline)

Comments

@jeshecdom
Copy link
Contributor

We need to add a compilation mode to build in which compilation stops immediately after the TVM compilation step, i.e., it ignores the packaging, bindings and reports steps. There is currently a funcOnly, but it skips the TVM compilation step on each contract.

Again, this is necessary to avoid copying the code of build for compiling autogenerated ASTs in testing tasks. Related issue: #2343.

@jeshecdom jeshecdom added the kind: testing Tests (*.spec.ts) label Mar 10, 2025
@novusnota novusnota added the scope: pipeline Stages of Tact compiler: parsing, ..., typechecking, codegen, etc. (src/pipeline) label Mar 10, 2025
@novusnota
Copy link
Member

Or bocOnly, because the end result is a .boc file. Plus, we could add some relevant CLI flags, see: #136 (comment)

@jeshecdom
Copy link
Contributor Author

We reached a temporal solution:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: testing Tests (*.spec.ts) scope: pipeline Stages of Tact compiler: parsing, ..., typechecking, codegen, etc. (src/pipeline)
Projects
None yet
Development

No branches or pull requests

2 participants