From 86add0e1a1384d5add548ada79f2d2cbaac201a6 Mon Sep 17 00:00:00 2001 From: John Murray Date: Mon, 20 Apr 2020 18:55:53 -0400 Subject: [PATCH] Update LuaJIT patch - remove MAP_32BIT Remove flag MAP_32BIT to allow for >1gb mmap's that occur at higher concurrency levels. Signed-off-by: John Murray --- bazel/foreign_cc/luajit.patch | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/bazel/foreign_cc/luajit.patch b/bazel/foreign_cc/luajit.patch index 82e8733a70fcf..66f83dba0621f 100644 --- a/bazel/foreign_cc/luajit.patch +++ b/bazel/foreign_cc/luajit.patch @@ -1,5 +1,5 @@ diff --git a/src/Makefile b/src/Makefile -index f56465d..3f4f2fa 100644 +index f56465d..5d91fa7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -27,7 +27,7 @@ NODOTABIVER= 51 @@ -33,6 +33,15 @@ index f56465d..3f4f2fa 100644 # # Disable the JIT compiler, i.e. turn LuaJIT into a pure interpreter. #XCFLAGS+= -DLUAJIT_DISABLE_JIT +@@ -111,7 +111,7 @@ XCFLAGS= + #XCFLAGS+= -DLUAJIT_NUMMODE=2 + # + # Enable GC64 mode for x64. +-#XCFLAGS+= -DLUAJIT_ENABLE_GC64 ++XCFLAGS+= -DLUAJIT_ENABLE_GC64 + # + ############################################################################## + @@ -587,7 +587,7 @@ endif Q= @