Skip to content

Migrate ac_types to a Bazel module extension.#4017

Merged
copybara-service[bot] merged 1 commit intomainfrom
test_890069397
Apr 3, 2026
Merged

Migrate ac_types to a Bazel module extension.#4017
copybara-service[bot] merged 1 commit intomainfrom
test_890069397

Conversation

@copybara-service
Copy link
Copy Markdown

@copybara-service copybara-service bot commented Mar 31, 2026

Migrate ac_types to a Bazel module extension.

This change moves the com_github_hlslibs_ac_types dependency from being loaded in load_external.bzl to a dedicated module extension, bringing us another step closer to a WORKSPACE-free world.

The biggest change required to make this work: we needed to move from hard-coded include paths to proper use of the Bazel C++ compilation context structures, while filtering out the toolchain's built-in standard libraries.

Also, due to the newly-mangled repository names, we had to add a virtual include directory to our unit test framework to ensure the ac_*.h files are correctly found at the expected location.

@copybara-service copybara-service bot force-pushed the test_890069397 branch 4 times, most recently from 4d94de4 to 3df4d8e Compare April 2, 2026 18:22
@copybara-service copybara-service bot changed the title Migrate XLS's use of ac_types to a Bazel module extension. Migrate ac_types to a Bazel module extension. Apr 2, 2026
@copybara-service copybara-service bot force-pushed the test_890069397 branch 3 times, most recently from 4a33183 to de3a74e Compare April 3, 2026 16:49
This change moves the `com_github_hlslibs_ac_types` dependency from being loaded in `load_external.bzl` to a dedicated module extension, bringing us another step closer to a WORKSPACE-free world.

The biggest change required to make this work: we needed to move from hard-coded include paths to proper use of the Bazel C++ compilation context structures, while filtering out the toolchain's built-in standard libraries.

Also, due to the newly-mangled repository names, we had to add a virtual include directory to our unit test framework to ensure the ac_*.h files are correctly found at the expected location.

PiperOrigin-RevId: 894149598
@copybara-service copybara-service bot merged commit 89e4094 into main Apr 3, 2026
@copybara-service copybara-service bot deleted the test_890069397 branch April 3, 2026 17:42
copybara-service bot pushed a commit that referenced this pull request Apr 3, 2026
copybara-service bot pushed a commit that referenced this pull request Apr 3, 2026
alirezazd pushed a commit to alirezazd/xls-eco that referenced this pull request Apr 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant