[MacPorts] #36484: Use `amalg` target for LuaJIT build
#36484: Use `amalg` target for LuaJIT build -------------------------+-------------------------------- Reporter: daniel@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Keywords: | Port: -------------------------+-------------------------------- The LuaJIT distribution includes an `amalg` target that bundles all the C code into a single file, then compiles that. This is their recommended compilation strategy:
The build system has a special target for an amalgamated build, i.e. make amalg. This compiles the LuaJIT core as one huge C file and allows GCC to generate faster and shorter code. Alas, this requires lots of memory during the build. This may be a problem for some users, that's why it's not enabled by default. But it shouldn't be a problem for most build farms. It's recommended that binary distributions use this target for their LuaJIT builds.
This patch modifies the build to use the amalg target rather than all. -- Ticket URL: <https://trac.macports.org/ticket/36484> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36484: LuaJIT : Use `amalg` target for build --------------------------+-------------------------- Reporter: daniel@… | Owner: and.damore@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: luajit | --------------------------+-------------------------- Changes (by ciserlohn@…): * keywords: => haspatch * owner: macports-tickets@… => and.damore@… * port: => luajit Comment: Please remembert to Cc the maintainer and fill in the port field. -- Ticket URL: <https://trac.macports.org/ticket/36484#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36484: LuaJIT : Use `amalg` target for build --------------------------+-------------------------- Reporter: daniel@… | Owner: and.damore@… Type: enhancement | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: | Keywords: haspatch Port: luajit | --------------------------+-------------------------- Changes (by and.damore@…): * status: new => assigned -- Ticket URL: <https://trac.macports.org/ticket/36484#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#36484: LuaJIT : Use `amalg` target for build --------------------------+-------------------------- Reporter: daniel@… | Owner: and.damore@… Type: enhancement | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.2 Resolution: fixed | Keywords: haspatch Port: luajit | --------------------------+-------------------------- Changes (by and.damore@…): * status: assigned => closed * resolution: => fixed Comment: Committed r98498, ticket closed. -- Ticket URL: <https://trac.macports.org/ticket/36484#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts