Skip to content

device/torch_openreg/lib is no longer tracked: a local build symlink from #464 broke the device build in CI - #465

Merged
student-Jungmin merged 1 commit into
pytorchsim-triton-backendfrom
fix/drop-lib-symlink
Oct 24, 2026
Merged

student-Jungmin merged 1 commit into
pytorchsim-triton-backendfrom
fix/drop-lib-symlink

Conversation

@student-Jungmin

Copy link
Copy Markdown
Collaborator

#464 committed device/torch_openreg/lib in e468401. It is a symlink a local worktree uses to reach another checkout's built libraries, pointing to /opt/torchsim-local/PyTorchSim-frontend/....

.gitignore named device/torch_openreg/lib/, which only matches a directory, so the symlink was not ignored and went in with the commit.

In CI the link points nowhere. cmake's install then cannot create the directory through it:

file cannot create directory: /workspace/PyTorchSim/device/torch_openreg/lib

The device extension fails to build, so the route job stops before the sweep. #464's own run failed this way, and so will every push to pytorchsim-triton-backend since e1d8aa3.

This PR removes the link. The ignore rule now names the path without the trailing slash, so it ignores a directory or a link there.

…'s symlink broke CI's device build

e468401 (#464) committed device/torch_openreg/lib, a symlink a local worktree uses to reach another
checkout's built libraries (-> /opt/torchsim-local/PyTorchSim-frontend/...). .gitignore named
device/torch_openreg/lib/, which matches only a directory, so the symlink was not ignored. In CI the
link points nowhere, cmake's install cannot create the directory through it ("file cannot create
directory: /workspace/PyTorchSim/device/torch_openreg/lib"), and the device extension fails to build,
so every route job on pytorchsim-triton-backend since e1d8aa3 stops before the sweep.

The link is removed, and the ignore rule names the path without the slash, so a directory or a link
there are both ignored.
@student-Jungmin
student-Jungmin merged commit 18fd1f4 into pytorchsim-triton-backend Oct 24, 2026
1 check passed
@YWHyuk
YWHyuk deleted the fix/drop-lib-symlink branch October 27, 2026 07:46
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