#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