Releases: bazel-contrib/toolchains_llvm
Releases Β· bazel-contrib/toolchains_llvm
Release 0.8
Changes since 0.7
- Do not depend on gcc or libgcc install
- Fix default key logic in urls attribute
- Properly handle system paths for LLVM distribution
- Fix use of absolute paths with sysroots
- Support for Pop!_OS and RHEL in LLVM fetch logic
- Small code and documentation cleanups
- Fix support for Bazel 4.2
- Support for LLVM 14
- Minor bug fixes
Release 0.7
Changes since release 0.6.3:
- Ability to override compiler and linker flags from different bazel feature groups (c0e0937).
- URLs for LLVM archives as an alternative to
toolchain_roots
throughhttp_archive
(c728048). - stdlib implementation and cxx_standard can now be specified (38ab9f6 and 5105e05).
- Convenience targets for
libomp
,clang-format
andllvm-cov
in@llvm_toolchain//
(7e2edd4 and c728048). - [breaking] lpthread and ldl are now removed from default
link_libs
(7580bbe).
Release 0.6.3
Changes since 0.6.2:
- The platform targets in
platforms/
are now public (#107, thanks @dududko) dwp
,objcopy
, andstrip
binaries are symlinked correctly; this fixes.stripped
and.dwp
targets (#108, thanks @fishcakez)- Makevars support has been dropped (see this commit)
- LLVM 13 distributions have been added (#113, thanks @yasushi-saito)
- LLVM 12.0.1 distributions have also been added
- Workarounds for old
libtool
versions that don't support parameter files have been added (#115)
New Contributors
- @dududko made their first contribution in #107
- @fishcakez made their first contribution in #108
Full Diff: 0.6.2...0.6.3
Release 0.6
Changes since release 0.5:
- [breaking] Minimum required bazel version is now 4.0.0.
- [breaking] Attributes of
llvm_toolchain
rule have been changed or deleted. - Support for LLVM versions up to 12.0.0.
- We now track cc_toolchain_config from @bazel_tools giving us LTO, etc. (thanks @rrbutani).
- LLVM distribution and toolchain configuration are now separate repos.
- Cross-compilation is now supported.
- Better and more detection of host OS.
- Mirror URLs are now tried first.
- netrc auth support for private mirror for LLVM downloads.
- Support and test compatibility with rules_foreign_cc.
- Minor fixes.
Release 0.5
Changes since release 0.4:
- Compatibility updates for bazel versions up till 2.1.1.
- Support for LLVM versions 8.0.0 and 9.0.0.
- Attribute for builtin include directories (53ce45e).
- Undefine FORTIFY_SOURCE instead of defining as 0 (9c20deb).
- Omit --gc-sections from macOS optimized builds (0cf1d78).
- Add '-undefined dynamic_lookup' to macOS linker (64bb7aa).
- Toolchain registration (if toolchain resolution is enabled through
--incompatible_enable_cc_toolchain_resolution
).
Release 0.4
- Compatibility updates for newer bazel versions. Tested with bazel 0.19.1 and 0.22.
- Compatibility fixes for github.com/bazelbuild/rules_go.
- Support for a custom sysroot.
- Default macOS sysroot from
xcrun
(needed for Mojave) - Use lld as linker in linux as default (needs LLVM 7+)
Release 0.1
The toolchain is now ready for general use.
Please keep in mind that the aim here is to provide an example configuration. You may have to fork your own branch for tweaks to suit your setup.