[llvm-dev] Tests with ninja failing (original) (raw)
Hamilton Tobon Mosquera via llvm-dev llvm-dev at lists.llvm.org
Wed May 20 14:49:33 PDT 2020
- Previous message: [llvm-dev] [ORC JIT][MLIR] GDBRegistrationListener "second attempt to perform debug registration" assert
- Next message: [llvm-dev] RFC: throw2goto exception optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi there,
I'm switching from make to ninja, but the process has been a nightmare. The projects I'm building compile correctly, but some cfi-lld test cases keep failing. I'm not building lld, so I don't understand why are those test cases being run. Can you help me finding why are they failing and why are they being run?.
These are the tests cases that fail:
cfi-devirt-lld-thinlto-x86_64 :: ...
cfi-devirt-lld-x86_64 :: ...
cfi-standalone-lld-thinlto-x86_64 :: ...
cfi-standalone-lld-x86_64 :: ...
The output at the end: Unsupported Tests : 14399 Expected Passes : 47235 Expected Failures : 161 # What does this mean?. Unexpected Failures: 28
This is the configure command I'm using:
cmake -G Ninja -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_INSTALL_PREFIX=$INSTALL_DIR \
-DLLVM_TARGETS_TO_BUILD="X86;AMDGPU;NVPTX" \
-DLLVM_ENABLE_PROJECTS="clang;clang-tools-extra;compiler-rt;parallel-libs" \
-DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX \
-DLLVM_BUILD_EXAMPLES=ON -DBUILD_SHARED_LIBS=ON \
-DLLVM_BINUTILS_INCDIR=$BINUTILS -DLLVM_USE_PERF=ON \
-DLLVM_ENABLE_SPHINX=ON -DSPHINX_WARNINGS_AS_ERRORS=OFF \
-DLLVM_OPTIMIZED_TABLEGEN=ON -DLLVM_CCACHE_BUILD=ON \
-DLLVM_CCACHE_MAXSIZE=0 -DLLVM_CCACHE_DIR=$CCACHE_DIR \
$PROJECT_ROOT 2>&1 | tee debug_configure.log
The build command:
ninja -j6
The tests command:
ninja check-all
Thank you.
Hamilton.
- Previous message: [llvm-dev] [ORC JIT][MLIR] GDBRegistrationListener "second attempt to perform debug registration" assert
- Next message: [llvm-dev] RFC: throw2goto exception optimization
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]