mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
Revert "[c10] move fexceptions to compiler_flags (#80387)"
This reverts commit 3e1ac21c3bcbc0e27dcf058900e9572d3c135a20. Reverted https://github.com/pytorch/pytorch/pull/80387 on behalf of https://github.com/facebook-github-bot due to Diff reverted internally
This commit is contained in:
@ -156,7 +156,6 @@ def get_pt_compiler_flags():
|
||||
})
|
||||
|
||||
_PT_COMPILER_FLAGS = [
|
||||
"-fexceptions",
|
||||
"-frtti",
|
||||
"-Os",
|
||||
"-Wno-unknown-pragmas",
|
||||
@ -1117,7 +1116,6 @@ def define_buck_targets(
|
||||
deps = [
|
||||
C10,
|
||||
],
|
||||
compiler_flags = ["-fexceptions"],
|
||||
)
|
||||
|
||||
# Base library shared by lite-interpreter and full-jit.
|
||||
@ -1846,7 +1844,6 @@ def define_buck_targets(
|
||||
":torch_core",
|
||||
C10,
|
||||
],
|
||||
compiler_flags = ["-fexceptions"],
|
||||
)
|
||||
|
||||
# aten_cpu and aten_native_cpu
|
||||
|
Reference in New Issue
Block a user