From owner-soc-status@FreeBSD.ORG Tue Jun 8 20:20:00 2010 Return-Path: Delivered-To: soc-status@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 89B7D10657DD for ; Tue, 8 Jun 2010 20:20:00 +0000 (UTC) (envelope-from hinokind@gmail.com) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1C4A38FC17 for ; Tue, 8 Jun 2010 20:19:59 +0000 (UTC) Received: by ewy24 with SMTP id 24so2413518ewy.34 for ; Tue, 08 Jun 2010 13:19:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:subject:to:date :mime-version:content-transfer-encoding:from:message-id:user-agent; bh=3UAFoLd3B+6hUqieMJdNradauZO7pdmU2eZKbr5VAo8=; b=JT6Livu7X37ouEDaEdqx2Sa4jsMo4pOtcpikOiGiwDUM/QSEtz966Bfuag6YBM2Qev K+vLYbD8Np9hj1A4vehEa/LGMHyMFQRx7YLBC5r2SACh/JNl+rcvzZAdlWn6OMowybut s3wIL55ZsuQuDeuS47b7DVuGIZTO9MfpUhMCc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:subject:to:date:mime-version:content-transfer-encoding :from:message-id:user-agent; b=eg1X8cbHvMu7Lr7ZCv04kqENNyCC6+qFXu9uDdtZ3Aq947I/7pplYvfQYVPVNuAn4T pNVLsS2+8+30PB/dqPxxF4xn7L+OuOmIbsXASPjUWESzBQT+4U1mmfm/Sj6RWr8F/CrY G5+ceiFTKjmGWvAT/H+BtrxxREtN4JtIsZehM= Received: by 10.213.29.210 with SMTP id r18mr749129ebc.20.1276028398300; Tue, 08 Jun 2010 13:19:58 -0700 (PDT) Received: from klevas (hst-17-80.splius.lt [77.79.17.80]) by mx.google.com with ESMTPS id 13sm3571679ewy.13.2010.06.08.13.19.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 08 Jun 2010 13:19:57 -0700 (PDT) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: soc-status@freebsd.org Date: Tue, 08 Jun 2010 23:19:56 +0300 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: =?utf-8?B?QW5kcml1cyBNb3JrxatuYXM=?= Message-ID: User-Agent: Opera Mail/10.60 (FreeBSD) Subject: Making ports work with clang, report #2 X-BeenThere: soc-status@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Summer of Code Status Reports and Discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Jun 2010 20:20:00 -0000 I'm [still] working on creating an easy way to change ports compiler without breaking too much stuff. http://wiki.freebsd.org/SOC2010AndriusMorkunas Last week I've written a patch for bsd.port.mk that allows to set ports compiler by defining PORTS_CC in make.conf. I intend to handle newer gcc versions properly, but right now anything other than "gcc" or "clang" will probably break something or will not work as intended. I've also implemented USE_CC, which should replace USE_GCC at least for some ports. This week will probably be spent by trying to get support for other gcc versions, handling the situation when clang is not installed, and some other edge cases that will cause problems when users try to do something crazy with PORTS_CC and/or PORTS_CXX. -- Andrius