[Tile-serving] [openstreetmap/osm2pgsql] Added LuaJIT support (#810)

Sarah Hoffmann notifications at github.com
Sun Feb 18 12:38:10 UTC 2018


lonvia requested changes on this pull request.



> @@ -11,7 +11,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
 set(DATA_DIR \"${CMAKE_INSTALL_PREFIX}/share/osm2pgsql\")
 
 option(BUILD_TESTS "Build test suite" OFF)
-option(WITH_LUA    "Build with lua support" ON)
+option(WITH_LUA    "Build with Lua support" ON)
+option(WITH_LUAJIT "Build with LuaJIT support" OFF)

Well, my reading below is that you need to have both set WITH_LUA and WITH_LUAJIT. That's okay for me though.

> @@ -0,0 +1,63 @@
+# Locate LuaJIT library
+# This module defines
+#  LUAJIT_FOUND, if false, do not try to link to Lua
+#  LUA_LIBRARIES
+#  LUA_INCLUDE_DIR, where to find lua.h
+#  LUAJIT_VERSION_STRING, the version of Lua found (since CMake 2.8.8)
+
+## Copied from default CMake FindLua51.cmake

Any chance that can be merged with FindLua.cmake? It looks partially duplicated.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/810#pullrequestreview-97401025
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180218/59f6e813/attachment.html>


More information about the Tile-serving mailing list