git: 056b4e7ee182 - main - devel/llvm-{cheri,morello}: Add ld symlink
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Apr 2022 17:16:20 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=056b4e7ee18213aefdf156a54e32edb12b015a80 commit 056b4e7ee18213aefdf156a54e32edb12b015a80 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2022-04-28 17:16:14 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2022-04-28 17:16:14 +0000 devel/llvm-{cheri,morello}: Add ld symlink Add an ld -> ld.lld symlink in ${PREFIX}/llvm-{cheri,morello}/bin so that clang finds the linker without adding -fuse-ld=ld.lld. --- devel/llvm-cheri/Makefile | 5 ++++- devel/llvm-cheri/pkg-plist | 1 + devel/llvm-morello/pkg-plist | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/devel/llvm-cheri/Makefile b/devel/llvm-cheri/Makefile index ad05b80a6d67..36a92d0df68e 100644 --- a/devel/llvm-cheri/Makefile +++ b/devel/llvm-cheri/Makefile @@ -1,6 +1,6 @@ PORTNAME= llvm PORTVERSION= ${LLVM_MAJOR}.0.d${SNAPDATE} -PORTREVISION= 0 +PORTREVISION= 1 CATEGORIES= devel lang PKGNAMESUFFIX= ${LLVM_SUFFIX} @@ -238,6 +238,9 @@ post-install-DOCS-on: ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/man1/ ${RMDIR} ${STAGEDIR}${LLVM_PREFIX}/share/man/ +post-install-LLD-on: + ${LN} -s ld.lld ${STAGEDIR}${LLVM_PREFIX}/bin/ld + post-install-LLDB-on: .if ${OPSYS} != "FreeBSD" || ${COMPILER_TYPE} == clang ${RM} ${STAGEDIR}${LLVM_PREFIX}/lib/python*/site-packages/lib diff --git a/devel/llvm-cheri/pkg-plist b/devel/llvm-cheri/pkg-plist index 02f6b42b5b3f..78d335a792f8 100644 --- a/devel/llvm-cheri/pkg-plist +++ b/devel/llvm-cheri/pkg-plist @@ -113,6 +113,7 @@ llvm%%LLVM_SUFFIX%%/bin/dsymutil %%CLANG%%llvm%%LLVM_SUFFIX%%/bin/git-clang-format llvm%%LLVM_SUFFIX%%/bin/hmaptool llvm%%LLVM_SUFFIX%%/bin/intercept-build +llvm%%LLVM_SUFFIX%%/bin/ld %%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld.lld %%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld %%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld.darwinnew diff --git a/devel/llvm-morello/pkg-plist b/devel/llvm-morello/pkg-plist index ee44584adefd..ff1a3bdef8dc 100644 --- a/devel/llvm-morello/pkg-plist +++ b/devel/llvm-morello/pkg-plist @@ -113,6 +113,7 @@ llvm%%LLVM_SUFFIX%%/bin/dsymutil %%CLANG%%llvm%%LLVM_SUFFIX%%/bin/git-clang-format llvm%%LLVM_SUFFIX%%/bin/hmaptool llvm%%LLVM_SUFFIX%%/bin/intercept-build +llvm%%LLVM_SUFFIX%%/bin/ld %%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld.lld %%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld %%LLD%%llvm%%LLVM_SUFFIX%%/bin/ld64.lld.darwinnew