Skip to content

Commit 0998c37

Browse files
authored
build: target Power 9 for AIX/IBM i
Minimum supported Power architecture for AIX and IBM i is now Power 9. PR-URL: #62296 Refs: #61005 Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent b328bf7 commit 0998c37

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

node.gypi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,9 @@
8484
}, { # POSIX
8585
'defines': [ '__POSIX__' ],
8686
}],
87+
[ 'OS=="aix" or OS=="os400"', {
88+
'cflags': [ '-mcpu=power9' ],
89+
}],
8790
[ 'node_enable_d8=="true"', {
8891
'dependencies': [ 'tools/v8_gypfiles/d8.gyp:d8' ],
8992
}],

tools/v8_gypfiles/toolchain.gypi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@
330330
'conditions': [
331331
['OS=="aix" or OS=="os400"', {
332332
# Work around AIX ceil, trunc and round oddities.
333-
'cflags': [ '-mcpu=power5+ -mfprnd' ],
333+
'cflags': [ '-mcpu=power9 -mfprnd' ],
334334
}],
335335
['OS=="aix" or OS=="os400"', {
336336
# Work around AIX assembler popcntb bug.

0 commit comments

Comments
 (0)