LLVM 2.8 on kfreebsd

Christoph Egger christoph at debian.org
Sat Jun 25 13:28:16 UTC 2011


Hi all!

    Looking into that again. I have now built llvm-2.8 successfully in
the buildd chroot with the following patch. So it seems to indeed be a
problem with running the testsuite in parallel. Additionally the
(seemingly) same problem manifests itself with llvm-2.9 without
wrapping in a schroot or something so that might help debugging.

    I'll dig a bit deeper still and will report when I find
something. If you don't hear back today it will unfortunately be stuck
behind work again, I'll come back as I find time but would be happy if
someone else finds a way to resolv this. The patch might even work as
a workaround (potentially conditionalized on kFreeBSD).


diff -Nru llvm-2.8-2.8/debian/rules.d/build.mk llvm-2.8-2.8/debian/rules.d/build.mk
--- llvm-2.8-2.8/debian/rules.d/build.mk        2011-04-11 19:59:20.000000000 +0000
+++ llvm-2.8-2.8/debian/rules.d/build.mk        2011-06-25 11:38:13.000000000 +0000
@@ -48,7 +48,7 @@
 #           &)
        if test "x$(nocheck)-$($(strip $(call buildof,$*))_check)" = "xno-yes" ; then \
          if test "x$($*_check)" = "xyes" ; then \
-           $(MAKE) -C $($*_builddir) $($*_MAKECHECKOPTS) check || true ; \
+           $(MAKE) -C $($*_builddir) $($*_MAKECHECKOPTS) LIT_ARGS="-j1 -s -v" check || true ; \
          fi ; \
        fi
        $(call $*_extra_check)


Regards

    Christoph



More information about the Pkg-llvm-team mailing list