Summary: | devel/llvm-devel: create a static libs flavor | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Derek Schrock <dereks> |
Component: | Individual Port(s) | Assignee: | Brooks Davis <brooks> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(brooks) |
Priority: | --- | ||
Version: | Latest | ||
Hardware: | Any | ||
OS: | Any |
Description
Derek Schrock
2021-05-15 05:23:16 UTC
In stead of a flavor I think a subpakage is more inline here. https://reviews.freebsd.org/D16457 Thanks for the report! For now I'll plan to re-enable the STATIC_LIBS option by default in the next update. I'd turned it off in hopes that nothing actually required it since it's very big. I wonder if there's a more correct way to turn it off that results in a LLVMExports.cmake that causes a dynamic link to libLLVM instead. Eventually we'll get sub-packages and this can be part of a -dev package. JFYI, changes to llvm-devel often flow down to llvm## ports once they are tested, but infrastructure differences mean that llvm13 will be a copy of llvm12 rather than llvm-devel. A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=a459b93bae5a13e939a1de8879e8bcd35be1c7b0 commit a459b93bae5a13e939a1de8879e8bcd35be1c7b0 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2021-05-20 21:32:50 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2021-05-20 21:46:06 +0000 devel/llvm-devel: new snapshot 2021-05-18 Enable STATIC_LIBS by default to allow tools such as devel/include-what-you-use to link. [0] Install i386 sanitizers if they are built on amd64 (this happens if lib32 libraries are installed.) PR: 255894 [0] devel/llvm-devel/Makefile | 71 ++++++++------- devel/llvm-devel/Makefile.COMMANDS | 4 + devel/llvm-devel/Makefile.snapshot | 4 +- devel/llvm-devel/distinfo | 6 +- devel/llvm-devel/pkg-plist | 171 ++++++++++++++++++++++++++++--------- 5 files changed, 179 insertions(+), 77 deletions(-) Confirmed iwyu from source main branch builds with devel/llvm-devel |