mirror of
https://github.com/intel/compute-runtime.git
synced 2025-12-19 16:24:18 +08:00
refactor: cmake cleanup
Related-To: NEO-8256, NEO-8257 Signed-off-by: Artur Harasimiuk <artur.harasimiuk@intel.com>
This commit is contained in:
committed by
Compute-Runtime-Automation
parent
be39364b4a
commit
9da3960123
@@ -384,11 +384,6 @@ if(NOT DEFINED AOT_CONFIG_HEADERS_DIR)
|
||||
message(STATUS "AOT config headers dir: ${AOT_CONFIG_HEADERS_DIR}")
|
||||
endif()
|
||||
|
||||
if(NOT THIRD_PARTY_DIR)
|
||||
get_filename_component(THIRD_PARTY_DIR "../third_party/" ABSOLUTE)
|
||||
endif()
|
||||
message(STATUS "Third party dir: ${THIRD_PARTY_DIR}")
|
||||
|
||||
# Intel Graphics Compiler detection
|
||||
include(cmake/find_igc.cmake)
|
||||
|
||||
|
||||
@@ -84,7 +84,6 @@ if(DEFINED AUB_STREAM_PROJECT_NAME)
|
||||
${ENGINE_NODE_DIR}
|
||||
${CIF_BASE_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
${WDK_DIR}
|
||||
)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -46,7 +46,6 @@ target_include_directories(${NEO_STATIC_LIB_NAME} PUBLIC
|
||||
${IGC_OCL_ADAPTOR_DIR}
|
||||
${VISA_INCLUDE_DIR}
|
||||
${NEO__IGC_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
)
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ target_include_directories(${SHARINGS_ENABLE_LIB_NAME} PRIVATE
|
||||
${KHRONOS_GL_HEADERS_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
${NEO__IGC_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
)
|
||||
|
||||
if(UNIX AND NOT DISABLE_WDDM_LINUX)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -49,7 +49,6 @@ endif()
|
||||
|
||||
set(CLOC_SEGFAULT_TEST_INCLUDES
|
||||
${NEO_SOURCE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
)
|
||||
|
||||
if(CMAKE_COMPILER_IS_GNUCC)
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2018-2022 Intel Corporation
|
||||
# Copyright (C) 2018-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -78,7 +78,6 @@ target_include_directories(${BUILTINS_BINARIES_BINDFUL_LIB_NAME} PRIVATE
|
||||
${KHRONOS_GL_HEADERS_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
${NEO__IGC_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
)
|
||||
|
||||
if(COMPILE_BUILT_INS)
|
||||
@@ -96,7 +95,6 @@ target_include_directories(${BUILTINS_BINARIES_BINDLESS_LIB_NAME} PRIVATE
|
||||
${KHRONOS_GL_HEADERS_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
${NEO__IGC_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
)
|
||||
|
||||
if(COMPILE_BUILT_INS)
|
||||
@@ -114,6 +112,5 @@ target_include_directories(${BUILTINS_BINARIES_STATELESS_LIB_NAME} PRIVATE
|
||||
${KHRONOS_GL_HEADERS_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
${NEO__IGC_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
)
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# Copyright (C) 2020-2021 Intel Corporation
|
||||
# Copyright (C) 2020-2023 Intel Corporation
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
#
|
||||
@@ -19,7 +19,6 @@ target_include_directories(${BUILTINS_SOURCES_LIB_NAME} PRIVATE
|
||||
${KHRONOS_GL_HEADERS_DIR}
|
||||
${NEO__GMM_INCLUDE_DIR}
|
||||
${NEO__IGC_INCLUDE_DIR}
|
||||
${THIRD_PARTY_DIR}
|
||||
)
|
||||
|
||||
add_subdirectories()
|
||||
|
||||
Reference in New Issue
Block a user