File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -50,12 +50,21 @@ else()
50
50
set (ONLY_CBLAS_IN ${ONLY_CBLAS} )
51
51
endif ()
52
52
53
+ if (NOT DEFINED USE_PERL )
53
54
add_custom_command (
54
55
OUTPUT ${PROJECT_BINARY_DIR} /openblas.def
55
56
#TARGET ${OpenBLAS_LIBNAME} PRE_LINK
56
57
COMMAND "${PROJECT_SOURCE_DIR} /exports/gensymbol"
57
58
ARGS "win2k" "${ARCH_IN} " "dummy" "${EXPRECISION_IN} " "${NO_CBLAS_IN} " "${NO_LAPACK_IN} " "${NO_LAPACKE_IN} " "${NEED2UNDERSCORES_IN} " "${ONLY_CBLAS_IN} " "${SYMBOLPREFIX} " "${SYMBOLSUFFIX} " > "${PROJECT_BINARY_DIR} /openblas.def"
58
59
COMMENT "Create openblas.def file"
59
60
VERBATIM )
60
-
61
+ else
62
+ add_custom_command (
63
+ OUTPUT ${PROJECT_BINARY_DIR} /openblas.def
64
+ #TARGET ${OpenBLAS_LIBNAME} PRE_LINK
65
+ COMMAND perl
66
+ ARGS "${PROJECT_SOURCE_DIR} /exports/gensymbol" "win2k" "${ARCH_IN} " "dummy" "${EXPRECISION_IN} " "${NO_CBLAS_IN} " "${NO_LAPACK_IN} " "${NO_LAPACKE_IN} " "${NEED2UNDERSCORES_IN} " "${ONLY_CBLAS_IN} " "${SYMBOLPREFIX} " "${SYMBOLSUFFIX} " > "${PROJECT_BINARY_DIR} /openblas.def"
67
+ COMMENT "Create openblas.def file"
68
+ VERBATIM )
69
+ endif ()
61
70
endif ()
You can’t perform that action at this time.
0 commit comments