Skip to content

Commit 25d3ff3

Browse files
committed
Revert "Ensure that all of PyTorch/XLA C++ is compiled with exceptions enabled. (#9146)"
This reverts commit 8450607.
1 parent e28174c commit 25d3ff3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

bazel/rules_def.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ def ptxla_cc_test(
2626
linkstatic = True,
2727
copts = copts + [
2828
"-isystemexternal/torch", # Required for system includes.
29+
"-fexceptions", # Required for testing crashes.
2930
],
3031
deps = deps + [
3132
"@pybind11//:pybind11_embed", # libpython

0 commit comments

Comments
 (0)