-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
intel-graphics-compiler is not being fetched from the cache and the compilation fails #169729
Comments
When running the line I see: ....
building '/nix/store/1m1mpsxqq3ld8hwa79nbp0178whzv1vd-igc-cclang-prebuilds.drv'...
building '/nix/store/bnyf5mklkz2gx7dhlhfb15rfpsk272nw-intel-graphics-compiler-1.0.8744.drv'...
..... |
The problem is in this:
It seams that upstream has fixed it long ago: intel/intel-graphics-compiler#209 Upgrading at least to 1.0.9289 could fix the problem. |
I get the same error:
Any workarounds? |
Seems like @gloaming is inactive. |
Upgrading BUT, i don't really have a clue what i'm doing... |
@calbrecht so probably we just need someone to update the version here. |
@leiserfg that is indeed inevitable, i guess. I had to do some trickery regarding the compilation of
which seems to happen when two different clang compilations are present in the build environment. (guess this is the case when building intel/compute-runtime#519, llvm ldd related on stackoverflow, llvm clang related on stackoverflow, and similar in #97401 Now that i have the new versions running, i tried to somehow confirm a working solution and ran Is |
Hmm, just tried to run |
Woah,
in their This produces a pkgconfig of e.g.
So we need to patch with something like
Another case for #144170 |
So far Which probably leads to See also |
Now this https://github.com/calbrecht/f4s-fixups/blob/main/flake.nix#L22-L225 builds and I gues the main trick was to add It seems like the static |
So I was allready working on a PR for this and I only just now found this thread. The approach I took is similar to @calbrecht but I didn't update |
@rowanG077, beautiful :) Did you also find the switch Also i noticed some of the existing The |
I'm curious if this is going to work correctly with newer versions of |
I didn't even touch In fact if you look at the current master branch there are no patches anymore. It's always a balance since you never know what will depend on these packages in the future. I'd rather keep the changes to a minimum. |
Ahh, thanks for the clarification, now i see why i couldn't make sense of the patching mechanism. :) |
@rowanG077 it's a bit offtopic, but i'm curious to know. |
@calbrecht Honestly I have no idea. I know there were some idiosyncrasies with the |
PR is out @calbrecht #171656 my system runs fine with the additions. |
Describe the bug
I use intel-compute-runtime to provide opencl to darktable and it's not being fetched from the cache since today 2022-04-22
Also, compiling intel-graphics-compiler (which is a dependency) fails so I had to remove it altogether.
Steps To Reproduce
Steps to reproduce the behavior:
nix-env -i intel-compute-runtime
Expected behavior
Get's installed from cache
Notify maintainers
@gloaming
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: