Skip to content

vendor_eudsl: remove np.bool post-install patch#3007

Draft
hunhoffe wants to merge 1 commit intomainfrom
fix/remove-np-bool-vendor-patch
Draft

vendor_eudsl: remove np.bool post-install patch#3007
hunhoffe wants to merge 1 commit intomainfrom
fix/remove-np-bool-vendor-patch

Conversation

@hunhoffe
Copy link
Copy Markdown
Collaborator

Removes the post-install text-replacement workaround that patched np.bool → np.bool_ in the vendored eudsl code. The fix will hopefully live upstream in llvm/eudsl (pending llvm/eudsl#374).

Also remove the prefix/util_path derivation lines that existed solely to support this patch.

Note: update python/requirements.txt to pin the eudsl release that includes the upstream fix before merging.

@erwei-xilinx -- just tagging you so you see this too!

The root cause (np.bool used as a dict key in eudsl's mlir/extras/util.py)
has been fixed upstream in llvm/eudsl. Now that eudsl ships np.bool_ directly,
the post-install text-replacement workaround in vendor_eudsl.py is no longer
needed.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hunhoffe hunhoffe changed the title endor_eudsl: remove np.bool post-install patch vendor_eudsl: remove np.bool post-install patch Mar 27, 2026
@hunhoffe
Copy link
Copy Markdown
Collaborator Author

hunhoffe commented Mar 27, 2026

eudsl change is merged; this is now waiting for when eudsl is updated at next llvm update.

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.

2 participants