Opened 5 years ago

Last modified 13 months ago

#48834 new enhancement

add variants openblas, superlu, and tbb to armadillo

Reported by: hugo-ribeiro (Hugo Ribeiro) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: ChristianFrisson (Christian Frisson)
Port: armadillo


Would it be possible to add the aforementioned variants to the armadillo port?

The most tricky one is probably "openblas". The idea is to have armadillo compile against openblas instead of "accelerate" when the variant is selected.

Attachments (1)

Portfile.diff (643 bytes) - added by tenomoto (Takeshi Enomoto) 13 months ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 5 years ago by Schamschula (Marius Schamschula)

Unfortunately, armadillo has accelerate hard coded into CMakeLists.txt for the Mac platform.

Obviously, one may patch this file to default to generic UNIX behavior, where other options such as ATLAS or OpenBLAS are detected.

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

Cc: mschamschula@… removed
Keywords: openblas removed
Owner: changed from macports-tickets@… to mschamschula@…
Type: requestenhancement
Version: 2.3.3

Note that a "request" ticket type is only for requesting a new port.

comment:3 Changed 13 months ago by tenomoto (Takeshi Enomoto)

Would be nice if superlu variant is added.

Changed 13 months ago by tenomoto (Takeshi Enomoto)

Attachment: Portfile.diff added

comment:4 Changed 13 months ago by Schamschula (Marius Schamschula)

In d9739d21350010e2a6755a5b9bf07df3ac89cd01/macports-ports (master):

armadillo: add superlu variant

See: #48834

Note: See TracTickets for help on using tickets.