TiFlash Source Code Compilation Error

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: tiflash源码编译报错

| username: programmer

[TiFLASH Usage Environment] CentOS 8
[TiFLASH Version] V6.5.0
[Issue and Impact]
Error occurs when compiling the source code, the error is as follows:



Compilation process:
cmake … -GNinja -DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_C_COMPILER=/usr/bin/clang-15 -DCMAKE_CXX_COMPILER=/usr/bin/clang+±15

ninja tiflash

[Resource Configuration]
LLVM_VERSION=13.0.0
CMAKE_VERSION=3.22.1
CLANG_VERSION=15
GCC_VERSION=8.5

| username: flow-PingCAP | Original post link

Regarding the compiler issue, please configure the compilation tools according to the requirements listed here: GitHub - pingcap/tiflash: The analytical engine for TiDB and TiDB Cloud. Try free: https://tidbcloud.com/free-trial for the corresponding system.

| username: 哈喽沃德 | Original post link

Check if the CPU is supported.

| username: TiDBer_rvITcue9 | Original post link

Check if the CPU is supported.

| username: chris-zhang | Original post link

Check if the CPU is supported.

| username: 呢莫不爱吃鱼 | Original post link

Does the CPU not support the AVX2 instruction set?

| username: 小于同学 | Original post link

Check if the CPU is supported.

| username: system | Original post link

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.