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

Use a find-module to locate Dawn/WebGPU #7525

Merged
merged 5 commits into from
Apr 20, 2023

Conversation

alexreinking
Copy link
Member

Might want to add some documentation in README_webgpu.md for how AOT compilation works.

Comment on lines +721 to +722
find_package(Halide_WebGPU REQUIRED)
target_link_libraries(${TARGET} ${VISIBILITY} Halide::WebGPU)
Copy link
Member Author

Choose a reason for hiding this comment

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

If Dawn provided a first-party CMake package, we would only need to write:

find_package(Dawn REQUIRED)
target_link_libraries(${TARGET} ${VISIBILITY} Dawn::Dawn)

here, and there would be no other changes.

Copy link
Contributor

Choose a reason for hiding this comment

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

Tagging @jrprice as an FYI.

@steven-johnson steven-johnson added the buildbot_test_everything Buildbots should run all available tests on this PR (unless build_test_nothing is set). label Apr 19, 2023
@steven-johnson
Copy link
Contributor

...why aren't the buildbots running on this?

@alexreinking
Copy link
Member Author

...why aren't the buildbots running on this?

Maybe because it's a pr-to-pr?

@steven-johnson
Copy link
Contributor

...why aren't the buildbots running on this?

Maybe because it's a pr-to-pr?

ahhh, gotcha, let's land it then I guess

@steven-johnson steven-johnson merged commit 8f09166 into srj/webgpu-env-vars Apr 20, 2023
@steven-johnson steven-johnson deleted the webgpu-find-module branch April 20, 2023 01:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buildbot_test_everything Buildbots should run all available tests on this PR (unless build_test_nothing is set).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants