Skip to content

Skip compute-runtime fetch #2494

Open
Open
@arunoruto

Description

@arunoruto

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:

FetchContent_Populate(exp-headers)

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    level-zeroL0 adapter specific issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions