Skip to content

Commit

Permalink
Avoid rebuild for RPM / Debian packages
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-lavrenov committed Sep 28, 2023
1 parent 274a1cb commit e8ba0c2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/fedara.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ jobs:
INSTALL_DIR: /__w/openvino/openvino/openvino_install
INSTALL_TEST_DIR: /__w/openvino/openvino/tests_install
BUILD_DIR: /__w/openvino/openvino/openvino_build
OPENVINO_CONTRIB_BUILD_DIR: /__w/openvino/openvino/openvino_contrib_build
CCACHE_DIR: /mount/caches/ccache/fedora33_x86_64_Release
CCACHE_TEMPDIR: /__w/openvino/openvino/ccache_temp
CCACHE_MAXSIZE: 50G
Expand Down Expand Up @@ -208,7 +207,7 @@ jobs:
yum install -y openvino
# install current version
yum install --allowerasing *.rpm
yum install --allowerasing -y *.rpm
working-directory: ${{ env.RPM_PACKAGES_DIR }}

- name: Test RPM packages
Expand Down
6 changes: 6 additions & 0 deletions cmake/developer_package/compile_flags/os_flags.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,13 @@ if(NOT DEFINED CMAKE_CXX_STANDARD)
else()
set(CMAKE_CXX_STANDARD 11)
endif()
endif()

if(NOT DEFINED CMAKE_CXX_EXTENSIONS)
set(CMAKE_CXX_EXTENSIONS OFF)
endif()

if(NOT DEFINED CMAKE_CXX_STANDARD_REQUIRED)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
endif()

Expand Down

0 comments on commit e8ba0c2

Please sign in to comment.