Skip to content

Add Bazel config_settings for the official Emscripten toolchain#1329

Closed
mattsoulanille wants to merge 6 commits intogoogle:masterfrom
mattsoulanille:emsdk_fix
Closed

Add Bazel config_settings for the official Emscripten toolchain#1329
mattsoulanille wants to merge 6 commits intogoogle:masterfrom
mattsoulanille:emsdk_fix

Conversation

@mattsoulanille
Copy link

Current Bazel config settings for Emscripten are specific to TensorFlow.js's custom Emscripten toolchain. This PR adds config_settings for the official toolchain.

Using config_settings_group introduces a dependency on skylib that must be added to consuming projects' workspaces. Since the legacy tfjs config settings will eventually be removed, this seems like a better solution.
@google-cla google-cla bot added the cla: yes label Mar 3, 2021
@mattsoulanille mattsoulanille marked this pull request as ready for review March 3, 2021 22:34
@mattsoulanille
Copy link
Author

I considered using skylib's config_setting_group instead of adding an extra config to all rules, but decided against that since it would introduce another dependency that consuming projects would need to include.

@mattsoulanille
Copy link
Author

mattsoulanille commented Mar 4, 2021

Creating this internally since copybara files need to be updated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant