Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,8 @@ test:segfault --run_under="bash -c 'unset GREP_OPTIONS && if ! grep -q -o Micros
build:debug -c dbg
build:debug --copt="-g"
build:debug --copt -fno-omit-frame-pointer
build:debug --copt -fstack-protector-strong
build:debug --copt -fcf-protection=full
build:debug --strip="never"

# Undefined Behavior Sanitizer
Expand Down
2 changes: 2 additions & 0 deletions bazel/ray.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ COPTS_WITHOUT_LOG = select({
"-Wunused-result",
"-Wconversion-null",
"-Wno-misleading-indentation",
"-Wimplicit-fallthrough",
],
}) + select({
"//:clang-cl": [
Expand All @@ -32,6 +33,7 @@ PYX_COPTS = select({
# Ignore this warning since CPython and Cython have issue removing deprecated tp_print on MacOS
"-Wno-deprecated-declarations",
"-Wno-shadow",
"-Wno-implicit-fallthrough",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cython is auto-generated code, cannot do anything.

],
}) + select({
"@platforms//os:windows": [
Expand Down