From owner-freebsd-ports@FreeBSD.ORG Sun Nov 17 13:42:54 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BB0E2BF4 for ; Sun, 17 Nov 2013 13:42:54 +0000 (UTC) Received: from mailrelay002.isp.belgacom.be (mailrelay002.isp.belgacom.be [195.238.6.175]) by mx1.freebsd.org (Postfix) with ESMTP id 4FFB72EBB for ; Sun, 17 Nov 2013 13:42:53 +0000 (UTC) X-Belgacom-Dynamic: yes X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AqwNADuxiFJbs6sV/2dsb2JhbABZgweNa69QgnuBDxd0giUBAQU6HCMQCxgJJQ8qHgaIGAHBCBePaQeEMQOYD5IOgyk7 Received: from 21.171-179-91.adsl-dyn.isp.belgacom.be (HELO kalimero.tijl.coosemans.org) ([91.179.171.21]) by relay.skynet.be with ESMTP; 17 Nov 2013 14:42:46 +0100 Received: from kalimero.tijl.coosemans.org (kalimero.tijl.coosemans.org [127.0.0.1]) by kalimero.tijl.coosemans.org (8.14.7/8.14.7) with ESMTP id rAHDgilt012967; Sun, 17 Nov 2013 14:42:45 +0100 (CET) (envelope-from tijl@coosemans.org) Date: Sun, 17 Nov 2013 14:42:43 +0100 From: Tijl Coosemans To: Ajtim Subject: Re: why to the same versions of clang Message-ID: <20131117144243.55a09ff7@kalimero.tijl.coosemans.org> In-Reply-To: <3579085.dv39n1IBRa@lumiwa.farms.net> References: <3579085.dv39n1IBRa@lumiwa.farms.net> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Nov 2013 13:42:54 -0000 On Sat, 16 Nov 2013 07:10:14 -0500 Ajtim wrote: > I like to know what is different with default clang on FreeBSD > 10.0-BETA3 and cland from /devel. I like to install blender and > graphics/blender and graphics/openshadinglanguage need/wanted clang > from /devel. The same version as I have: > clang -v > FreeBSD clang version 3.3 (tags/RELEASE_33/final 183502) 20130610 > Target: x86_64-unknown-freebsd10.0 > Thread model: posix The LLVM in base only provides what's needed for Clang. In fact there are no LLVM libraries and tools installed at all. So ports that use LLVM like openshadinglanguage (which is essentially a compiler implemented on top of LLVM) need to depend on one of the LLVM ports. This particular port also uses clang to compile some C++ code into LLVM bitcode and this bitcode needs to work with the version of LLVM that it uses. Currently you could use base system clang for that because the versions are the same, but when FreeBSD switches to Clang/LLVM 3.4 that will no longer be the case.