intel/gmmlib

Refer the Readme, cmake option 'DARCH' and 'DCMAKE_BUILD_TYPE' is Invalid

zongxin1993 opened this issue · 1 comments

Refer the Readme.
cmake [-DCMAKE_BUILD_TYPE= Release | Debug | ReleaseInternal] [-DARCH= 64 | 32] ..

But from the https://github.com/intel/gmmlib/blob/master/Source/GmmLib/CMakeLists.txt source file.

'CMAKE_BUILD_TYPE' should be 'BUILD_TYPE' ,and the param (Release | Debug | ReleaseInternal) , ‘Release’ and 'Debug ' is no difference.

'ARCH' is not checked in CmakeList.

In 1996301, Support for CMAKE_BUILD_TYPE is introduced and BUILD_TYPE is retained. Users can still use both flags. BUILD_TYPE is subject to deprecation once usage of CMAKE_BUILD_TYPE stabilizes.

In 72c92c0, ARCH is read from compiler.