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

[cmake] Use separate FetchSource's per adapter #831

Merged
merged 1 commit into from
Aug 29, 2023

Commits on Aug 29, 2023

  1. [cmake] Use separate FetchSource's per adapter

    While attempting to enable the Level-Zero and OpenCL adapters at the
    same time git will report an error due to the OpenCL tag not existing in
    the intel/llvm clone use for the Level-Zero adapter. Furthermore, if I
    wanted to test separate bug fixes for the CUDA and HIP adapters from
    different sources, this would also not be possible.
    
    This patch uses a separate FetchSource for each adapter to allow each
    adapters source to be fetched independently of the others and moves
    those clones into the build directory. This does result in additional
    git clones when enabling multiple adapters and again in multiple build
    directories but avoids conflicting remote URL's or multiple build
    configurations trampling on each others checked out tags.
    kbenzie committed Aug 29, 2023
    Configuration menu
    Copy the full SHA
    789adb0 View commit details
    Browse the repository at this point in the history