]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: use core2 when targeting amd64
authorKefu Chai <kchai@redhat.com>
Thu, 27 Aug 2020 09:06:37 +0000 (17:06 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 27 Aug 2020 12:08:03 +0000 (20:08 +0800)
commit8e7a7e30763b53ce6f47bf055014ec5be93e9ab3
tree301a8ef1c839c6539e3b269fe24e63c6150c2715
parent8b1c06dce9cab17d8d522cd94fc793da7ece71c7
cmake: use core2 when targeting amd64

instead of sticking to the building host's march (native), use a safer
guess.

Fixes: https://tracker.ceph.com/issues/24948
Signed-off-by: Kefu Chai <kchai@redhat.com>
cmake/modules/BuildSPDK.cmake