Skip to content

Commit f1fec69

Browse files
authored
TPRD-1325: adding policy argument (#302)
1 parent 3fbddc2 commit f1fec69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_ort_dockerfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,7 @@ def dockerfile_for_linux(output_file):
318318
df += """
319319
WORKDIR /workspace/onnxruntime
320320
ARG COMMON_BUILD_ARGS="--config ${{ONNXRUNTIME_BUILD_CONFIG}} --skip_submodule_sync --parallel --build_shared_lib \
321-
--compile_no_warning_as_error --build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' "
321+
--compile_no_warning_as_error --build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' --cmake_extra_defines CMAKE_POLICY_VERSION_MINIMUM=3.5 "
322322
""".format(
323323
cuda_archs
324324
)

0 commit comments

Comments
 (0)