Skip to content
Closed
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
build,v8: support IBM i
Some libraries do not exist on IBM i (OS400).
Commit 417c18e introduces these missing libraries.
Need to differentiate `AIX` and `OS400`(IBM i).

PR-URL: #28607
Reviewed-By: Ben Noordhuis <[email protected]>
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • Loading branch information
dmabupt committed Jul 10, 2019
commit 810c8e34b45f73f78208812d494e66c42a06ab3a
20 changes: 14 additions & 6 deletions tools/v8_gypfiles/v8.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -2536,16 +2536,24 @@
},
}],
['OS=="aix"', {
'variables': {
# Used to differentiate `AIX` and `OS400`(IBM i).
'aix_variant_name': '<!(uname -s)',
},
'sources': [
'<(V8_ROOT)/src/base/debug/stack_trace_posix.cc',
'<(V8_ROOT)/src/base/platform/platform-aix.cc',
],
'link_settings': {
'libraries': [
'-ldl',
'-lrt'
],
},
'conditions': [
[ '"<(aix_variant_name)"=="AIX"', { # It is `AIX`
'link_settings': {
'libraries': [
'-ldl',
'-lrt'
],
},
}],
],
}],
['is_android', {
'sources': [
Expand Down