oneapi-src / oneapi-src/unified-runtime

Unable to point to a static, offline copy of dependencies

Open
#2,740 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

level-zero
Dominant language
C++
Stars
57
Forks
120
Avg merge
1d 14h
Merged PRs (30d)
1

Description

In order to package this software for a distribution, or any software that requires it as part of its own build (such as DPC++ Compiler), it is essential that all necessary source code can be downloaded and provided offline, such that the build will not attempt to retrieve anything from the internet.

https://github.com/oneapi-src/unified-runtime/blob/6b5dec67adb2d95e0f92fd8f69e5d3a73bf67654/cmake/FetchLevelZero.cmake#L112-L124

Ideally, cmake's own methods such as find_package should be used, but lacking that, I should be able to provide variables that point to wherever I have unpacked compute-runtime.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with cmake/FetchLevelZero.cmake at the linked lines and trace how the Level Zero source is obtained during configuration. Check how CMake can use unpacked local dependencies, then verify that the build can be configured from those locations without attempting internet access.

Written by the indexing model from the issue text.

Assessment

Tech stack
cmake, cpp
Domain
build-system
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.