10000 [CI] Add macos wheels by rsetaluri · Pull Request #5249 · llvm/circt · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[CI] Add macos wheels #5249

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

Merged
merged 3 commits into from
May 24, 2023
Merged

[CI] Add macos wheels #5249

merged 3 commits into from
May 24, 2023

Conversation

rsetaluri
Copy link
Contributor

No description provided.

@rsetaluri rsetaluri requested a review from mikeurbach May 23, 2023 20:22
@rsetaluri
Copy link
Contributor Author
rsetaluri commented May 23, 2023

This seems to be working here: https://github.com/llvm/circt/actions/runs/5060542988, but if I look at other runs (https://github.com/llvm/circt/actions/runs/5009139934), I see errors. So it looks like there are transient errors possible...

@rsetaluri
Copy link
Contributor Author

This seems to be working here: https://github.com/llvm/circt/actions/runs/5060542988, but if I look at other runs (https://github.com/llvm/circt/actions/runs/5009139934), I see errors. So it looks like there are transient errors possible...

Digging into it, I see actual C++ build errors: https://github.com/llvm/circt/actions/runs/5009139934/jobs/8977750389#step:6:2362. Doesn't seem like anything to do with macos/python/buildwheel. Any idea why this comes up? It also seems non-deterministic, i.e. it works sometimes.

@mikeurbach
Copy link
Contributor

This error looks like a basic dependency issue, I can take a look at it or @mortbopet , @RamirezLucas , and @Dinistro might have an idea, since it is on the conversion to handshake. Probably this is just exposed by this environment for some reason.

In general looks great, thanks for trying this out and testing it!

@mikeurbach
Copy link
Contributor

Looks like this line is just missing in StandardToHandshake:

DEPENDS
CIRCTConversionPassIncGen
. I'll fix that really quick and if you rebase/merge main you should be able to test successfully.

mikeurbach added a commit that referenced this pull request May 23, 2023
This dependency is needed to generate the shared Passes.{h,cpp}.inc
files used by all conversion passes. Add it in a few places it was
missing. This should resolve flaky compile errors, like we saw in
#5249.
@mikeurbach
Copy link
Contributor

Should be fixed after 9d924a6.

Copy link
Contributor
@mikeurbach mikeurbach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I guess to be sure can you please rebase/merge main and kick off another run of CI to be sure the builds all succeed?

@rsetaluri
Copy link
Contributor Author

Thanks for the prompt action @mikeurbach ! Rebased. See https://github.com/llvm/circt/actions/runs/5062704176 for the latest run.

@rsetaluri
Copy link
Contributor Author

@mikeurbach also, once this is in, what is the path to making a firtool release to get the packages to pypi?

@mikeurbach
Copy link
Contributor

We have regular firtool releases created weekly by folks from SiFive, so this will be included in the next release and the wheels pushed to PyPI when it is cut.

@rsetaluri rsetaluri merged commit 79cd1ec into main May 24, 2023
@rsetaluri rsetaluri deleted the add-macos-wheels branch May 24, 2023 04:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0