From nobody Tue Apr 18 16:48:49 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Q18yB5p64z45L5G; Tue, 18 Apr 2023 16:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Q18yB2XtVz47Lc; Tue, 18 Apr 2023 16:48:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681836530; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TcnkqqUQzkWERkd8Mb4RuTRu6/KyEmvyi4KMWxUGD20=; b=RjD1Q7+AI/tmUDjQzHjvHNe5W3jqkrstwCLN57fWnGz7TsQTdh6gVCud4Dwajvv7dCrR4W 2TIhb3zjpKDbcf0r6T4L7dm68oBdK3Bv6b0QnJdZE3eB7LlN7+GLwNh4d1N5RudRdFPTcm 9NqJ3N914bbijtM2LuXZUUBBNpj6USlSsyQrAV1PqGavovehQoD22FGt7pD+PyztII9a8E u/OomcIild1r/B9r/P+NongwCVm4PEp+fqQuNzJIyCVSZ77eWagAf6vduIfyIQk+254IZ8 UR/cY6xpqDe92VOd6cHq7N3ZFwYEiYidGtWoRNeaO2SSOGSLvKgLQbIrbRXGNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1681836530; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TcnkqqUQzkWERkd8Mb4RuTRu6/KyEmvyi4KMWxUGD20=; b=ChJVwFfTAOyrhDUTbJ71AQSOO9o1vv7QmpHTQzIH3137gyCHuPCRKt455CxOd2dWe3rg6c G6ZNhJWNtPDeZUZsQGT8oGOl6xx6kj2E3EMOZIRfBv/AaB2SeJ5o7YLssXAe7pgpaLFqcR BH9EidxBBuHAq01dtdmtJuh6l3cBad9kZ67bjCf7WjKnG6N/qhlZmu8IfjAZ5DFZ3ChyYO 9lqyducW7sx9TIjlMYoG65oRQkuxCG6pdHRykbTXQ4IpeNBthNlzTGTKvNCsNVumKonudC bK/rCQYoLVkx2fe1UXLZCroMECRAeiwejKujFwPiJd0iXTB/wXvmYxevpf+zDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1681836530; a=rsa-sha256; cv=none; b=bBLGIbyJRpjqWj4PJ34YUM8hKVoKy6zd+HeQP2gnpHepzFrEp8FC7jsRnpxoVTKw5FD8N5 1OwJRI4aCD91pXbMg8edihdlWCsqs1qzui9X4AnsRXiQNox7Sy6g4Dpf8D9zjtIKt00KkY odtYBPm0XPlfQhEmXhU9e2/1a6NBNPiYaTKomrYWZir6oJEy6S0VNcY2TcH4tyWuHwBMOn kHX/3kLHry83TlHpPTxR20geWd8YO7Ml085UdmOxXVXyc2wOZi4hvDYMGUo6A0OJnu8WDW sgwzs0QWZfl5NMCfkzQWV6jywlOfiAxMnY+tkbyCBRkLPcqbaoGLEMM8Sr6YMA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Q18y96k9zzKR3; Tue, 18 Apr 2023 16:48:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 33IGmnXI043956; Tue, 18 Apr 2023 16:48:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33IGmnLd043955; Tue, 18 Apr 2023 16:48:49 GMT (envelope-from git) Date: Tue, 18 Apr 2023 16:48:49 GMT Message-Id: <202304181648.33IGmnLd043955@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Brooks Davis Subject: git: 8fc3ddb680af - main - devel/llvm-{cheri,morello}: reduce runtime dependencies List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: brooks X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8fc3ddb680afd5589a36921e02773bb75d0ed7cf Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by brooks: URL: https://cgit.FreeBSD.org/ports/commit/?id=8fc3ddb680afd5589a36921e02773bb75d0ed7cf commit 8fc3ddb680afd5589a36921e02773bb75d0ed7cf Author: Brooks Davis AuthorDate: 2023-04-18 16:48:33 +0000 Commit: Brooks Davis CommitDate: 2023-04-18 16:48:33 +0000 devel/llvm-{cheri,morello}: reduce runtime dependencies Disable libedit and libxml2 dependencies as they have no obvious use. Disable the the perl and python runtime deps. While we do install scripts that require these, most users of these ports will either use them on a full system where perl and python will end up installed or use them on a CHERI system were reducing bootstrap time is valuable. Sponsored by: DARPA --- devel/llvm-cheri/Makefile | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/devel/llvm-cheri/Makefile b/devel/llvm-cheri/Makefile index 32f7a86b8d6e..554483f3aa28 100644 --- a/devel/llvm-cheri/Makefile +++ b/devel/llvm-cheri/Makefile @@ -25,8 +25,7 @@ COMMAND_SUFFIX= ${LLVM_SUFFIX} DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX} DATADIR= ${PREFIX}/share/${PORTNAME}${LLVM_SUFFIX} -USES= cmake compiler:c++11-lib cpe libedit perl5 \ - shebangfix +USES= cmake compiler:c++17-lang cpe shebangfix USE_LDCONFIG= ${LLVM_PREFIX}/lib SHEBANG_FILES= \ clang/tools/clang-format/git-clang-format \ @@ -56,6 +55,8 @@ CMAKE_ARGS+= -DLLVM_BUILD_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR:PATH="share/man" CMAKE_ARGS+= -DLLVM_PARALLEL_LINK_JOBS=1 CMAKE_ARGS+= -DLLVM_ENABLE_Z3_SOLVER=OFF +CMAKE_ARGS+= -DLLVM_ENABLE_LIBXML2=OFF +CMAKE_ARGS+= -DLLVM_ENABLE_LIBEDIT=OFF CMAKE_ARGS+= -DLLVM_TARGETS_TO_BUILD="${LLVM_TARGETS}" .ifndef MASTERDIR @@ -75,9 +76,11 @@ OPTIONS_SUB= yes CLANG_DESC= Build clang CLANG_PORTDOCS= clang +CLANG_USES= perl5 +# scan-build does require, but users can install it manually. +CLANG_USE= PERL5=build PLIST_FILES+= share/toolchains/llvm${LLVM_SUFFIX}.mk SUB_FILES+= xtoolchain.mk -CLANG_USE= GNOME=libxml2 DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}recommonmark>=0.0.20180530:textproc/py-recommonmark@${PY_FLAVOR} DOCS_CMAKE_ON= -DLLVM_ENABLE_SPHINX=ON \ @@ -124,7 +127,8 @@ USES+= gnome .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= ${LIT_MAN1SRCS} -_USES_PYTHON= python:3.6+ +# lit requires python, but don't install it by default. Users can install. +#_USES_PYTHON= python:3.6+ .endif .if ${PORT_OPTIONS:MLLD}