From owner-svn-ports-all@FreeBSD.ORG Thu Sep 25 14:01:35 2014 Return-Path: Delivered-To: svn-ports-all@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 003E8D0F; Thu, 25 Sep 2014 14:01:34 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF1EA15C; Thu, 25 Sep 2014 14:01:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PE1Y2s090987; Thu, 25 Sep 2014 14:01:34 GMT (envelope-from brooks@FreeBSD.org) Received: (from brooks@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s8PE1X1e090983; Thu, 25 Sep 2014 14:01:33 GMT (envelope-from brooks@FreeBSD.org) Message-Id: <201409251401.s8PE1X1e090983@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: brooks set sender to brooks@FreeBSD.org using -f From: Brooks Davis Date: Thu, 25 Sep 2014 14:01:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r369255 - in head/devel: llvm33 llvm33/files llvm34 llvm34/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 14:01:35 -0000 Author: brooks Date: Thu Sep 25 14:01:33 2014 New Revision: 369255 URL: http://svnweb.freebsd.org/changeset/ports/369255 QAT: https://qat.redports.org/buildarchive/r369255/ Log: Enable builds on/for Raspberry Pi and other arm variants. USES=python PR: 191996 Submitted by: direct727@gmail.com Sponsored by: DARPA, AFRL Modified: head/devel/llvm33/Makefile head/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py head/devel/llvm34/Makefile head/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py Modified: head/devel/llvm33/Makefile ============================================================================== --- head/devel/llvm33/Makefile Thu Sep 25 13:56:06 2014 (r369254) +++ head/devel/llvm33/Makefile Thu Sep 25 14:01:33 2014 (r369255) @@ -110,10 +110,10 @@ CONFIGURE_ARGS+= --disable-docs .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 -USE_PYTHON= -2.9 +USES+= python:-2.9 LIT_COMMANDS= lit llvm-lit FileCheck .else -USE_PYTHON_BUILD= -2.9 +USES+= python:-2.9:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} Modified: head/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py ============================================================================== --- head/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py Thu Sep 25 13:56:06 2014 (r369254) +++ head/devel/llvm33/files/patch-utils_llvm-build_llvmbuild_main.py Thu Sep 25 14:01:33 2014 (r369255) @@ -3,13 +3,16 @@ $FreeBSD$ --- utils/llvm-build/llvmbuild/main.py.orig +++ utils/llvm-build/llvmbuild/main.py -@@ -633,7 +633,13 @@ +@@ -652,7 +652,16 @@ # We handle a few special cases of target names here for historical # reasons, as these are the names configure currently comes up with. - native_target_name = { 'x86' : 'X86', + native_target_name = { 'amd64' : 'X86', + 'arm' : 'ARM', ++ 'armeb' : 'ARM', ++ 'armv6' : 'ARM', ++ 'armv6hf' : 'ARM', + 'i386' : 'X86', + 'mips' : 'Mips', + 'powerpc' : 'PowerPC', Modified: head/devel/llvm34/Makefile ============================================================================== --- head/devel/llvm34/Makefile Thu Sep 25 13:56:06 2014 (r369254) +++ head/devel/llvm34/Makefile Thu Sep 25 14:01:33 2014 (r369255) @@ -110,10 +110,10 @@ CONFIGURE_ARGS+= --disable-docs .if ${PORT_OPTIONS:MLIT} MAN1SRCS+= lit.1 -USE_PYTHON= yes +USES+= python LIT_COMMANDS= lit llvm-lit FileCheck .else -USE_PYTHON_BUILD= yes +USES+= python:build .endif .if ${PORT_OPTIONS:MLTOPLUGIN} Modified: head/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py ============================================================================== --- head/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py Thu Sep 25 13:56:06 2014 (r369254) +++ head/devel/llvm34/files/patch-utils_llvm-build_llvmbuild_main.py Thu Sep 25 14:01:33 2014 (r369255) @@ -3,13 +3,16 @@ $FreeBSD$ --- utils/llvm-build/llvmbuild/main.py.orig +++ utils/llvm-build/llvmbuild/main.py -@@ -633,7 +633,13 @@ +@@ -699,7 +699,16 @@ # We handle a few special cases of target names here for historical # reasons, as these are the names configure currently comes up with. - native_target_name = { 'x86' : 'X86', + native_target_name = { 'amd64' : 'X86', + 'arm' : 'ARM', ++ 'armeb' : 'ARM', ++ 'armv6' : 'ARM', ++ 'armv6hf' : 'ARM', + 'i386' : 'X86', + 'mips' : 'Mips', + 'powerpc' : 'PowerPC',