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

[circt-lec] Clean up z3 includes #5186

Merged
merged 1 commit into from
May 15, 2023
Merged

[circt-lec] Clean up z3 includes #5186

merged 1 commit into from
May 15, 2023

Conversation

rwy7
Copy link
Contributor

@rwy7 rwy7 commented May 12, 2023

Add the z3 include directories as system includes, not normal includes, to the circt-lec tool. Including the z3 headers this way will prevent clang from putting out warnings on code in the z3 headers.

Also, remove some intermediate variables (CIRCT_LEC_{INCLUDES,LIBS,SOURCES}).

Add the z3 include directories as system includes, not normal includes, to the
circt-lec tool.  Including the z3 headers this way will prevent clang from
putting out warnings on code in the z3 headers.
@rwy7 rwy7 changed the title [circt-lec] Clean up includes and linking [circt-lec] Clean up z3 includes May 12, 2023
Copy link
Contributor

@dtzSiFive dtzSiFive left a comment

Choose a reason for hiding this comment

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

Awesome, thanks! LGTM but haven't tested locally.

Do you happen to know if we have a Z3-enabled configuration in CI?

@maerhart
Copy link
Member

Do you happen to know if we have a Z3-enabled configuration in CI?

Z3 is installed on the CI image and circt-lec tests are run as part of the integration tests (also the short ones in each PR).

@rwy7 rwy7 merged commit 620fb72 into llvm:main May 15, 2023
@rwy7 rwy7 deleted the circt-lec-cleanup branch May 15, 2023 14:40
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.

3 participants