git: 6333c7f1de04 - main - devel/llvm-devel: build compiler-rt as a runtime
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Dec 2024 01:23:03 UTC
The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=6333c7f1de04ccdc430bbb86a46c5e2cbb1cd858 commit 6333c7f1de04ccdc430bbb86a46c5e2cbb1cd858 Author: Brooks Davis <brooks@FreeBSD.org> AuthorDate: 2024-12-18 01:22:33 +0000 Commit: Brooks Davis <brooks@FreeBSD.org> CommitDate: 2024-12-18 01:22:33 +0000 devel/llvm-devel: build compiler-rt as a runtime This begins to pave the way for an upcoming change were the Flang runtime is seperate from the compiler. It may also allow us to build sanitizer runtimes for multiple targets. No functional change. --- devel/llvm-devel/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/devel/llvm-devel/Makefile b/devel/llvm-devel/Makefile index 934da79b35c0..6f881a9ad2dd 100644 --- a/devel/llvm-devel/Makefile +++ b/devel/llvm-devel/Makefile @@ -247,7 +247,7 @@ USES+= gnome .endif .if ${PORT_OPTIONS:MCOMPILER_RT} -LLVM_ENABLE_PROJECTS+= compiler-rt +LLVM_ENABLE_RUNTIMES+= compiler-rt COMPILER_RT_PATTERN= (sanitizer|include.xray|include\/(fuzzer|orc)|profile\/InstrProfData.inc|profile\/instr_prof_interface.h) .endif @@ -302,6 +302,9 @@ POLLY_PATTERN= include\/polly|cmake\/polly|LLVMPolly.so|libPolly .if defined(LLVM_ENABLE_PROJECTS) CMAKE_ARGS+= -DLLVM_ENABLE_PROJECTS="${LLVM_ENABLE_PROJECTS:ts;}" .endif +.if defined(LLVM_ENABLE_RUNTIMES) +CMAKE_ARGS+= -DLLVM_ENABLE_RUNTIMES="${LLVM_ENABLE_RUNTIMES:ts;}" +.endif .include <bsd.port.pre.mk> .include "${.CURDIR}/Makefile.COMMANDS"