add -mcpu=power9 to cmake for build of rocminfo
diff --git a/CMakeLists.txt b/CMakeLists.txt
-index ce08409..f5359c9 100755
+index ce08409..287087e 100755
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -181,7 +181,10 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
+@@ -181,7 +181,13 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall")
# Extend the compiler flags for 64-bit builds
#
if (IS64BIT)
@@ -10,6 +10,9 @@ index ce08409..f5359c9 100755
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m64")
+ if((${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64") OR (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "AMD64"))
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2")
++ endif()
++ if(${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "ppc64le")
++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mcpu=power9")
+ endif()
else()
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -m32")
