From 66e51f0bce056b8ac6c73d9103e731f4cbca298b Mon Sep 17 00:00:00 2001 From: Aditya Alok Date: Sun, 3 Apr 2022 02:57:25 +0530 Subject: [PATCH] fix(iwyu): disable auto-update latest release corresponds to latest release of clang, but we might not have that version still. this fixes build failure due to undefined 'clang::UsingType' symbol, which is introduced in clang-14. %ci:no-build Signed-off-by: Aditya Alok --- packages/iwyu/build.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/iwyu/build.sh b/packages/iwyu/build.sh index 31c5a1287..07044d363 100644 --- a/packages/iwyu/build.sh +++ b/packages/iwyu/build.sh @@ -2,9 +2,10 @@ TERMUX_PKG_HOMEPAGE=https://include-what-you-use.org/ TERMUX_PKG_DESCRIPTION="A tool to analyze #includes in C and C++ source files" TERMUX_PKG_LICENSE=NCSA TERMUX_PKG_MAINTAINER="@termux" +# Update this when libllvm is updated: TERMUX_PKG_VERSION=0.17 TERMUX_PKG_SRCURL=https://github.com/include-what-you-use/include-what-you-use/archive/$TERMUX_PKG_VERSION.tar.gz TERMUX_PKG_SHA256=2682727a4462d2d233ac1c03e63b29d606262dd9e54920e7a70dddc25d4cb270 -TERMUX_PKG_AUTO_UPDATE=true -TERMUX_PKG_DEPENDS='clang, python' -TERMUX_PKG_BUILD_DEPENDS=libllvm-static +TERMUX_PKG_AUTO_UPDATE=false # can't be auto-updated since release correspond to clang version. +TERMUX_PKG_DEPENDS="clang, python" +TERMUX_PKG_BUILD_DEPENDS="libllvm-static"