test-suite: add cpu architecture detection in cmake configuration
Summary:
This patch adds opportunity to identify cpu target using cpuid, when you use cmake configuration. Then this CPU_ARCH variable can be used for adding options, disabling or enabling tests for given cpu architectures.
Patch with similar feature for make+configure approach -[[ https://reviews.llvm.org/D38182 | D38182]].
Reviewers: zvi, eladcohen, MatzeB, jmolloy
Reviewed By: MatzeB
Subscribers: mgorny
Differential Revision: https://reviews.llvm.org/D38484
git-svn-id: https://llvm.org/svn/llvm-project/test-suite/trunk@321143 91177308-0d34-0410-b5e6-96231b3b80d8
3 files changed