Replies: 1 comment 2 replies
-
The current answer is no. There is no conditional dependency support in MODULE.bazel. You could have the
But then your lockfile has to be updated separately on each platfrom. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it possible to have some sort of switch in MODULE.bazel files?
I'm using conan, and have different use_repo() calls for linux and windows
Is there a way to toggle between these two calls?
use_repo(load_conan_dependencies, "linux_lib", "common_lib", ...)
use_repo(load_conan_dependencies, "windows_lib", "common_lib", ...)
Beta Was this translation helpful? Give feedback.
All reactions