Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run zig build shaders #37

Closed
kassane opened this issue Nov 13, 2024 · 1 comment · Fixed by #38
Closed

Run zig build shaders #37

kassane opened this issue Nov 13, 2024 · 1 comment · Fixed by #38
Labels
bug Something isn't working

Comments

@kassane
Copy link
Owner

kassane commented Nov 13, 2024

Hmm, btw, with a current Zig version I can't run the shaders task anymore, because the sokol-shdc binaries in the Zig cache don't have the execute file attribute set (this is on macOS).

Does that sound familiar somehow?

I'll need to merge the PR ahead of the sokol merge though (which I'll do within the next few hours).

E.g.:

sokol-d ➤ zig build shaders
shaders
└─ run /Users/floh/.cache/zig/p/12202522a9311ecc8ddcefd60b3943d1ca5a6717f5230a193ca63bf3d53c29c59bf7/>bin/osx_arm64/sokol-shdc failure
error: unable to spawn /Users/floh/.cache/zig/>p/12202522a9311ecc8ddcefd60b3943d1ca5a6717f5230a193ca63bf3d53c29c59bf7/bin/osx_arm64/sokol-shdc: >AccessDenied

Originally posted by @floooh in #31 (comment)

@kassane
Copy link
Owner Author

kassane commented Nov 13, 2024

Currently it runs on linux & windows. I don't know if there is some access issue on macOS.
I'll attempt shdc execution through CI/CD and in this way we can know if it's running on all targets.


Edit
https://github.com/kassane/sokol-d/actions/runs/11824014811

Run zig build shaders
shaders
+- run /Users/runner/.cache/zig/p/12202522a9311ecc8ddcefd60b3943d1ca5a6717f5230a193ca63bf3d53c29c59bf7/bin/osx_arm64/sokol-shdc failure
error: unable to spawn /Users/runner/.cache/zig/p/12202522a9311ecc8ddcefd60b3943d1ca5a6717f5230a193ca63bf3d53c29c59bf7/bin/osx_arm64/sokol-shdc: AccessDenied
shaders

@kassane kassane added the bug Something isn't working label Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant