New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #20675 (closed enhancement: fixed)

Opened 4 years ago

Last modified 2 years ago

SuiteSparse +universal and build_arch support

Reported by: takeshi@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: daniva@…
Port: SuiteSparse

Description

Modified Portfile to enable universal. It builds universal libs but port installed SuiteSparse does not give +universal. I don't see why.

Attachments

suitesparse.diff (1.5 KB) - added by takeshi@… 3 years ago.

Change History

comment:1 Changed 4 years ago by jmr@…

  • Owner changed from macports-tickets@… to stechert@…
  • Version 1.7.1 deleted

You haven't actually defined a universal variant (the default one isn't added because of use_configure no).

Changed 3 years ago by takeshi@…

comment:2 Changed 3 years ago by takeshi@…

I attached a modified to enable build for ppc64 by adding configure.cc_archflags. I hope you have a chance to look at it this time.

comment:3 Changed 3 years ago by daniva@…

If it helps, this patch also solved the following problem when compiling with i386 (no universal flag)

ld: warning: in /opt/local/lib/libmetis.a, file is not of required architecture
Undefined symbols for architecture i386:
  "_METIS_NodeND", referenced from:
      _cholmod_metis in libcholmod.a(cholmod_metis.o)
  "_METIS_NodeComputeSeparator", referenced from:
      _cholmod_metis_bisector in libcholmod.a(cholmod_metis.o)

comment:4 Changed 3 years ago by daniva@…

  • Cc daniva@… added

Cc Me!

comment:5 Changed 3 years ago by ryandesign@…

A different proposal for suitesparse universal is in #19455.

comment:6 Changed 2 years ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

comment:7 Changed 2 years ago by jmr@…

  • Summary changed from SuiteSparse +universal to SuiteSparse +universal and build_arch support
Note: See TracTickets for help on using tickets.