Opened 11 years ago

Closed 7 months ago

#41304 closed enhancement (fixed)

luajit: add universal variant

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Frederik van Hövell <frederik@…>
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: dbevans (David B. Evans)
Port: luajit

Description (last modified by mf2k (Frank Schima))

If possible, please add a universal variant to the luajit port.

Change History (7)

comment:1 Changed 11 years ago by anddam (Andrea D'Amore)

Status: newassigned

comment:2 Changed 11 years ago by anddam (Andrea D'Amore)

I'm not sure it can be built universal, src/Makefile is guessing the arch using $(CC) $(CFLAGS) -E lj_arch.h -dM and searching the output for known arch strings, this fails when passing two -arch because the preprocessor doesn't support that

clang: error: cannot use 'c-header-cpp-output' output with multiple -arch options

Any suggestion?

Last edited 11 years ago by anddam (Andrea D'Amore) (previous) (diff)

comment:3 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from anddam to stromnov

The lack of a universal variant in luajit is still a problem. Because of this, the ports that depend on luajit can't have universal variants either, and neither can the ports depending on those ports, and so on.

If the build system cannot build for multiple architectures simultaneously, it can be told to build for each architecture separately using the muniversal portgroup.

comment:4 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added

This affects gegl-0.4, for example.

comment:5 Changed 5 years ago by mf2k (Frank Schima)

Owner: stromnov deleted

comment:6 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:7 Changed 7 months ago by Frederik van Hövell <frederik@…>

Owner: set to Frederik van Hövell <frederik@…>
Resolution: fixed
Status: assignedclosed

In b3427f9e6de113b64620377780cf52f80248d152/macports-ports (master):

luajit: Support 'universal' variant

Closes: #41304

Note: See TracTickets for help on using tickets.