Re: git: fa7309cb976e - main - lang/clover: Restrict llvm to max version 16
- In reply to: Emmanuel Vadot : "git: fa7309cb976e - main - lang/clover: Restrict llvm to max version 16"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 24 Nov 2023 09:59:48 UTC
Emmanuel Vadot <manu@FreeBSD.org> writes: > While here clean up a bit the USES=llvm for mesa port, we already set noexport > in mesa-dri/Makefile.common so no need to set it in all the ports. [...] > diff --git a/graphics/mesa-dri/Makefile b/graphics/mesa-dri/Makefile > index e309b1adf75f..4e79e3ef500c 100644 > --- a/graphics/mesa-dri/Makefile > +++ b/graphics/mesa-dri/Makefile > @@ -8,7 +8,7 @@ WWW= https://www.mesa3d.org/ > > LIB_DEPENDS+= libglapi.so:graphics/mesa-libs > > -USES+= llvm:lib,noexport > +USES+= llvm:lib USES=llvm from Makefile.common has no effect due to bug 199603. For example, poudriere build now has the following noise: sh: /usr/local/llvm15/bin/clang: not found make: "/usr/ports/Mk/Uses/compiler.mk" line 80: warning: "/usr/local/llvm15/bin/clang --version" returned non-zero status make: "/usr/ports/Mk/Uses/compiler.mk" line 128: warning: "/usr/local/llvm15/bin/clang++ -### /dev/null 2>&1" returned non-zero status breaks WITH_LTO build (via make.conf or Makefile.local) on FreeBSD 13.2: llvm-ar: error: src/c11/impl/libmesa_util_c11.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') llvm-ar: error: src/util/libmesa_util_sse41.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') llvm-ar: error: src/util/libxmlconfig.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') llvm-ar: error: src/util/libmesa_util.a: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0.7' Reader: 'LLVM 14.0.5') [...] and may pessimize WITH_CCACHE_BUILD due to absolute path in CC/CXX.