devel/android-tools-simpleperf: lock llvm-version at 9

LLVM_DEFAULT will be bumped to 15, this port fails with:
	[...]
	/usr/local/llvm15/include/llvm/ADT/STLForwardCompat.h:74:21:
	error: no template named 'remove_cv_t' i n namespace 'std'; did
	you mean 'remove_cv'?
	  using type = std::remove_cv_t<std::remove_reference_t<T>>;
		       ~~~~~^~~~~~~~~~~
			    remove_cv
	[...]

PR:		263456
This commit is contained in:
Tobias C. Berner 2022-12-17 21:28:23 +01:00
parent ae1e7214c8
commit d2a712f7c1

View file

@ -10,19 +10,17 @@ WWW= https://developer.android.com/ndk/guides/simpleperf
LICENSE= APACHE20
BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USE_GITHUB= yes
GH_TUPLE= jbeich:platform_system_extras:${DISTVERSIONFULL} \
aosp-mirror:platform_system_core:${DISTVERSIONFULL}:core \
aosp-mirror:platform_bionic:${DISTVERSIONFULL}:bionic/bionic
USES= compiler:c++11-lib ncurses uidfix
USES= compiler:c++11-lib llvm:max=9,build ncurses uidfix
BUILD_WRKSRC= ${WRKSRC}/simpleperf
INSTALL_WRKSRC= ${BUILD_WRKSRC}
TEST_WRKSRC= ${BUILD_WRKSRC}
MAKEFILE= ${FILESDIR}/Makefile
MAKE_ENV= BINDIR="${PREFIX}/bin" LLVM_CONFIG="llvm-config${LLVM_DEFAULT}"
MAKE_ENV= BINDIR="${PREFIX}/bin" LLVM_CONFIG=${LLVM_CONFIG}
ALL_TARGET= all
TEST_TARGET= test
LDFLAGS+= -Wl,--as-needed # avoid overlinking (llvm deps)