git: bce5435ffc80 - main - emulators/mame: fix build on powerpc* CURRENT
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 08 Jun 2023 20:02:06 UTC
The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=bce5435ffc8066166eaa63df31ae14cac6f3a03f commit bce5435ffc8066166eaa63df31ae14cac6f3a03f Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2023-06-08 19:33:02 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2023-06-08 20:01:56 +0000 emulators/mame: fix build on powerpc* CURRENT Use newer LLVM: Assertion failed: (ESI.Type != EST_Uninstantiated), function SubstExceptionSpec, file /usr/local/poudriere/jails/main-powerpc/usr/src/contrib/llvm-project/clang/lib/Sema/SemaTemplateInstantiate.cpp, line 2240. --- emulators/mame/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/emulators/mame/Makefile b/emulators/mame/Makefile index b30e6045915f..ffeae0127dc2 100644 --- a/emulators/mame/Makefile +++ b/emulators/mame/Makefile @@ -104,7 +104,11 @@ WITH_DEBUG= yes .endif .if ${OPSYS} == FreeBSD && ${OSVERSION} > 1400000 +.if ${ARCH:Mpowerpc*} +USES+= llvm:min=16,build +.else USES+= llvm:15,build +.endif MAKE_ENV+= OVERRIDE_AR="llvm-ar${LLVM_VERSION}" \ OVERRIDE_CC="clang${LLVM_VERSION}" \ OVERRIDE_CXX="clang++${LLVM_VERSION}" \