summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2019-08-05 14:00:15 +0100
committerRich Trott <rtrott@gmail.com>2019-08-20 11:43:47 -0700
commit32df017c5fa8de0b3070108b76be78e1ab18aeae (patch)
tree330ec8577b9dbbd63ed596497de047c966926461 /node.gyp
parent3b929989185fc9e1d89ef07c612ee02b84800378 (diff)
downloadandroid-node-v8-32df017c5fa8de0b3070108b76be78e1ab18aeae.tar.gz
android-node-v8-32df017c5fa8de0b3070108b76be78e1ab18aeae.tar.bz2
android-node-v8-32df017c5fa8de0b3070108b76be78e1ab18aeae.zip
src: add large page support for macOS
Proposal to bring the support for this platform. We assume the pse36 cpu flag is present for 2MB large page support present in recent years in mac line (not to be backported to 10.x anyway). Recommended better for mac production servers rather than casual mac books. PR-URL: https://github.com/nodejs/node/pull/28977 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/node.gyp b/node.gyp
index 4eae262a61..4576e5a335 100644
--- a/node.gyp
+++ b/node.gyp
@@ -817,7 +817,7 @@
}],
],
}],
- [ 'node_use_large_pages=="true" and OS in "linux freebsd"', {
+ [ 'node_use_large_pages=="true" and OS in "linux freebsd mac"', {
'defines': [ 'NODE_ENABLE_LARGE_CODE_PAGES=1' ],
# The current implementation of Large Pages is under Linux.
# Other implementations are possible but not currently supported.