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

no ir file generated when set extra_output_files = [ "ir" ] #4809

Closed
2 tasks
robinsdan opened this issue Apr 23, 2023 · 5 comments · Fixed by foundry-rs/compilers#82
Closed
2 tasks

no ir file generated when set extra_output_files = [ "ir" ] #4809

robinsdan opened this issue Apr 23, 2023 · 5 comments · Fixed by foundry-rs/compilers#82
Assignees
Labels
C-forge Command: forge Cmd-forge-build Command: forge build T-bug Type: bug

Comments

@robinsdan
Copy link

Component

Forge

Have you ensured that all of these are up to date?

  • Foundry
  • Foundryup

What version of Foundry are you on?

forge 0.2.0 (dedc31e 2023-04-23T07:49:04.825009295Z)

What command(s) is the bug in?

forge build

Operating System

Linux

Describe the bug

after invoke forge build, no .ir files generated in the out dir.
but when set extra_output_files = ["irOptimized" ], the .iropt file is generated.

@robinsdan robinsdan added the T-bug Type: bug label Apr 23, 2023
@gakonst gakonst added this to Foundry Apr 23, 2023
@github-project-automation github-project-automation bot moved this to Todo in Foundry Apr 23, 2023
@mds1
Copy link
Collaborator

mds1 commented Apr 24, 2023

Sorry, what is the issue here? By default the IR is not generated, it must be specified like you did, then the file is generated

@robinsdan
Copy link
Author

@mds1 I have set extra_output_files = [ "ir" ], no IR file generated.

@mds1
Copy link
Collaborator

mds1 commented Apr 25, 2023

Ah, yea according to the docs this should be supported, but you're right, I was able to reproduce this. cc @mattsse

@mds1 mds1 added C-forge Command: forge Cmd-forge-build Command: forge build labels Apr 25, 2023
@omMora
Copy link

omMora commented Jun 6, 2023

Quick work around: include both options

extra_output = ['ir']
extra_output_files = ['ir']

@Evalir Evalir self-assigned this Jun 6, 2023
@Evalir
Copy link
Member

Evalir commented Jun 6, 2023

will look at this over the next few days

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-forge Command: forge Cmd-forge-build Command: forge build T-bug Type: bug
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

4 participants