pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building lang/clag with libcxx etc. (was: building lang/llvm with pkgsrc clang)

On Sat, Aug 27, 2022 at 4:45 AM Edgar Fuß <> wrote:
> > You can edit the Makefile to remove that conditional (.if ${OPSYS} ==
> > "SunOS") and Clang will be built with libc++.
> But will I then need the llvm package on the machines that run the compiled
> binaries? Or is there a way of factoring out the libraries?

Yes, and the easy way to avoid that is to have Clang use the macOS
provided, by commenting out the .include lines:

    .include "../../lang/compiler-rt/"
    .include "../../lang/libcxx/"
    .include "../../lang/libcxxabi/"
    .include "../../lang/libunwind/"

and just keep


Home | Main Index | Thread Index | Old Index