Skip to content

Commit

Permalink
Revert "[c10] move fexceptions to compiler_flags (pytorch#80387)"
Browse files Browse the repository at this point in the history
This reverts commit 3e1ac21.

Reverted pytorch#80387 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally
  • Loading branch information
pytorchmergebot committed Jul 12, 2022
1 parent 3e1ac21 commit e608bef
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions buckbuild.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,6 @@ def get_pt_compiler_flags():
})

_PT_COMPILER_FLAGS = [
"-fexceptions",
"-frtti",
"-Os",
"-Wno-unknown-pragmas",
Expand Down Expand Up @@ -1117,7 +1116,6 @@ def define_buck_targets(
deps = [
C10,
],
compiler_flags = ["-fexceptions"],
)

# Base library shared by lite-interpreter and full-jit.
Expand Down Expand Up @@ -1846,7 +1844,6 @@ def define_buck_targets(
":torch_core",
C10,
],
compiler_flags = ["-fexceptions"],
)

# aten_cpu and aten_native_cpu
Expand Down
1 change: 0 additions & 1 deletion build.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ def define_targets(rules):
"//c10",
"//third_party/miniz-2.1.0:miniz",
],
copts = ["-fexceptions"],
)

#
Expand Down

0 comments on commit e608bef

Please sign in to comment.