From: Olga Arkhangelskaia <arkholga@tarantool.org> To: tarantool-patches@dev.tarantool.org Subject: [Tarantool-patches] [PATCH v2 1/2] build: enables DLUAJIT_ENABLE_PAIRSMM by default Date: Fri, 22 Nov 2019 15:03:46 +0300 [thread overview] Message-ID: <20191122120347.66629-2-arkholga@tarantool.org> (raw) In-Reply-To: <20191122120347.66629-1-arkholga@tarantool.org> Turns on DLUAJIT_ENABLE_PAIRSMM flag for tarantool build. Now pairs/ipairs metamehods are available. --- cmake/luajit.cmake | 1 + 1 file changed, 1 insertion(+) diff --git a/cmake/luajit.cmake b/cmake/luajit.cmake index 10df633d5..072db8269 100644 --- a/cmake/luajit.cmake +++ b/cmake/luajit.cmake @@ -217,6 +217,7 @@ macro(luajit_build) add_definitions(-DLUAJIT_USE_ASAN=1) set (luajit_ldflags ${luajit_ldflags} -fsanitize=address) endif() + add_definitions(-DLUAJIT_ENABLE_PAIRSMM=1) add_definitions(-DLUAJIT_SMART_STRINGS=1) # Add all COMPILE_DEFINITIONS to xcflags get_property(defs DIRECTORY PROPERTY COMPILE_DEFINITIONS) -- 2.20.1 (Apple Git-117)
next prev parent reply other threads:[~2019-11-22 12:03 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-22 12:03 [Tarantool-patches] [PATCH v2 0/2] protects box.cfg from raw data modification Olga Arkhangelskaia 2019-11-22 12:03 ` Olga Arkhangelskaia [this message] 2019-11-22 13:45 ` [Tarantool-patches] [PATCH v2 1/2] build: enables DLUAJIT_ENABLE_PAIRSMM by default Igor Munkin 2019-11-24 19:31 ` Igor Munkin 2019-11-22 12:03 ` [Tarantool-patches] [PATCH v2 2/2] box: protects box.cfg from raw data modification Olga Arkhangelskaia 2019-11-22 16:31 ` Igor Munkin 2019-11-22 16:55 ` [Tarantool-patches] [PATCH v2 0/2] " Igor Munkin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20191122120347.66629-2-arkholga@tarantool.org \ --to=arkholga@tarantool.org \ --cc=tarantool-patches@dev.tarantool.org \ --subject='Re: [Tarantool-patches] [PATCH v2 1/2] build: enables DLUAJIT_ENABLE_PAIRSMM by default' \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox