[llvm-dev] check-polly and check-lldb failing

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Tue Aug 24 08:52:21 PDT 2021


The check-polly failure should be fixed by
https://github.com/llvm/llvm-project/commit/cdbc86dd225063beb9fc8f6ba1f09afc18435331.

Michael

Am Mo., 23. Aug. 2021 um 00:59 Uhr schrieb chiasa.men <chiasa.men at web.de>:
>
> Moin,
>
> as far as I understand it is just the git clone since there seems no change in the git cloned files:
>
> https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=llvm-git
>
> basically it clones and calls:
>
> build() {
>
>
>
>     export CFLAGS+=" ${CPPFLAGS}"
>
>     export CXXFLAGS+=" ${CPPFLAGS}"
>
>     cmake \
>
>         -B _build \
>
>         -S "$srcdir"/llvm-project/llvm  \
>
>         -G Ninja \
>
>         -D CMAKE_BUILD_TYPE=Release \
>
>         -D CMAKE_INSTALL_PREFIX=/usr \
>
>         -D LLVM_BINUTILS_INCDIR=/usr/include \
>
>         -D LLVM_APPEND_VC_REV=ON \
>
>         -D LLVM_VERSION_SUFFIX="" \
>
>         -D LLVM_HOST_TRIPLE=$CHOST \
>
>         -D LLVM_ENABLE_RTTI=ON \
>
>         -D LLVM_ENABLE_FFI=ON \
>
>         -D FFI_INCLUDE_DIR:PATH="$(pkg-config --variable=includedir libffi)" \
>
>         -D LLVM_BUILD_LLVM_DYLIB=ON \
>
>         -D LLVM_LINK_LLVM_DYLIB=ON \
>
>         -D LLVM_INSTALL_UTILS=ON \
>
>         -D LLVM_BUILD_DOCS=ON \
>
>         -D LLVM_ENABLE_DOXYGEN=OFF \
>
>         -D LLVM_ENABLE_SPHINX=ON \
>
>         -D SPHINX_OUTPUT_HTML:BOOL=OFF \
>
>         -D SPHINX_WARNINGS_AS_ERRORS=OFF \
>
>         -D POLLY_ENABLE_GPGPU_CODEGEN=ON \
>
>         -D LLDB_USE_SYSTEM_SIX=1 \
>
>         -D LLVM_ENABLE_PROJECTS="polly;lldb;lld;compiler-rt;clang-tools-extra;clang" \
>
>         -Wno-dev
>
>
>     ninja -C _build $NINJAFLAGS
>
>     ninja -C _build $NINJAFLAGS ocaml_doc
>
> }
>
>
>
> Am Montag, 23. August 2021, 03:59:15 CEST schrieben Sie:
>
> > The problem
>
> >
>
> > CommandLine Error: Option 'polly-allow-error-blocks' registered more than
>
> > once!
>
> >
>
> > is typically caused by loading Polly multiple times into the address
>
> > space, e.g. once as static and once more as a shared object using the
>
> > `-load` mechanism. Your CMake configuration would be necessary to
>
> > reproduce the problem.
>
> >
>
> > Michael
>
> >
>
> >
>
> > Am So., 22. Aug. 2021 um 14:42 Uhr schrieb chiasa.men via llvm-dev
>
> >
>
> > <llvm-dev at lists.llvm.org>:
>
> > > Attached are logs of the check commands executed while building llvm-git
>
> > > (archlinux AUR package)
>
> > >
>
> > > Both are failing.
>
> > >
>
> > >
>
> > > _______________________________________________
>
> > > LLVM Developers mailing list
>
> > > llvm-dev at lists.llvm.org
>
> > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
>
> On Montag, 23. August 2021 03:59:15 CEST Michael Kruse wrote:
>
> > The problem
>
> >
>
> > CommandLine Error: Option 'polly-allow-error-blocks' registered more than
>
> > once!
>
> >
>
> > is typically caused by loading Polly multiple times into the address
>
> > space, e.g. once as static and once more as a shared object using the
>
> > `-load` mechanism. Your CMake configuration would be necessary to
>
> > reproduce the problem.
>
> >
>
> > Michael
>
> >
>
> >
>
> > Am So., 22. Aug. 2021 um 14:42 Uhr schrieb chiasa.men via llvm-dev
>
> >
>
> > <llvm-dev at lists.llvm.org>:
>
> > > Attached are logs of the check commands executed while building llvm-git
>
> > > (archlinux AUR package)
>
> > >
>
> > > Both are failing.
>
> > >
>
> > >
>
> > > _______________________________________________
>
> > > LLVM Developers mailing list
>
> > > llvm-dev at lists.llvm.org
>
> > > https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
>
>


More information about the llvm-dev mailing list