[llvm-dev] check-polly and check-lldb failing
chiasa.men via llvm-dev
llvm-dev at lists.llvm.org
Sun Aug 22 22:58:59 PDT 2021
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20210823/0095b206/attachment.html>
More information about the llvm-dev
mailing list