About Anaconda Help Download Anaconda

conda-forge / packages / bazel-toolchain 0.2.1

Helper script to generate a crosscompile toolchain for Bazel with the currently activated compiler settings.

copied from cf-staging / bazel-toolchain

Installers

  • linux-ppc64le v0.2.1
  • linux-aarch64 v0.2.1
  • linux-64 v0.2.1
  • osx-64 v0.2.1
  • osx-arm64 v0.2.1

conda install

To install this package run one of the following:
conda install conda-forge::bazel-toolchain

Description

This package generates a crosstool toolchain for Bazel that uses the currently activated compilers / linker as defined by the environment variables. It does take various conda(-forge) specifics into account for this. In addition to generating a toolchain, it also sets various environment variables that need to be set for the toolchain to work. Especially you will need to pass in the correct ${TARGET_CPU} to ensure that cross-compiling also works.

In build.sh

source gen-bazel-toolchain bazel build --crosstooltop=//bazeltoolchain:toolchain --cpu ${TARGET_CPU} …


© 2024 Anaconda, Inc. All Rights Reserved. (v4.0.4) Legal | Privacy Policy