This repository was archived by the owner on Aug 4, 2021. It is now read-only.
Releases: samolisov/bazel-llvm-bridge
Releases · samolisov/bazel-llvm-bridge
Build 0.2 for LLVM's release 9
Build 0.2 for LLVM's release 9.
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_PREFIXis required. - The bridge can download a binary or source LLVM distribution and generate or use a pre-defined
BUILDfile 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 = "07b67c0c1410399f6ded54b0654a64bc5b512f1478bc5d94245a8541698e25b9",
strip_prefix = "bazel-llvm-bridge-release-9-02",
url = "https://github.com/samolisov/bazel-llvm-bridge/archive/release/9-02.zip",
)Build 0.2 for LLVM's release 8
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_PREFIXis required. - The bridge can download a binary or source LLVM distribution and generate or use a pre-defined
BUILDfile 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",
)Build 0.2 for upcoming LLVM's release 10
Build 0.2 for upcoming LLVM's release 10.
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_PREFIXis required. - The bridge can download a binary or source LLVM distribution and generate or use a pre-defined
BUILDfile 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 = "6a4b23ec794d2f4764fc15e2baebf2bae48c0c6bf97df83ba775c04511e91bca",
strip_prefix = "bazel-llvm-bridge-pre-release-10-02",
url = "https://github.com/samolisov/bazel-llvm-bridge/archive/pre-release/10-02.zip",
)Build 0.1 for LLVM's release 9
Build 0.1 for LLVM's release 9.
Changelog
- Implemented support for Z3 Theorem Prover. Just define the
Z3_INSTALL_PREFIXenvironment variable. - Implemented automatic detection for platform-provided libraries such as ncurses, pthread, zlib, etc. The Bazel LLVM Bridge reads the dependencies from the
lib/cmake/llvm/LLVMExports.cmakefile. This requires Bazel 0.25.0 and above. - The initial set of examples has been added:
llvm_bb_counterjust uses theLLVMBitReaderlibrary and its dependencies,llvm_exp_passesshows how to useLLVMCoreandclang_list_methodsdemonstrates how to deal with thelibclangshared library. - Added support for the
clangDependencyScanning,clangDirectoryWatcher,clangToolingRefactoring,clangToolingSyntax,LLVMBitstreamReader,LLVMDebugInfoGSYM,LLVMJITLink,LLVMRemarksstatic libraries. - Removed libraries
clangToolingRefactor,LLVMOptRemarksandLLVMX86AsmPrinterare removed from the bridge. - Added support for the
libclang-cppandLLVM-Cshared libraries.
How to use in WORKSPACE
http_archive(
name = "bazel_llvm_bridge",
sha256 = "9576aad44d9732e2bd2f33f0e36a2baafe3de846551aaa38e206563dc774f5c2",
strip_prefix = "bazel-llvm-bridge-release-9-01",
url = "https://github.com/samolisov/bazel-llvm-bridge/archive/release/9-01.zip",
)Build 0.1 for LLVM's release 8
Build 0.1 for LLVM's release 8.
Changelog
- Implemented support for Z3 Theorem Prover. Just define the
Z3_INSTALL_PREFIXenvironment variable. - Implemented automatic detection for platform-provided libraries such as ncurses, pthread, zlib, etc. The Bazel LLVM Bridge reads the dependencies from the
lib/cmake/llvm/LLVMExports.cmakefile. This requires Bazel 0.25.0 and above. - The initial set of examples has been added:
llvm_bb_counterjust uses theLLVMBitReaderlibrary and its dependencies,llvm_exp_passesshows how to useLLVMCoreandclang_list_methodsdemonstrates how to deal with thelibclangshared library.
How to use in WORKSPACE
http_archive(
name = "bazel_llvm_bridge",
sha256 = "640a55972267af640f7c1a42fe98fd9b804c4dbe9c156d5079c67b4f4c05e836",
strip_prefix = "bazel-llvm-bridge-release-8-01",
url = "https://github.com/samolisov/bazel-llvm-bridge/archive/release/8-01.zip",
)Build 0.1 for upcoming LLVM's release 10
Experimental build 0.1 for upcoming LLVM's release 10.
Changelog
- Implemented support for Z3 Theorem Prover. Just define the
Z3_INSTALL_PREFIXenvironment variable. - Implemented automatic detection for platform-provided libraries such as ncurses, pthread, zlib, etc. The Bazel LLVM Bridge reads the dependencies from the
lib/cmake/llvm/LLVMExports.cmakefile. This requires Bazel 0.25.0 and above. - The initial set of examples has been added:
llvm_bb_counterjust uses theLLVMBitReaderlibrary and its dependencies,llvm_exp_passesshows how to useLLVMCoreandclang_list_methodsdemonstrates how to deal with thelibclangshared library. - Added support for the
clangDependencyScanning,clangDirectoryWatcher,clangToolingRefactoring,clangToolingSyntax,LLVMBitstreamReader,LLVMDebugInfoGSYM,LLVMJITLink,LLVMRemarksstatic libraries. - Removed libraries
clangToolingRefactor,LLVMOptRemarksandLLVMX86AsmPrinterare removed from the bridge. - Added support for the
libclang-cppandLLVM-Cshared libraries.
How to use in WORKSPACE
http_archive(
name = "bazel_llvm_bridge",
sha256 = "84ec681de4fe305109623255d110a948cd5c88c45d584dac5dd9b9dc2a4fea8e",
strip_prefix = "bazel-llvm-bridge-pre-release-10-01",
url = "https://github.com/samolisov/bazel-llvm-bridge/archive/pre-release/10-01.zip",
)