What's Changed
TODO
Using Bzlmod
- Enable with
common --enable_bzlmodin.bazelrcif using Bazel>=7.4.0. - Add to your
MODULE.bazelfile:
bazel_dep(name = "toolchains_llvm_bootstrapped", version = "0.4.0")
register_toolchains(
"@toolchains_llvm_bootstrapped//toolchain:all",
)What's Changed
- Add loads for bazel9 compat by @dzbarsky in #47
- Add SystemConfiguration framework to the minimal macOS sysroot by @cerisier in #49
- Fix README commands by @korina-simicevic in #48
- Support targeting darwin x86-64 by @dzbarsky in #46
- Fix ubsan support on Linux by @cerisier in #50
- Build with bazel9 by @dzbarsky in #51
- Add a few flags for determinism + reduced spew by @dzbarsky in #52
- Tweak LLVM bootstrap compilation options by @dzbarsky in #54
- Fix our libtool issues by @dzbarsky in #57
- Provide static_runtime_lib/dynamic_runtime_lib to toolchain by @dzbarsky in #53
- Only add toolchain libs on linux for now by @dzbarsky in #59
- Disable static_link_cpp_runtimes on macOS by @cerisier in #61
- Remove usage of skylib config_setting_group by @dzbarsky in #71
- Add rules_rust tests using cc_common.link by @cerisier in #62
- Ignore ubsan warnings in libc startup files by @dzbarsky in #75
- Add default sanitizers ignorelists in the LLVM distribution by @cerisier in #77
- Implement CI by @cerisier in #72
- Allow bootstrapping stage1 toolchain from source by @dzbarsky in #70
- Add wasm target by @dzbarsky in #73
- Add some more LLVM tools by @dzbarsky in #90
- Add libc_nonshared.a throught the libc.so linker script by @cerisier in #92
- Minor glibc_stubs_assembly_files.bzl cleanup by @dzbarsky in #93
- Use a custom prefix dir for CRTstuff by @cerisier in #87
- Add supports_pic capability to clang and clang++ by @cerisier in #97
- refactor: Combine stage2 with_cfg calls by @dzbarsky in #98
- Support glibc 2.42 by @cerisier in #99
- Remove stale llvm patch by @dzbarsky in #102
- [windows] Support artifact name patterns by @dzbarsky in #101
- Avoid genrule in make_glibc_linker_script by @dzbarsky in #103
- [windows] libcxx support by @dzbarsky in #104
- [windows] Add compiler-rt support by @dzbarsky in #105
- Upgrade rules_rust in e2e by @dzbarsky in #89
- [windows] Add mingw headers target by @dzbarsky in #106
- [windows] Silence mingw warnings in runtime libs by @dzbarsky in #108
- Upgrade toolchain to LLVM 21.1.7 by @cerisier in #109
- [windows] Build runtime CRT libs by @dzbarsky in #110
- [windows] Add CRT objects by @dzbarsky in #111
- Rename bootstrap folder to prebuilt by @cerisier in #112
- [windows] Generate import libs by @dzbarsky in #113
- [windows] Add LLVM patches to make windows cross-builds work correctly by @dzbarsky in #115
- [windows] Wire up default toolchain flags by @dzbarsky in #114
- Adjust supported exec platforms for stage1 by @dzbarsky in #117
- Force stage1 binaries to be built for the right exec platform by @dzbarsky in #116
- [windows] Finish up mingw support by @dzbarsky in #91
- Disable cross-compilation test suite for windows by @cerisier in #119
- Expose more toolchain tools by @dzbarsky in #120
- Simplify mtree construction by @dzbarsky in #122
- Enable ThinLTO feature for linux by @dzbarsky in #124
- [windows] Give executables .exe suffix in dists by @dzbarsky in #123
- Add 'sed' to prebuilt-extras by @dzbarsky in #127
- Update to glibc 2.42 abilists by @cerisier in #129
- [windows] Properly handle .exes in the dist archives by @dzbarsky in #130
- Rework the way we declare platforms configs and constraints by @cerisier in #131
- Enable remote repo contents cache on windows by @dzbarsky in #128
- Fix libc default constraint by @cerisier in #134
- Support compiler-rt for wasm by @cerisier in #135
- Remove rules_python dependency by @dzbarsky in #133
- [compiler-rt] Simplify darwin sources filtering by @dzbarsky in #136
- Make all runtime headers system headers by @cerisier in #139
- Make progress on enabling Rust tests for windows by @dzbarsky in #138
- Do not register stage1 toolchain by default for prebuilts by @cerisier in #142
- Bump rules_cc version to 0.2.16 by @dzbarsky in #137
- Prepare musl for windows cross-building by @dzbarsky in #144
- Do not pass musl headers as -isystem when building musl itself by @cerisier in #149
- Update llvm sources to 21.1.8 by @cerisier in #150
- Upgrade toolchain to LLVM 21.1.8 by @cerisier in #151
- Supports windows as exec from prebuilts by @cerisier in #152
- [windows] Build ucrtbase.a more correctly by @dzbarsky in #153
- Use a link only resource-dir by @cerisier in #125
- README updates and improvements by @cerisier in #157
- Expose clang builtin headers to cc_toolchain.builtin_include_directories by @cerisier in #69
- [windows] Add dllcrt.o to crt dir by @dzbarsky in #159
- Enable rust in windows CI by @dzbarsky in #158
- [windows] Add libsynchronization.a by @dzbarsky in #160
- Flesh out libws2_32 by @dzbarsky in #161
- Stop using a dedicated cc_toolchain for stage2 by @cerisier in #162
- Factorize toolchains definition by @cerisier in #163
- Proper feature_set ordering for cc_toolchain definitions by @cerisier in #169
- Enable ICF in opt linking by @dzbarsky in #167
- fix windows arm? by @dzbarsky in #170
- Use source directories for builtin_headers by @dzbarsky in #165
- Restructure toolchain target settings by @cerisier in #171
- Allow registering a subset of targets by @dzbarsky in #76
- Allow configuring custom OSX sysroots by @dzbarsky in #175
- Make osx extension reproducible by @dzbarsky in #176
- Don't encourage osx use_repo usage by @dzbarsky in #177
- Use source directories for mingw headers by @dzbarsky in #172
- Add a test for opt flag ordering by @dzbarsky in #168
- Support dynamic linking by @cerisier in #174
- Enable cross-compilation tests on windows by @dzbarsky in #178
- Avoid eager fetch of LLVM repo by @dzbarsky in #181
- Port llvm overlay application to starlark by @dzbarsky in #182
- Enable archive_param_file feature by @dzbarsky in #184
- [windows] Add clang-cl and lld-link symlinks to release archives by @dzbarsky in #186
- Implement modulemap and layering_check by @dzbarsky in #185
- Improve llvm-ar determinism by @dzbarsky in #188
- Support header parsing feature (--process_headers_in_dependencies) by @dzbarsky in #189
- Fix -c opt and -c dbg by @dzbarsky in #194
- Build multicall-style llvm binary by @dzbarsky in #195
- Add clang-scan-deps and c++filt to releases by @dzbarsky in #196
- Fix multicall binary in bootstrap toolchains by @dzbarsky in #197
- [osx] Include device headers by @dzbarsky in #198
- [osx] Include more deprecated headers by @dzbarsky in #199
- [compiler-rt] Let fpmode.c be deduplicated by @cerisier in #203
- [compiler-rt] Fix builtin source file dedup by @cerisier in #202
- Upgrade to bazel9 by @dzbarsky in #204
- [args] More correct toolchain args semantic hierarchy by @cerisier in #205
- Move header-parser to prebuilts by @dzbarsky in #206
- Improve LLVM prebuilt releases by @dzbarsky in #207
- Run releases on mac runners since we need to unpack OSX sdk by @dzbarsky in #208
- Download release artifacts to upload to GH by @dzbarsky in #209
- Bump LLVM prebuilts by @dzbarsky in #210
- [ci] reuse tests from ci.yml for release.yml by @cerisier in #211
- [ci windows] continue on error for windows-11-arm by @cerisier in #212
New Contributors
- @korina-simicevic made their first contribution in #48
Full Changelog: 0.3.0...0.4.0