This repository has been archived by the owner on Aug 4, 2021. It is now read-only.
Build 0.2 for LLVM's release 8
samolisov
released this
21 Oct 14:23
·
105 commits
to master
since this release
Build 0.2 for LLVM's release 8.
Changelog
- Added the full support for LLVM targets other that X86. The official supported list of targets is included. A number of wrapper Starlark functions are defined to protect the rules from using the non-supported targets.
- Implemented automatic detection of libraries the local LLVM installation is depend on (including the Z3 Theorem Prover. No additional environment variables such as
Z3_INSTALL_PREFIX
is required. - The bridge can download a binary or source LLVM distribution and generate or use a pre-defined
BUILD
file for it. This feature allows using of the bridge in, for example, Tensorflow to build LLVM from sources or download a pre-built package. Also some names of generated targets have been changed to be aligned with targets from Tensorflow. - Added dealing with the libc++ standard library: the library binaries can be used as dependencies and there is an array of compiler options to enable libc++ as default standard library for a rule.
How to use in WORKSPACE
http_archive(
name = "bazel_llvm_bridge",
sha256 = "9bdc2554f742cc6618621cfbed602be3414fea097e46b32d6cc04215bcb63b1b",
strip_prefix = "bazel-llvm-bridge-release-8-02",
url = "https://github.com/samolisov/bazel-llvm-bridge/archive/release/8-02.zip",
)