You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ew 🤮That shouldn't be that way and needs cleanuphal/vulkanRuntime Vulkan GPU HAL backendinfrastructureRelating to build systems, CI, or testingruntime/apiIREE's public C runtime API and iree-run-module
These submodules should be removed. Either we fetch them as needed (in the WORKSPACE for bazel) or we find them as any other project does (find_package(SDL2 REQUIRED)).
Having things like this as direct dependencies makes it really difficult to integrate into other projects as if the versions differ things go haywire. We also need to fight the Google tendency towards monorepo: a google/iree-samples-vulkan repository is where things like the gui demo belong.
remove third_party/sdl2 and replace with WORKSPACE fetch and find_package
remove third_party/dear_imgui
create a new google/iree-samples-vulkan repo
move the vulkan gui demo into that
(this ~1000 lines of build config and not robust today, and there's no need to make it robust as it's not part of the core and shouldn't be inflicted upon people just trying to build/install)
I think we can probably kill the bazel versions of these and go cmake only - we have vulkan+bazel coverage for those people who would use it (headless stuff, tools, etc) and I doubt anyone writing GUI apps/games uses bazel. cmake only with sdl2 and dear_imgui fetched from find_package (which we can just say is vcpkg) would let us drop a lot of this. I can start by stripping the bazel files and submodule for sdl2.
ew 🤮That shouldn't be that way and needs cleanuphal/vulkanRuntime Vulkan GPU HAL backendinfrastructureRelating to build systems, CI, or testingruntime/apiIREE's public C runtime API and iree-run-module
Activity
benvanik commentedon Nov 17, 2020
I think we can probably kill the bazel versions of these and go cmake only - we have vulkan+bazel coverage for those people who would use it (headless stuff, tools, etc) and I doubt anyone writing GUI apps/games uses bazel. cmake only with sdl2 and dear_imgui fetched from find_package (which we can just say is vcpkg) would let us drop a lot of this. I can start by stripping the bazel files and submodule for sdl2.
I really don't like it, but sdl2 is listed as a "core dependency" here: https://github.com/google/iree/blob/f941efb95dafb3ef4ba5cf6fbff0e247318b39de/build_tools%2Fdocker%2Fbase%2FDockerfile#L28 - so at least the bots will have it installed (until we get vcpkg setup).
Move SDL2 and Dear ImGui submodules to CMake find_package. (#4130)