We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f51780 commit 87fb0f3Copy full SHA for 87fb0f3
.bazelrc
@@ -24,9 +24,6 @@ build -c opt
24
25
build --config=short_logs
26
27
-# PyTorch/XLA uses exceptions to communicate with Python.
28
-build --copt=-fexceptions
29
-
30
# Force GCC because clang/bazel has issues.
31
build --action_env=CC=gcc
32
build --action_env=CXX=g++
bazel/rules_def.bzl
@@ -26,6 +26,7 @@ def ptxla_cc_test(
linkstatic = True,
copts = copts + [
"-isystemexternal/torch", # Required for system includes.
+ "-fexceptions", # Required for testing crashes.
],
deps = deps + [
"@pybind11//:pybind11_embed", # libpython
0 commit comments