Description
I am currently trying to build llvm on NixOS, so I can package dpc++ for nixpkgs. To do so, I need to prefetch everything, and it is not allowed to fetch it otherwise by other means (due to it not being 100% reproducible). I usually fix things setup by setup, but I am stuck now at this line:
unified-runtime/cmake/FetchLevelZero.cmake
Line 111 in 6f36300
Usually, it is possible to specify the source directory of a dependency, like UR_LEVEL_ZERO_LOADER_LIBRARY
, which is an option in the same file. This isn't the case for the compute-runtime, which seems to be fetched from GitHub. Is there a possibility of skipping this using a CMake option?
My only other option is to make a patch and delete those lines, which is usually a last resort.
If someone is interested, here is my nix file for creating the derivation for building dpcpp
so far.