[VL] Compilation for Hygon type CPUs is not supported
- Dominant language
- Scala
- Stars
- 1.6k
- Forks
- 657
- Avg merge
- 2d 21h
- Merged PRs (30d)
- 85
Description
### Problem description
When I use Hygon servers to compile Gluten, the following compilation issues are displayed, indicating that this type of CPU is not supported:
```
FAILED: velox/tpch/gen/dbgen/CMakeFiles/dbgen.dir/dbgen_gunk.cpp.o
...
cc1plus: error: CPU you selected does not support x86-64 instruction set
```
I am running a compilation program in a CentOS 7 container on a Hygon server.
Have you tried this type of CPU? How can I modify the setup to adapt to this type of server?
The CPU information is as follows:
> /proc/cpuinfo:
> processor : 0
> vendor_id : HygonGenuine
> cpu family : 24
> model : 4
> model name : Hygon C86-4G 7490 64-core Processor
### System information
I am running a compilation program in a CentOS 7 container on a Hygon server.
### CMake log
```bash
```
Contributor guide
Research direction
Start with the CMake build failure for velox/tpch/gen/dbgen, especially the dbgen_gunk.cpp.o target, and review the available CMake log information. Reproduce the Gluten compilation in the CentOS 7 container on the Hygon C86-4G system; done means the dbgen target and overall compilation complete without the x86-64 instruction-set error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- centos, cmake, cpp
- Domain
- build-system, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100