Skip to content

Commit b2a621e

Browse files
Add ARGS
1 parent 088473a commit b2a621e

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Dockerfile.redhat

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ ARG BASE_IMAGE=registry.access.redhat.com/ubi9/ubi:9.6
2424

2525
SHELL ["/bin/bash", "-xo", "pipefail", "-c"]
2626

27-
ARG JOBS=8
28-
ARG VERBOSE_LOGS=OFF
29-
ARG LTO_ENABLE=OFF
30-
ARG LTO_CXX_FLAGS=""
31-
ARG LTO_LD_FLAGS="-Wl,-z,relro"
27+
ARG JOBS=16
28+
ARG VERBOSE_LOGS=ON
29+
ARG LTO_ENABLE=ON
30+
ARG LTO_CXX_FLAGS="-flto=auto -ffat-lto-objects -march=haswell"
31+
ARG LTO_LD_FLAGS="-flto=auto -ffat-lto-objects"
3232

3333
# hadolint ignore=DL3041
3434
RUN echo -e "max_parallel_downloads=8\nretries=50" >> /etc/dnf/dnf.conf && \
@@ -107,8 +107,8 @@ ARG BASE_IMAGE=registry.access.redhat.com/ubi9/ubi:9.6
107107
SHELL ["/bin/bash", "-xo", "pipefail", "-c"]
108108

109109
ARG JOBS=40
110-
ARG VERBOSE_LOGS=OFF
111-
ARG LTO_ENABLE=OFF
110+
ARG VERBOSE_LOGS=ON
111+
ARG LTO_ENABLE=ON
112112

113113
# hadolint ignore=DL3041
114114
RUN dnf install -y https://rpmfind.net/linux/almalinux/8.10/PowerTools/x86_64/os/Packages/opencl-headers-2.2-1.20180306gite986688.el8.noarch.rpm && \
@@ -168,15 +168,16 @@ RUN dnf install -y https://github.com/linux-test-project/lcov/releases/download
168168

169169
ENV TF_SYSTEM_LIBS="curl"
170170
ENV TEST_LOG="/root/.cache/bazel/_bazel_root/bc57d4817a53cab8c785464da57d1983/execroot/ovms/bazel-out/test.log"
171-
ARG ov_source_branch=c01cd93e24d1cd78bfbb401eed51c08fb93e0816
172-
ARG ov_contrib_branch=master
173-
ARG ov_source_org=openvinotoolkit
174-
ARG ov_contrib_org=openvinotoolkit
171+
ARG ov_source_branch=releases/2025/1
172+
ARG ov_contrib_branch=releases/2025/1
173+
ARG ov_source_org=opendatahub-io
174+
ARG ov_contrib_org=opendatahub-io
175175
ARG ov_use_binary=0
176176
ARG DLDT_PACKAGE_URL
177177
ARG TEMP_DIR=/tmp/openvino_installer
178178
ARG CMAKE_BUILD_TYPE=Release
179-
ARG debug_bazel_flags="--strip=always --config=mp_on_py_on --//:distro=redhat"
179+
ARG debug_bazel_flags="--strip=always --define MEDIAPIPE_DISABLE=0 --define PYTHON_DISABLE=0 --config=mp_on_py_on --verbose_failures --//:distro=redhat --local_ram_resources=23552 --local_cpu_resources=16"
180+
180181

181182
################### BUILD OPENVINO FROM SOURCE - buildarg ov_use_binary=0 ############################
182183
# hadolint ignore=DL3041

0 commit comments

Comments
 (0)