We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fbddc2 commit f1fec69Copy full SHA for f1fec69
tools/gen_ort_dockerfile.py
@@ -318,7 +318,7 @@ def dockerfile_for_linux(output_file):
318
df += """
319
WORKDIR /workspace/onnxruntime
320
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='{}' "
+ --compile_no_warning_as_error --build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' --cmake_extra_defines CMAKE_POLICY_VERSION_MINIMUM=3.5 "
322
""".format(
323
cuda_archs
324
)
0 commit comments