Example of building a Bazel target against multiple execution architectures with support for transitioning on both internal and external, nix-provided packages.
- Build
example/ssl
package forx86_64
bazel run //example:ssl --platforms=//platforms:x86_64-linux
- Build
example/ssl
package foraarch64-linux
bazel run //example:ssl --platforms=//platforms:aarch64-linux
- Build
example/ssl
package for bothx86_64
andaarch64
by transitioning on--platform
flag
bazel build :split_ssl