From 1dd8b3d2bcf3ea7ce63a0ecfcd44c3eb23ec86f8 Mon Sep 17 00:00:00 2001 From: mwtian <81660174+mwtian@users.noreply.github.com> Date: Mon, 15 Nov 2021 16:40:48 -0800 Subject: [PATCH] [Build] Remove debug info from Ray libraries. (#20389) ## Why are these changes needed? Ray wheel size limit is still at 100MB. Removing debug symbols would decrease Ray Linux wheel sizes. ## Related issue number ## Checks --- .bazelrc | 3 --- 1 file changed, 3 deletions(-) diff --git a/.bazelrc b/.bazelrc index 574267b2b..6c70b2e95 100644 --- a/.bazelrc +++ b/.bazelrc @@ -7,9 +7,6 @@ build --enable_platform_specific_config build --action_env=PATH # For --compilation_mode=dbg, consider enabling checks in the standard library as well (below). build --compilation_mode=opt -# Generate minimal debug symbols on Linux and MacOS -build:linux --copt="-g1" -build:macos --copt="-g1" # Using C++ 17 on all platforms. build:linux --cxxopt="-std=c++17" build:macos --cxxopt="-std=c++17"