Skip to content
Snippets Groups Projects
Commit d2a712f7 authored by Tobias C. Berner's avatar Tobias C. Berner
Browse files

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
parent ae1e7214
No related branches found
No related tags found
No related merge requests found
...@@ -10,19 +10,17 @@ WWW= https://developer.android.com/ndk/guides/simpleperf ...@@ -10,19 +10,17 @@ WWW= https://developer.android.com/ndk/guides/simpleperf
LICENSE= APACHE20 LICENSE= APACHE20
BUILD_DEPENDS= llvm-config${LLVM_DEFAULT}:devel/llvm${LLVM_DEFAULT}
USE_GITHUB= yes USE_GITHUB= yes
GH_TUPLE= jbeich:platform_system_extras:${DISTVERSIONFULL} \ GH_TUPLE= jbeich:platform_system_extras:${DISTVERSIONFULL} \
aosp-mirror:platform_system_core:${DISTVERSIONFULL}:core \ aosp-mirror:platform_system_core:${DISTVERSIONFULL}:core \
aosp-mirror:platform_bionic:${DISTVERSIONFULL}:bionic/bionic 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 BUILD_WRKSRC= ${WRKSRC}/simpleperf
INSTALL_WRKSRC= ${BUILD_WRKSRC} INSTALL_WRKSRC= ${BUILD_WRKSRC}
TEST_WRKSRC= ${BUILD_WRKSRC} TEST_WRKSRC= ${BUILD_WRKSRC}
MAKEFILE= ${FILESDIR}/Makefile 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 ALL_TARGET= all
TEST_TARGET= test TEST_TARGET= test
LDFLAGS+= -Wl,--as-needed # avoid overlinking (llvm deps) LDFLAGS+= -Wl,--as-needed # avoid overlinking (llvm deps)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment