Date: Sun, 9 May 2021 08:39:29 GMT From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: ddcc71ca2065 - main - databases/arrow: Fix build on 14 Message-ID: <202105090839.1498dTX6005892@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ddcc71ca2065fc1561b3090362e01712668c0981 commit ddcc71ca2065fc1561b3090362e01712668c0981 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-05-09 08:38:12 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-05-09 08:39:26 +0000 databases/arrow: Fix build on 14 clang-11 crashes on 14, so use clang-10 instead. Reported by: fallout --- databases/arrow/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/databases/arrow/Makefile b/databases/arrow/Makefile index 732243266ae5..2862a156f9e4 100644 --- a/databases/arrow/Makefile +++ b/databases/arrow/Makefile @@ -1,5 +1,6 @@ PORTNAME= arrow DISTVERSION= 4.0.0 +PORTREVISION= 1 CATEGORIES= databases MASTER_SITES= https://mirrors.advancedhosters.com/apache/${PORTNAME}/${PORTNAME}-${DISTVERSION}/ \ https://github.com/apache/orc/archive/rel/:orc @@ -167,6 +168,16 @@ OPTIONS_DEFAULT+= ${opt} . endif .endfor +.include <bsd.port.pre.mk> + +.if ${CHOSEN_COMPILER_TYPE} == clang && ${OPSYS} == FreeBSD +LLVM_VER= 10 # clang-11 crashes on FreeBSD 14: https://bugs.llvm.org/show_bug.cgi?id=50277 + +BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER} +CC= ${LOCALBASE}/bin/clang${LLVM_VER} +CXX= ${LOCALBASE}/bin/clang++${LLVM_VER} +.endif + pre-configure-PYTHON-on: @${REINPLACE_CMD} -e ' \ s|arrow_python|arrow_python${PYTHON_SUFFIX}|g; \ @@ -219,4 +230,4 @@ do-test: # tests fail to compile: https://issues.apache.org/jira/browse/ARROW-12 ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} test -.include <bsd.port.mk> +.include <bsd.port.post.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105090839.1498dTX6005892>