Skip to content

Commit 123c968

Browse files
committed
add compile_no_warning_as_error flag
1 parent 70d7733 commit 123c968

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ def dockerfile_for_linux(output_file):
289289
df += """
290290
WORKDIR /workspace/onnxruntime
291291
ARG COMMON_BUILD_ARGS="--config ${{ONNXRUNTIME_BUILD_CONFIG}} --skip_submodule_sync --parallel --build_shared_lib \
292-
--build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' "
292+
--compile_no_warning_as_error --build_dir /workspace/build --cmake_extra_defines CMAKE_CUDA_ARCHITECTURES='{}' "
293293
""".format(
294294
cuda_archs
295295
)

0 commit comments

Comments
 (0)