-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
Problem
I can't see custom rules aliceO2-member-name in the compiled product.
# ./tool/O2codecheck -checks="-*,al*" --list-checks
Enabled checks:
altera-id-dependent-backward-branch
altera-kernel-name-restriction
altera-single-work-item-barrier
altera-struct-pack-align
altera-unroll-loopsReproduction
- set env
- llvm 13.0.1
- cmake-3.28.0
- gcc-9.1.0
- O2CodeChecker v13.0
export LLVM_HOME=/path/to/clang+llvm-13.0.1-x86_64-linux-gnu-ubuntu-18.04
export CMAKE_HOME=/path/to/cmake-3.28.0-rc3
export GCC_HOME=/path/to/gcc-9.1.0/
export CC=$GCC_HOME/bin/gcc
export CXX=$GCC_HOME/bin/g++
export LD_LIBRARY_PATH=$LLVM_HOME/lib:$GCC_HOME/lib64:$LD_LIBRARY_PATH
export PATH=$GCC_HOME/bin:$CMAKE_HOME/bin/:$PATH- build O2CodeChecker v13.0
mkdir build
cd build/
cmake -DLLVM_DIR=$LLVM_HOME/lib/cmake/llvm -DClang_DIR=$LLVM_HOME/lib/cmake/clang/ ../
make -j8- run
cd build
./tool/O2codecheck -checks="-*,al*" --list-checksMetadata
Metadata
Assignees
Labels
No labels