<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 15, 2014 at 2:39 PM, Renato Golin <span dir="ltr"><<a href="mailto:renato.golin@linaro.org" target="_blank">renato.golin@linaro.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><div class="h5">On 15 October 2014 11:34, İsmail Dönmez <<a href="mailto:ismail@donmez.ws">ismail@donmez.ws</a>> wrote:<br>
> I am doing semi-regular llvm snapshots (with clang,compiler_rt,libcxx and<br>
> libcxxabi) for ARMv7/Linux available at <a href="https://i10z.com/llvm/" target="_blank">https://i10z.com/llvm/</a> . Which might<br>
> be also useful to some of you.<br>
<br>
</div></div>Hi Ismail,<br>
<br>
That's certainly useful, thanks for the work!<br>
<br>
How are you validating these snapshots? Just check-all or running the<br>
test-suite? Is this stage 1, 2 or 3 of a self-hosting chain?<br>
<br></blockquote><div><br></div><div>Sadly these are built on a x86-64 Linux host hence not validated via test-suite. What I currently do is updating llvm snapshot for openSUSE and then using that snapshot to build for ARMv7. So far doing only stage1 builds. Also using linaro-arm-linux-gnueabihf-4.9 toolchain (September 2014 release) for headers.</div><div><br></div><div>FWIW build script is something like:</div><div><br></div><div>CC=arm-clang CXX=arm-clang++ cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_ENABLE_PIC=ON -DLLVM_TARGET_ARCH=ARM -DLLVM_TARGETS_TO_BUILD=all -DLLVM_DEFAULT_TARGET_TRIPLE=$target -DLLVM_ENABLE_TIMESTAMPS=OFF -DCMAKE_INSTALL_PREFIX=$PWD/llvm -DLIBCXXABI_USE_LLVM_UNWINDER=ON -DENABLE_CLANG_EXAMPLES=OFF -DLLVM_INCLUDE_TESTS=OFF -G "Ninja" ..<br></div><div><br></div><div>where arm-clang++ does:</div><div><br></div><div><div>[~]> cat bin/arm-clang++</div><div>#!/bin/sh</div><div><br></div><div>CC=/opt/clang/bin/clang++</div><div>SYSROOT=/havana/binaries/linaro-arm-linux-gnueabihf-4.9</div><div>TARGET=armv7a-unknown-linux-gnueabihf</div><div>CFLAGS="-mfloat-abi=hard -march=armv7-a -mtune=cortex-a8 -mfpu=vfpv3-d16 -fuse-ld=gold"</div><div><br></div><div>$CC -target $TARGET $CFLAGS --sysroot=$SYSROOT "$@"</div></div><div><br></div><div><br></div></div></div></div>