Date: Sun, 11 Dec 2022 13:24:40 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 268303] devel/llvm*: update lua to 5.4 Message-ID: <bug-268303-7788-iNhPnLcYaK@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-268303-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-268303-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268303 --- Comment #7 from VVD <vvd@unislabs.com> --- Patches for llvm15: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D --- lldb/cmake/modules/FindLuaAndSwig.cmake.orig +++ lldb/cmake/modules/FindLuaAndSwig.cmake @@ -9,7 +9,7 @@ else() find_package(SWIG 3.0) if (SWIG_FOUND) - find_package(Lua 5.3 EXACT) + find_package(Lua 5.4 EXACT) if(LUA_FOUND AND SWIG_FOUND) mark_as_advanced( LUA_LIBRARIES --- lldb/CMakeLists.txt.orig +++ lldb/CMakeLists.txt @@ -65,8 +65,8 @@ endif () if (LLDB_ENABLE_LUA) - find_program(Lua_EXECUTABLE lua5.3) - set(LLDB_LUA_DEFAULT_RELATIVE_PATH "lib/lua/5.3") + find_program(Lua_EXECUTABLE lua5.4) + set(LLDB_LUA_DEFAULT_RELATIVE_PATH "lib/lua/5.4") set(LLDB_LUA_RELATIVE_PATH ${LLDB_LUA_DEFAULT_RELATIVE_PATH} CACHE STRING "Path where Lua modules are installed, relative to install prefix") endif () --- test/API/lua_api/TestLuaAPI.py.orig +++ test/API/lua_api/TestLuaAPI.py @@ -160,7 +160,7 @@ test_output =3D self.getBuildArtifact("output") test_input =3D self.getBuildArtifact("input") - lua_lldb_cpath =3D "%s/lua/5.3/?.so" % configuration.lldb_libs_dir + lua_lldb_cpath =3D "%s/lua/5.4/?.so" % configuration.lldb_libs_dir lua_prelude =3D "package.cpath =3D '%s;' .. package.cpath" % lua_lldb_cpath =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D Maybe better to keep possibility to build with lua53 too. But I don't know how yet. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268303-7788-iNhPnLcYaK>