未验证 提交 ab0272eb 编写于 作者: L Leo Chen 提交者: GitHub

Relax the constraint of installed openblas from version==0.3.7 to >=0.3.7 (#33626)

上级 d9941c83
......@@ -73,7 +73,7 @@ if(NOT DEFINED CBLAS_PROVIDER)
string(REGEX MATCH "OpenBLAS ([0-9]+\.[0-9]+\.[0-9]+)" tmp ${config_file})
string(REGEX MATCH "([0-9]+\.[0-9]+\.[0-9]+)" ver ${tmp})
if (${ver} VERSION_EQUAL "0.3.7")
if (${ver} VERSION_GREATER_EQUAL "0.3.7")
set(CBLAS_PROVIDER OPENBLAS)
set(CBLAS_INC_DIR ${OPENBLAS_INC_DIR} ${OPENBLAS_LAPACKE_INC_DIR})
set(CBLAS_LIBRARIES ${OPENBLAS_LIB})
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册