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

[build] [refactor] Decouple GUI source files from taichi_core target #5676

Merged
merged 16 commits into from
Aug 10, 2022

Conversation

qiao-bo
Copy link
Contributor

@qiao-bo qiao-bo commented Aug 8, 2022

Related issue = #4832

  • Define taichi_ui and taichi_ui_vulkan targets
  • Move taichi/gui files into taichi/ui
  • Move field_info source files to taichi_core to break circular dependency between taichi_core and taichi_ui.

At the moment we only decouple source files for ease of AOT testing. The compilation dependency remain unchanged, namely the CPU GUI files (now under taichi/ui/gui) is always compiled and linked, while the GPU GGUI files (under taichi/ui except gui) are guarded by TI_WITH_GGUI. Later we can also separate the compilation of GUI files.

@netlify
Copy link

netlify bot commented Aug 8, 2022

Deploy Preview for docsite-preview canceled.

Name Link
🔨 Latest commit b77d87e
🔍 Latest deploy log https://app.netlify.com/sites/docsite-preview/deploys/62f33f614d06dd00089ed550

@qiao-bo qiao-bo marked this pull request as ready for review August 9, 2022 05:40
Copy link
Contributor

@jim19930609 jim19930609 left a comment

Choose a reason for hiding this comment

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

Many thanks!

@qiao-bo qiao-bo merged commit 10c9b27 into taichi-dev:master Aug 10, 2022
@qiao-bo qiao-bo deleted the gui_cmake branch August 10, 2022 06:08
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