Skip to content

Commit

Permalink
devel/android-tools-simpleperf: lock llvm-version at 9
Browse files Browse the repository at this point in the history
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
  • Loading branch information
tcberner committed Dec 17, 2022
1 parent ae1e721 commit d2a712f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions devel/android-tools-simpleperf/Makefile
Expand Up @@ -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)
Expand Down

0 comments on commit d2a712f

Please sign in to comment.