Skip to content

Commit

Permalink
Add -fexception to ppc64le OPT flag
Browse files Browse the repository at this point in the history
This enables C++ code that interoperate with CPython to deal with
exceptions properly on ppc64le systems.

PyTorch/Torch is an example of a project that explicits this issue.
  • Loading branch information
Bruno Rosa committed Jul 12, 2017
1 parent a948d4f commit f228839
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configure
Expand Up @@ -6017,6 +6017,10 @@ then
SCO_SV*) OPT="$OPT -m486 -DSCO5"
;;
esac
case $(uname -m) in
ppc64le) OPT="$OPT -fexceptions"
;;
esac
;;
*)
Expand Down

0 comments on commit f228839

Please sign in to comment.