Opened 12 years ago
Closed 12 years ago
#36484 closed enhancement (fixed)
LuaJIT : Use `amalg` target for build
Reported by: | daniel@… | Owned by: | anddam (Andrea D'Amore) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | haspatch | Cc: | |
Port: | luajit |
Description
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.
Attachments (1)
Change History (4)
Changed 12 years ago by daniel@…
Attachment: | Portfile-luajit-amalg.diff added |
---|
comment:1 Changed 12 years ago by ci42
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to and.damore@… |
Port: | luajit added |
Summary: | Use `amalg` target for LuaJIT build → LuaJIT : Use `amalg` target for build |
comment:2 Changed 12 years ago by anddam (Andrea D'Amore)
Status: | new → assigned |
---|
comment:3 Changed 12 years ago by anddam (Andrea D'Amore)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Committed r98498, ticket closed.
Please remembert to Cc the maintainer and fill in the port field.