-
-
Notifications
You must be signed in to change notification settings - Fork 260
extra_targets, user configurable toolchains, and wasm support
#85
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
rrbutani
wants to merge
55
commits into
bazel-contrib:master
from
rrbutani:feature/extra-targets-and-wasm-support
Closed
Changes from 54 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
050af4b
llvm_toolchain: first pass at using `cc_toolchain_config` from @bazel…
rrbutani b6a8da5
llvm_toolchain: formatting and cleanup
rrbutani f3b6256
llvm_toolchain: fix a typo
rrbutani 58558de
tests: bump rules_go
rrbutani c9fdc9a
llvm_toolchain: unbreak linking on macOS
rrbutani 595c2b9
llvm_toolchain: don't break when used with dev builds of bazel
rrbutani 8ac151d
llvm_toolchain: fixes for `builtin_sysroot` and older Bazel versions
rrbutani 8df8200
llvm_toolchain: fixes for using/running the toolchain from other loca…
rrbutani 37c4562
llvm_toolchain: don't use an empty sysroot for `builtin_sysroot`
rrbutani 22e0206
llvm_toolchain: first pass at processing target-triple architectures
rrbutani 9044046
llvm_toolchain: add bits to process the os and env parts of target tr…
rrbutani 362feef
misc: add a note about cc toolchain resolution to the readme
rrbutani 69ae7ba
llvm_toolchain: more bits to process target triples
rrbutani 87d913c
llvm_toolchain: add the plumbing to make and register additional tool…
rrbutani b920164
llvm_toolchain: have separate sysroots for each toolchain target
rrbutani 1ffc061
llvm_toolchain: add machinery for overriding the host configuration i…
rrbutani d706f69
llvm_toolchain: add more knobs to `cc_toolchain_config`
rrbutani b16945e
llvm_toolchain: add support for explicitly specifying the repo in whi…
rrbutani 35b95d5
misc: add docs about `extra_toolchains` and an example of the manual …
rrbutani e1c3682
llvm_toolchain: add `@platforms` as a dep
rrbutani 15cdb95
llvm_toolchain: tweaks and fixes
rrbutani ab65846
llvm_toolchain: add support for setting/grabbing sysroots for `extra_…
rrbutani ae0d085
llvm_toolchain: add sysroots for wasm32/wasi
rrbutani b69988e
llvm_toolchain: add compiler_rt for wasm32/wasi
rrbutani a0f0eb4
misc: some WIP examples
rrbutani 0904ea2
llvm_toolchain: make `process_sysroot` public (for custom toolchains)
rrbutani 677453e
llvm_toolchain: change the toolchain names generated by `cc_toolchain…
rrbutani f353e0a
llvm_toolchain: add an option for extra linker flags to `cc_toolchain…
rrbutani b763a30
ci: switch the arch base image to `archlinux`
rrbutani 53a0025
ci: use the GITHUB_TOKEN secret for $BAZELISK_GITHUB_TOKEN
rrbutani 18b34d3
llvm_toolchain: actually have `host_sysroot_path` return the sysroot
rrbutani 496a403
llvm_toolchain: deduplicate `extra_target` toolchain entries in `cc_t…
rrbutani 8035a6a
misc: add a `.bazelrc`, just for local testing
rrbutani 451bfa0
llvm_toolchain: add some notes about `extra_targets` ordering and `un…
rrbutani fd575fe
misc: cleanup
rrbutani 61074f3
tests: add a simple binary target (for extra targets that aren't hosted)
rrbutani 38649c3
llvm_toolchain: don't hardcode the linux toolchains in `cc_toolchain_…
rrbutani cd0ffbf
llvm_toolchain: use the wasi sysroot/compiler_rt for non-wasi wasm ta…
rrbutani d910fb8
tests: actually add `simple.cc`
rrbutani 2984417
tests: add an `extra_targets` package
rrbutani 7775fd4
tests: add some transitions for wasi/wasm targets
rrbutani 1d0aa6e
tests: add wasi/wasm build tests
rrbutani a89ddef
misc: update the README
rrbutani e6511c5
tests: bump the llvm version
rrbutani e86b0c9
llvm_toolchain: add `wasm-ld` and friends to the linker filegroup
rrbutani cdfb672
wasm: pass in `-mthread-model=single` for wasm for LLVM 12
rrbutani 6c2aa15
release_names: stopgap fix for ubuntu 18.04 releases
rrbutani eb2ef33
tests: bump the llvm version
rrbutani 94a4975
release_names: some cleanup and a fix
rrbutani 52170d6
llvm_toolchain: expose hooks for extra-targets to override the linker…
rrbutani 7e4ed65
llvm_toolchain: expose hooks for extra-targets to override some linke…
rrbutani 99ed2f7
wasm: update the overrides
rrbutani 55211fe
llvm_toolchain: add a fix for the library search path and linux hosts
rrbutani 6af237b
release_names: fix some other distros
rrbutani 7342fa4
misc: fix a typo in the README
rrbutani File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| # For testing purposes only! Note that CI passes in `--bazelrc=/dev/null` and | ||
| # does *not* use this file. | ||
| build --incompatible_enable_cc_toolchain_resolution |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.