From owner-dev-commits-ports-all@freebsd.org Sun May 9 08:39:29 2021 Return-Path: Delivered-To: dev-commits-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id DC1A862FFF9; Sun, 9 May 2021 08:39:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4FdHfn5ysWz4n2N; Sun, 9 May 2021 08:39:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BF85F6C0A; Sun, 9 May 2021 08:39:29 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1498dTOP005893; Sun, 9 May 2021 08:39:29 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1498dTX6005892; Sun, 9 May 2021 08:39:29 GMT (envelope-from git) Date: Sun, 9 May 2021 08:39:29 GMT Message-Id: <202105090839.1498dTX6005892@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: ddcc71ca2065 - main - databases/arrow: Fix build on 14 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ddcc71ca2065fc1561b3090362e01712668c0981 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 May 2021 08:39:29 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=ddcc71ca2065fc1561b3090362e01712668c0981 commit ddcc71ca2065fc1561b3090362e01712668c0981 Author: Yuri Victorovich AuthorDate: 2021-05-09 08:38:12 +0000 Commit: Yuri Victorovich 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 + +.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 +.include