tools: update V8 gypfiles for 13.0 · nodejs/node@6f96526 · GitHub
Skip to content

Commit 6f96526

Browse files
committed
tools: update V8 gypfiles for 13.0
Refs: v8/v8@568f50d Refs: v8/v8@6437539 PR-URL: #55014 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
1 parent 52d3944 commit 6f96526

3 files changed

Lines changed: 18 additions & 83 deletions

File tree

tools/v8_gypfiles/features.gypi

Lines changed: 0 additions & 12 deletions

tools/v8_gypfiles/toolchain.gypi

Lines changed: 17 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@
101101
# [GYP] this needs to be outside of the top level 'variables'
102102
'conditions': [
103103
['host_arch=="ia32" or host_arch=="x64" or \
104-
host_arch=="ppc" or host_arch=="ppc64" or \
104+
host_arch=="ppc64" or \
105105
host_arch=="s390x" or \
106106
clang==1', {
107107
'variables': {
@@ -113,7 +113,7 @@
113113
},
114114
}],
115115
['target_arch=="ia32" or target_arch=="x64" or \
116-
target_arch=="ppc" or target_arch=="ppc64" or \
116+
target_arch=="ppc64" or \
117117
target_arch=="s390x" or clang==1', {
118118
'variables': {
119119
'target_cxx_is_biarch%': 1,
@@ -328,43 +328,24 @@
328328
}],
329329
],
330330
}], # s390x
331-
['v8_target_arch=="ppc" or v8_target_arch=="ppc64"', {
331+
['v8_target_arch=="ppc64"', {
332+
'defines': [
333+
'V8_TARGET_ARCH_PPC64',
334+
],
335+
'cflags': [
336+
'-ffp-contract=off',
337+
],
332338
'conditions': [
333-
['v8_target_arch=="ppc"', {
334-
'defines': [
335-
'V8_TARGET_ARCH_PPC',
336-
],
337-
}],
338-
['v8_target_arch=="ppc64"', {
339-
'defines': [
340-
'V8_TARGET_ARCH_PPC64',
341-
],
342-
'cflags': [
343-
'-ffp-contract=off',
344-
],
345-
}],
346-
['v8_host_byteorder=="little"', {
347-
'defines': [
348-
'V8_TARGET_ARCH_PPC_LE',
349-
],
339+
['OS=="aix" or OS=="os400"', {
340+
# Work around AIX ceil, trunc and round oddities.
341+
'cflags': [ '-mcpu=power5+ -mfprnd' ],
350342
}],
351-
['v8_host_byteorder=="big"', {
352-
'defines': [
353-
'V8_TARGET_ARCH_PPC_BE',
354-
],
355-
'conditions': [
356-
['OS=="aix" or OS=="os400"', {
357-
# Work around AIX ceil, trunc and round oddities.
358-
'cflags': [ '-mcpu=power5+ -mfprnd' ],
359-
}],
360-
['OS=="aix" or OS=="os400"', {
361-
# Work around AIX assembler popcntb bug.
362-
'cflags': [ '-mno-popcntb' ],
363-
}],
364-
],
343+
['OS=="aix" or OS=="os400"', {
344+
# Work around AIX assembler popcntb bug.
345+
'cflags': [ '-mno-popcntb' ],
365346
}],
366347
],
367-
}], # ppc
348+
}], # ppc64
368349
['v8_target_arch=="ia32"', {
369350
'defines': [
370351
'V8_TARGET_ARCH_IA32',
@@ -595,8 +576,7 @@
595576
}],
596577
['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
597578
or OS=="netbsd" or OS=="mac" or OS=="android" or OS=="qnx") and \
598-
(v8_target_arch=="arm" or v8_target_arch=="ia32" or \
599-
v8_target_arch=="ppc")', {
579+
(v8_target_arch=="arm" or v8_target_arch=="ia32")', {
600580
'target_conditions': [
601581
['_toolset=="host"', {
602582
'conditions': [
@@ -679,9 +659,6 @@
679659
'__STDC_FORMAT_MACROS',
680660
'_ALL_SOURCE=1'],
681661
'conditions': [
682-
[ 'v8_target_arch=="ppc"', {
683-
'ldflags': [ '-Wl,-bmaxdata:0x60000000/dsa' ],
684-
}],
685662
[ 'v8_target_arch=="ppc64"', {
686663
'cflags': [ '-maix64', '-fdollars-in-identifiers', '-fno-extern-tls-init' ],
687664
'ldflags': [ '-maix64 -Wl,-bbigtoc' ],

tools/v8_gypfiles/v8.gyp

Lines changed: 1 addition & 31 deletions

0 commit comments

Comments
 (0)