Date: Thu, 31 May 2018 09:47:59 -0700 From: Yuri <yuri@rawbw.com> To: "ports@freebsd.org" <ports@freebsd.org> Subject: What is the right way to change the clang compiler version for one port? Message-ID: <6586e962-859b-28c2-d149-43117813239c@rawbw.com>
next in thread | raw e-mail | index | archive | help
When I need to use clang60, I add these lines: LLVM_VER= 60 BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} CPP= clang-cpp${LLVM_VER} CC= clang${LLVM_VER} CXX= clang++${LLVM_VER} This works, but it also prints this warning in poudriere: [00:00:02] Gathering ports metadata [00:00:02] Warning: (graphics/myport): clang60: not found [00:00:02] Warning: (graphics/myport): make: "/usr/ports/Mk/Uses/compiler.mk" line 75: warning: "clang60 --version" returned non-zero status [00:00:02] Warning: (graphics/myport): make: "/usr/ports/Mk/Uses/compiler.mk" line 130: warning: "clang++60 -### /dev/null 2>&1" returned non-zero status [00:00:07] Calculating ports order and dependencies Should this message be ignored (it's only a warning), or otherwise how to fix it? Thanks, Yuri
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6586e962-859b-28c2-d149-43117813239c>