Use a find-module to locate Dawn/WebGPU by alexreinking · Pull Request #7525 · halide/Halide · GitHub
Skip to content

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

Merged
steven-johnson merged 5 commits into
srj/webgpu-env-varsfrom
webgpu-find-module
Apr 20, 2023
Merged

Use a find-module to locate Dawn/WebGPU#7525
steven-johnson merged 5 commits into
srj/webgpu-env-varsfrom
webgpu-find-module

Conversation

@alexreinking

Copy link
Copy Markdown
Member

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

Comment on lines +721 to +722

Copy link
Copy Markdown
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
Copy Markdown
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

Copy link
Copy Markdown
Contributor

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

@alexreinking

Copy link
Copy Markdown
Member Author

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

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

@steven-johnson

Copy link
Copy Markdown
Contributor

@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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants