llvm-ar

Rainer Müller raimue at macports.org
Mon Sep 14 07:40:33 PDT 2015


On 2015-09-11 10:39, René J.V. Bertin wrote:
> Does base know about llvm-ar yet, or is there a tcl code snippet I
> can use to determine the correct command to reinplace llvm-ar with?
> I'm guessing there must be a macro or function that returns the
> appropriate -mp-3.X string as a function of the selected clang
> version?

No, base currently only handles compilers [1], that is: cc, objc, cxx,
objcxx, cpp, fc, f77, f90 (not all binaries are valid for all
compilers). No additional tools are not supported this way.

The only way to get the correct llvm-ar-mp-X.Y would be to recreate what
the base code does.

Rainer

[1]
https://trac.macports.org/browser/trunk/base/src/port1.0/portconfigure.tcl#L524


More information about the macports-dev mailing list