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

mmd notifications at github.com
Tue Feb 20 08:47:53 UTC 2018


mmd-osm commented on this pull request.



> @@ -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

I'm not fully convinced that this is really a good idea.

Both lua and luajit are independent packages with their own lifecycle. Once a new lua version arrives, FindLua.cmake can be simply replaced by a new stock version (I think Lua projects provides their own FindLua.cmake, but I don't know if this is used here).

Although they partially look similar, they reference different include files and libraries in different places. I fell merging FindLuaJIT into FindLua might complicate the latter too much.

-- 
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#discussion_r169248847
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20180220/0fdc1e27/attachment.html>


More information about the Tile-serving mailing list