8000 bpo-41721 Add xlc options by skrah · Pull Request #22096 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-41721 Add xlc options #22096

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add xlc options.
  • Loading branch information
Stefan Krah committed Sep 4, 2020
commit 4decafe4f1828acb096b7dc084075b4fd2a68ab9
5 changes: 4 additions & 1 deletion configure
Original file line number Diff line number Diff line change
Expand Up @@ -7592,11 +7592,14 @@ $as_echo "$MACOSX_DEPLOYMENT_TARGET" >&6; }
;;
esac

# ICC needs -fp-model strict or floats behave badly
case "$CC" in
*icc*)
# ICC needs -fp-model strict or floats behave badly
CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
;;
*xlc*)
CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
;;
esac

if test "$assertions" = 'true'; then
Expand Down
5 changes: 4 additions & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -1993,11 +1993,14 @@ yes)
;;
esac

# ICC needs -fp-model strict or floats behave badly
case "$CC" in
*icc*)
# ICC needs -fp-model strict or floats behave badly
CFLAGS_NODIST="$CFLAGS_NODIST -fp-model strict"
;;
*xlc*)
CFLAGS_NODIST="$CFLAGS_NODIST -qalias=noansi -qmaxmem=-1"
;;
esac

if test "$assertions" = 'true'; then
Expand Down
0