Skip to content

Commit

Permalink
restore submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-gorokhov committed Oct 30, 2024
1 parent 2ea2be3 commit e2d5f11
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@
[submodule "src/plugins/intel_cpu/thirdparty/mlas"]
path = src/plugins/intel_cpu/thirdparty/mlas
url = https://github.com/openvinotoolkit/mlas.git
[submodule "src/plugins/intel_npu/thirdparty/level-zero"]
path = src/plugins/intel_npu/thirdparty/level-zero
[submodule "thirdparty/level_zero/level-zero"]
path = thirdparty/level_zero/level-zero
url = https://github.com/oneapi-src/level-zero.git
[submodule "src/plugins/intel_npu/thirdparty/level-zero-ext"]
path = src/plugins/intel_npu/thirdparty/level-zero-ext
Expand All @@ -86,4 +86,4 @@
url = https://github.com/libxsmm/libxsmm.git
[submodule "src/plugins/intel_cpu/thirdparty/shl"]
path = src/plugins/intel_cpu/thirdparty/shl
url = https://github.com/openvinotoolkit/shl.git
url = https://github.com/openvinotoolkit/shl.git
2 changes: 1 addition & 1 deletion src/bindings/python/thirdparty/pybind11
Submodule pybind11 updated 108 files
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/thirdparty/ComputeLibrary
Submodule ComputeLibrary updated 143 files
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/thirdparty/libxsmm
Submodule libxsmm updated 146 files
2 changes: 1 addition & 1 deletion src/plugins/intel_cpu/thirdparty/onednn
Submodule onednn updated 1 files
+1 −4 cmake/platform.cmake
2 changes: 1 addition & 1 deletion src/plugins/intel_gpu/thirdparty/onednn_gpu
Submodule onednn_gpu updated 1517 files
2 changes: 1 addition & 1 deletion src/plugins/intel_npu/thirdparty/level-zero-ext
Submodule level-zero-ext updated 1 files
+141 −2 ze_graph_ext.h
34 changes: 34 additions & 0 deletions thirdparty/level_zero/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright (C) 2018-2024 Intel Corporation
# SPDX-License-Identifier: Apache-2.0
#

set(BUILD_SHARED_LIBS OFF)


# We have to avoid linking against loader with debug postfix due it's a part of driver
# and the name will be the same for release and debug configurations
set(CMAKE_DEBUG_POSTFIX "")

# Skip warnings as errors for thirdparty
if(CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
ov_add_compiler_flags(/WX-)
# solve pdb access issue
set(USE_Z7 ON)
# Close spectre for ze loader
add_compile_options("/Qspectre-")
elseif(CMAKE_COMPILER_IS_GNUCXX OR OV_COMPILER_IS_CLANG)
ov_add_compiler_flags(-Wno-error)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-Wno-undef \
-Wno-missing-declarations")
if(UNUSED_BUT_SET_VARIABLE_SUPPORTED)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-unused-but-set-variable")
endif()
endif()
set(CMAKE_COMPILE_WARNING_AS_ERROR OFF)
add_subdirectory(level-zero EXCLUDE_FROM_ALL)

set_property(TARGET ze_loader APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/level-zero/include>)

# This VERSION file created by L0 may cause compilation issue of oneTBB headers, so remove it
file(REMOVE "${CMAKE_BINARY_DIR}/VERSION")
2 changes: 1 addition & 1 deletion thirdparty/protobuf/protobuf
Submodule protobuf updated 933 files

0 comments on commit e2d5f11

Please sign in to comment.