From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f52.google.com (mail-wm0-f52.google.com [74.125.82.52]) by mail.openembedded.org (Postfix) with ESMTP id 45A2575D4A for ; Fri, 30 Oct 2015 19:51:03 +0000 (UTC) Received: by wmec75 with SMTP id c75so20106262wme.1 for ; Fri, 30 Oct 2015 12:51:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=38jmz2vsXPp7fsDV9r5tWY6p5qSB9129tiY99wjTgW4=; b=mOISYlQUDka1XwHBMU9SpEX9AFHBsQo/WPcJ0vEMFk/jBPUOWJ5XrISYhDwKjdIZ0H XuY2heoUOJ8z5OVePVYgRtmjY2ipl4L1QPo+XXK9/HWOlfQHlAvgKcbSTVehQFlA3U8W PXGVVLIYZbUqQQP2rl8XZ5cNZsshvKp7Gmliy84E9Ja/cYpSYkoFm2iJl/zxkBa10VUt +BOd0GjdLZTDhOit0fZg8KATICTfVnp8dC3iOiQdOUmFDR8018tnyzNq/e9zveEqgQeR N21pVdra0cIAGdAMO+MtHgoED6vyJq0zSReL2HUJW7ztYBlxBUzwlSiQqa+eguPugGVl bSRA== X-Received: by 10.28.215.203 with SMTP id o194mr14008wmg.54.1446234663217; Fri, 30 Oct 2015 12:51:03 -0700 (PDT) Received: from localhost (ip-86-49-34-37.net.upcbroadband.cz. [86.49.34.37]) by smtp.gmail.com with ESMTPSA id r65sm4396368wmb.20.2015.10.30.12.51.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 30 Oct 2015 12:51:02 -0700 (PDT) From: Martin Jansa X-Google-Original-From: Martin Jansa Date: Fri, 30 Oct 2015 20:51:37 +0100 To: openembedded-devel@lists.openembedded.org Message-ID: <20151030195137.GD2566@jama> References: <1446228808-18756-1-git-send-email-philip@balister.org> MIME-Version: 1.0 In-Reply-To: <1446228808-18756-1-git-send-email-philip@balister.org> User-Agent: Mutt/1.5.24 (2015-08-30) Cc: Philip Balister Subject: Re: [meta-oe][PATCHv2] llvm: Add recipe for llvm-3.7.0. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Oct 2015 19:51:05 -0000 X-Groupsio-MsgNum: 58216 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Zs/RYxT/hKAHzkfQ" Content-Disposition: inline --Zs/RYxT/hKAHzkfQ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Oct 30, 2015 at 11:13:28AM -0700, Philip Balister wrote: > From: Philip Balister >=20 > This version builds in parallel with the 3.3 recipe. I had to use the > mesa llvmpipe driver, which required updates to llvm and mesa before it > worked. With updates, I succesfully used the mesa llvmpipe driver. >=20 > * Move the licence file checksum to the version specific part of the rec= ipe > * License changed for 3.7.0 due to year change and adding related softwa= re > * llvm source is now compressed with xz not gz. > * Disable compiler version check since it checks the host compiler. I made one more change in master-next already, I've renamed it to=20 llvm3.7_3.7.0.bb I don't know if there will be 3.7.1 release, but I would assume that 3.7 series will be ABI compatible, so users of this won't need to update DEPENDS when switching from 3.7.0 to 3.7.1 (if that exists). OK? > Signed-off-by: Philip Balister > --- > meta-oe/recipes-core/llvm/llvm.inc | 6 +++--- > meta-oe/recipes-core/llvm/llvm3.3_3.3.bb | 4 ++++ > meta-oe/recipes-core/llvm/llvm3.7.0_3.7.0.bb | 24 ++++++++++++++++++++++= ++ > 3 files changed, 31 insertions(+), 3 deletions(-) > create mode 100644 meta-oe/recipes-core/llvm/llvm3.7.0_3.7.0.bb >=20 > diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/ll= vm/llvm.inc > index 04c87aa..c9a4ce4 100644 > --- a/meta-oe/recipes-core/llvm/llvm.inc > +++ b/meta-oe/recipes-core/llvm/llvm.inc > @@ -23,7 +23,6 @@ HOMEPAGE =3D "http://llvm.org" > # 3-clause BSD-like > # University of Illinois/NCSA Open Source License > LICENSE =3D "NCSA" > -LIC_FILES_CHKSUM =3D "file://LICENSE.TXT;md5=3Dd0a3ef0d3e0e8f5cf59e5ffc2= 73ab1f8" > =20 > DEPENDS =3D "libffi libxml2-native llvm-common" > =20 > @@ -32,7 +31,7 @@ inherit perlnative pythonnative autotools > LLVM_RELEASE =3D "${PV}" > LLVM_DIR =3D "llvm${LLVM_RELEASE}" > =20 > -SRC_URI =3D "http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.gz" > +SRC_URI =3D "http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.xz" > S =3D "${WORKDIR}/llvm-${PV}.src" > =20 > LLVM_BUILD_DIR =3D "${WORKDIR}/llvm-${PV}.build" > @@ -46,7 +45,8 @@ EXTRA_OECONF +=3D "--disable-assertions \ > --enable-libffi \ > --enable-optimized \ > --enable-shared \ > - --enable-targets=3Dhost-only" > + --enable-targets=3Dhost-only \ > + --disable-compiler-version-checks" > EXTRA_OEMAKE +=3D "REQUIRES_RTTI=3D1 VERBOSE=3D1" > =20 > do_configure_prepend() { > diff --git a/meta-oe/recipes-core/llvm/llvm3.3_3.3.bb b/meta-oe/recipes-c= ore/llvm/llvm3.3_3.3.bb > index 60a2221..f1562f6 100644 > --- a/meta-oe/recipes-core/llvm/llvm3.3_3.3.bb > +++ b/meta-oe/recipes-core/llvm/llvm3.3_3.3.bb > @@ -1,8 +1,12 @@ > require llvm.inc > =20 > +LIC_FILES_CHKSUM =3D "file://LICENSE.TXT;md5=3Dd0a3ef0d3e0e8f5cf59e5ffc2= 73ab1f8" > + > DEPENDS +=3D "zlib" > EXTRA_OECONF +=3D "--enable-zlib" > =20 > +# Overwrite SRC_URI from include file since older llvm uses .gz compress= ion > +SRC_URI =3D "http://llvm.org/releases/${PV}/llvm-${PV}.src.tar.gz" > SRC_URI +=3D "file://Remove-error-output-from-configure-if-CFLAGS-is-set= -.patch" > =20 > SRC_URI_append_libc-uclibc =3D " file://arm_fenv_uclibc.patch " > diff --git a/meta-oe/recipes-core/llvm/llvm3.7.0_3.7.0.bb b/meta-oe/recip= es-core/llvm/llvm3.7.0_3.7.0.bb > new file mode 100644 > index 0000000..813b185 > --- /dev/null > +++ b/meta-oe/recipes-core/llvm/llvm3.7.0_3.7.0.bb > @@ -0,0 +1,24 @@ > +require llvm.inc > + > +LIC_FILES_CHKSUM =3D "file://LICENSE.TXT;md5=3D4c0bc17c954e99fd547528d93= 8832bfa" > + > +DEPENDS +=3D "zlib" > +EXTRA_OECONF +=3D "--enable-zlib" > + > +SRC_URI_append_libc-uclibc =3D " file://arm_fenv_uclibc.patch " > + > +SRC_URI[md5sum] =3D "b98b9495e5655a672d6cb83e1a180f8e" > +SRC_URI[sha256sum] =3D "ab45895f9dcdad1e140a3a79fd709f64b05ad7364e308c0e= 582c5b02e9cc3153" > + > +PACKAGECONFIG ??=3D "" > +PACKAGECONFIG[r600] =3D "--enable-experimental-targets=3DR600,,," > + > +PACKAGE_DEBUG_SPLIT_STYLE =3D "debug-without-src" > + > +# Fails to build with thumb-1 (qemuarm) > +# | {standard input}: Assembler messages: > +# | {standard input}:22: Error: selected processor does not support Thum= b mode `stmdb sp!,{r0,r1,r2,r3,lr}' > +# | {standard input}:31: Error: lo register required -- `ldmia sp!,{r0,r= 1,r2,r3,lr}' > +# | {standard input}:32: Error: lo register required -- `ldr pc,[sp],#4' > +# | make[3]: *** [/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te= -oe-linux-gnueabi/llvm3.3/3.3-r0/llvm-3.3.build/lib/Target/ARM/Release/ARMJ= ITInfo.o] Error 1 > +ARM_INSTRUCTION_SET =3D "arm" > --=20 > 1.9.3 >=20 > --=20 > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.openembedded.org/mailman/listinfo/openembedded-devel --=20 Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com --Zs/RYxT/hKAHzkfQ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iEYEARECAAYFAlYzykcACgkQN1Ujt2V2gBxl+wCfYy/FnKxkkfn4VZkUzt6UjQuE 3h0An1PniWrPw8mAnTNqv/IAMXWOXy/e =qZc8 -----END PGP SIGNATURE----- --Zs/RYxT/hKAHzkfQ--