Skip to content

cmake logic fixes for level zero and half-installed systems#596

Merged
therault merged 1 commit intoICLDisco:masterfrom
therault:fix-lz-cmake
Nov 15, 2023
Merged

cmake logic fixes for level zero and half-installed systems#596
therault merged 1 commit intoICLDisco:masterfrom
therault:fix-lz-cmake

Conversation

@therault
Copy link
Copy Markdown
Contributor

Fix level-zero, ze_loader and dpcpp discovery to be a little more tolerant of badly installed systems.

Due to a bug in the package config files distributed on many systems, it's not because find_level_zero is true after a pkg-config that we can indeed compile and link with ze_loader (finding ze_loader does not solve the problem in these systems). This issues a warning and points how to fix the issue if this status is found during configuration.

Be also a little more tolerant to half-installed systems (e.g. find ze_loader and ze_api.h, but not find dpcpp: allow the support of level_zero devices anyway, but do not allow the generation of dpcpp code).

@therault therault requested a review from a team as a code owner November 15, 2023 04:53
@therault therault merged commit fc5d803 into ICLDisco:master Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants