From user-return-1151-archive-asf-public=cust-asf.ponee.io@arrow.apache.org Wed Mar 31 05:13:18 2021 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-ec2-va.apache.org (mxout1-ec2-va.apache.org [3.227.148.255]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id EB82F18057A for ; Wed, 31 Mar 2021 07:13:17 +0200 (CEST) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-ec2-va.apache.org (ASF Mail Server at mxout1-ec2-va.apache.org) with SMTP id 35C203F58D for ; Wed, 31 Mar 2021 05:13:17 +0000 (UTC) Received: (qmail 43154 invoked by uid 500); 31 Mar 2021 05:13:15 -0000 Mailing-List: contact user-help@arrow.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@arrow.apache.org Delivered-To: mailing list user@arrow.apache.org Received: (qmail 43098 invoked by uid 99); 31 Mar 2021 05:13:15 -0000 Received: from spamproc1-he-de.apache.org (HELO spamproc1-he-de.apache.org) (116.203.196.100) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Mar 2021 05:13:15 +0000 Received: from localhost (localhost [127.0.0.1]) by spamproc1-he-de.apache.org (ASF Mail Server at spamproc1-he-de.apache.org) with ESMTP id 9002E1FF39B for ; Wed, 31 Mar 2021 05:13:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamproc1-he-de.apache.org X-Spam-Flag: NO X-Spam-Score: -0.2 X-Spam-Level: X-Spam-Status: No, score=-0.2 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamproc1-he-de.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=clear-code.com Received: from mx1-he-de.apache.org ([116.203.227.195]) by localhost (spamproc1-he-de.apache.org [116.203.196.100]) (amavisd-new, port 10024) with ESMTP id LK5KiuUbVOUb for ; Wed, 31 Mar 2021 05:13:13 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=153.126.206.245; helo=mail.clear-code.com; envelope-from=kou@clear-code.com; receiver= Received: from mail.clear-code.com (mail.clear-code.com [153.126.206.245]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id A26C67FCCA for ; Wed, 31 Mar 2021 05:13:12 +0000 (UTC) Received: from localhost (flh2-133-200-137-193.tky.mesh.ad.jp [133.200.137.193]) by mail.clear-code.com (Postfix) with ESMTPSA id 9A51FC2AE4 for ; Wed, 31 Mar 2021 14:13:02 +0900 (JST) DKIM-Filter: OpenDKIM Filter v2.11.0 mail.clear-code.com 9A51FC2AE4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=clear-code.com; s=default; t=1617167582; bh=VQn5gjNbFmmDxTEwumNxap6HBsStvVHRzwsbZ9ee/NY=; h=Date:To:Subject:From:In-Reply-To:References:From; b=PvyCMnE5jC9JwwJLFQ5m+hruavSmC/QUk465Bj2goy1LbwMIklwgsRHdgnRzXLLZk 4H1P7Jlg+Ql5mxxSTYzNyJGEy1XoCi1Qgo02Y6H0J5+ES2d8txeOMxakZ232G80Ijc Z77bJC3R5KtXPVfMyN8M395pK4397VQdjoFSIoiQ= Date: Wed, 31 Mar 2021 14:12:59 +0900 (JST) Message-Id: <20210331.141259.618671598286253316.kou@clear-code.com> To: user@arrow.apache.org Subject: Re: LLVM From: Sutou Kouhei In-Reply-To: <205432f7-fda5-ce5f-beba-bfe3424af22d@airmettle.com> References: <205432f7-fda5-ce5f-beba-bfe3424af22d@airmettle.com> X-Mailer: Mew version 6.8 on Emacs 27.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Rspamd-Server: mail.clear-code.com X-Spamd-Result: default: False [1.70 / 999.00]; ARC_NA(0.00)[]; FROM_HAS_DN(0.00)[]; MV_CASE(0.50)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_DN_NONE(0.00)[]; RCPT_COUNT_ONE(0.00)[1]; MID_CONTAINS_FROM(1.00)[]; SUBJ_ALL_CAPS(0.30)[4]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:2518, ipnet:133.200.0.0/14, country:JP] X-Rspamd-Queue-Id: 9A51FC2AE4 Hi, In <205432f7-fda5-ce5f-beba-bfe3424af22d@airmettle.com> "LLVM" on Wed, 31 Mar 2021 12:21:17 +1100, Matt Youill wrote: > Is it possible to override the version of LLVM that arrow uses during > a build? Seems to always pick the latest version it finds. You want to specify LLVM version used by Gandiva, right? If it's right, you can't do it for now. We have LLVM version list as ARROW_LLVM_VERSIONS in cpp/CMakeLists.txt. We can change detection order by changing the list but we don't provide build option to do it. We can improve the current behavior by adding a new build option such as ARROW_LLVM_VERSION into cpp/cmake_modules/DefineOptions.cmake and using it as the desired LLVM version. Thanks, -- kou