mirror of
https://github.com/intel/compute-runtime.git
synced 2025-09-10 12:53:42 +08:00
include libigsc component
Related-To: NEO-5663 Signed-off-by: Grzegorz Choinski <grzegorz.choinski@intel.com>
This commit is contained in:

committed by
Compute-Runtime-Automation

parent
d2ff46e011
commit
590b0c8ed1
@ -92,6 +92,7 @@ if(BUILD_WITH_L0)
|
||||
add_definitions(-DIGSC_PRESENT=1)
|
||||
message(STATUS "libigsc Library headers directory: ${libigsc_INCLUDE_DIR}")
|
||||
message(STATUS "libigsc version: ${libigsc_VERSION}")
|
||||
include_directories(SYSTEM ${libigsc_INCLUDE_DIR})
|
||||
else()
|
||||
message(STATUS "libigsc Library headers not available. Building without")
|
||||
endif()
|
||||
|
@ -1,11 +1,18 @@
|
||||
#
|
||||
# Copyright (C) 2020 Intel Corporation
|
||||
# Copyright (C) 2020-2021 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
|
||||
find_path(libigsc_INCLUDE_DIR NAMES igsc_lib.h PATHS /usr/local/include /usr/include)
|
||||
find_library(libigsc_LIBRARIES NAMES igsc libigsc PATHS /usr/local/lib /usr/lib)
|
||||
get_filename_component(IGSC_DIR_tmp "${NEO_SOURCE_DIR}/../igsc" ABSOLUTE)
|
||||
|
||||
if(IS_DIRECTORY "${IGSC_DIR_tmp}")
|
||||
set(NEO__IGSC_INCLUDE_DIR "${IGSC_DIR_tmp}/include")
|
||||
set(NEO__IGSC_LIB_DIR "${IGSC_DIR_tmp}/lib")
|
||||
endif()
|
||||
|
||||
find_path(libigsc_INCLUDE_DIR NAMES igsc_lib.h PATHS ${NEO__IGSC_INCLUDE_DIR} /usr/local/include /usr/include)
|
||||
find_library(libigsc_LIBRARIES NAMES igsc libigsc PATHS ${NEO__IGSC_LIB_DIR} /usr/local/lib /usr/lib)
|
||||
|
||||
include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(libigsc DEFAULT_MSG libigsc_LIBRARIES libigsc_INCLUDE_DIR)
|
||||
|
@ -11,10 +11,16 @@ components:
|
||||
branch: igc
|
||||
revision: f91868690066cb76955f00e1168a8bdd1fd62672
|
||||
repository: https://github.com/intel/intelgraphicscompiler
|
||||
igsc:
|
||||
dest_dir: igsc
|
||||
type: git
|
||||
branch: igsc
|
||||
revision: V0.2.3
|
||||
repository: https://github.com/intel/igsc
|
||||
infra:
|
||||
branch: infra
|
||||
dest_dir: infra
|
||||
revision: d60705289efe8d14d11855d0a843eb97b6d54eb3
|
||||
revision: 8280db13c390f27fbd2793125e18793f973309b6
|
||||
type: git
|
||||
internal:
|
||||
branch: master
|
||||
|
Reference in New Issue
Block a user