We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
toolchains
configure_make_variant
I'm trying to use rules_foreign_cc to build qemu. And at the moment, I'd like to use the preinstalled pkgconfig and preinstalled meson toolchains.
pkgconfig
meson
Unfortunately, it seems like configure_make_variant only allows for me to pass in a single toolchain, so I can't do something like:
configure_make_variant( name = "qemu", lib_source = "@qemu_dist//:all_srcs", toolchains = ["@rules_foreign_cc//toolchains:preinstalled_meson_toolchain", "@rules_foreign_cc//toolchains:preinstalled_pkgconfig_toolchain"] )
Alternatively, if there was a way to compose toolchains, the existing toolchain parameter might work:
toolchain
configure_make_variant( name = "qemu", lib_source = "@qemu_dist//:all_srcs", toolchain = compose_toolchains(["@rules_foreign_cc//toolchains:preinstalled_meson_toolchain", "@rules_foreign_cc//toolchains:preinstalled_pkgconfig_toolchain"]) )
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm trying to use rules_foreign_cc to build qemu. And at the moment, I'd like to use the preinstalled
pkgconfig
and preinstalledmeson
toolchains.Unfortunately, it seems like
configure_make_variant
only allows for me to pass in a single toolchain, so I can't do something like:Alternatively, if there was a way to compose toolchains, the existing
toolchain
parameter might work:The text was updated successfully, but these errors were encountered: