Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 kvm 上运行我的应用程序。 在 kvm 上运行的镜像(centos 6.3)不包含 avx。 但是我在上面编译dpdk的电脑,有kvm。
我想我应该在没有 avx 的情况下编译 dpdk, 这可能吗,我该怎么做?
通过运行以下命令,我知道是否存在 avx:
cat /proc/cpuinfo | grep avx --color
您可以通过注释/删除以下行来编译没有 AVX 的 DPDKmk/rte.cpuflags.mk
mk/rte.cpuflags.mk
ifneq ($(filter $(AUTO_CPUFLAGS),__AVX__),) CPUFLAGS += AVX endif