Repository navigation
device/torch_openreg/lib is no longer tracked: a local build symlink from #464 broke the device build in CI - #465
Merged
Conversation
…'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.
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
#464 committed
device/torch_openreg/libin e468401. It is a symlink a local worktree uses to reach another checkout's built libraries, pointing to/opt/torchsim-local/PyTorchSim-frontend/.....gitignorenameddevice/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:
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.