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

org_llvm_openmp: Add omp-tools.h to bundled.BUILD.bazel #162

Merged
merged 1 commit into from
May 25, 2023

Conversation

lpawelcz
Copy link
Collaborator

This PR fixes org_llvm_openmp build failures I encountered while trying to run target based on rule place_and_route.

BUILD file for openmp didn't specify omp-tools.h as its dependency. This header is present in the codebase as omp-tools.h.var and it is renamed to required omp-tools.h by the cmake flow. In order to fix this in bazel rules I added genrule for copying the file and specified the missing dependency.

@QuantamHD
Copy link
Collaborator

/gcbrun

@QuantamHD
Copy link
Collaborator

Thanks for contributing!

@lpawelcz
Copy link
Collaborator Author

No problem @QuantamHD, I'm glad that I could help with that :) This problem is in fact one of the blockers for google/xls#975 (as well as #164 and #165).

It looks like build and test in CI have passed. Please let me know if this is OK to merge or if anything needs to be changed here.

@QuantamHD
Copy link
Collaborator

No changes needed thanks again..

@QuantamHD QuantamHD merged commit af96df4 into hdl:main May 25, 2023
@lpawelcz lpawelcz deleted the fix-openmp branch May 26, 2023 07:55
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