Improved GA precommit to track docs regressions (#16027)
This commit is contained in:
7
.github/workflows/code_snippets.yml
vendored
7
.github/workflows/code_snippets.yml
vendored
@@ -30,6 +30,13 @@ jobs:
|
||||
submodules: recursive
|
||||
lfs: true
|
||||
|
||||
- name: Install OpenCL
|
||||
uses: awalsh128/cache-apt-pkgs-action@v1.2.4
|
||||
if: runner.os == 'Linux'
|
||||
with:
|
||||
packages: ocl-icd-opencl-dev opencl-headers
|
||||
version: 3.0
|
||||
|
||||
- name: CMake configure
|
||||
run: cmake -DCMAKE_BUILD_TYPE=Release -B build
|
||||
|
||||
|
||||
@@ -47,10 +47,6 @@ list(REMOVE_ITEM SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/dldt_optimization_guide2.c
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/dldt_optimization_guide3.cpp"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/dldt_optimization_guide4.cpp")
|
||||
|
||||
# build separatelly as ov_integration_snippet and ov_integration_snippet_c
|
||||
list(REMOVE_ITEM SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/main.c"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp")
|
||||
|
||||
# create a static library
|
||||
|
||||
add_library(${TARGET_NAME} STATIC ${SOURCES})
|
||||
|
||||
3
thirdparty/CMakeLists.txt
vendored
3
thirdparty/CMakeLists.txt
vendored
@@ -96,7 +96,8 @@ if(ENABLE_INTEL_GPU)
|
||||
endif()
|
||||
|
||||
if(SUGGEST_OVERRIDE_SUPPORTED)
|
||||
set_target_properties(${opencl_target} PROPERTIES INTERFACE_COMPILE_OPTIONS "-Wno-suggest-override")
|
||||
set_target_properties(${opencl_target} PROPERTIES INTERFACE_COMPILE_OPTIONS
|
||||
$<$<COMPILE_LANGUAGE:CXX>:-Wno-suggest-override>)
|
||||
endif()
|
||||
|
||||
# used in tests
|
||||
|
||||
Reference in New Issue
Block a user