File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -313,10 +313,10 @@ if(APPLE AND DYNAMIC_ARCH AND (NOT CMAKE_HOST_SYSTEM_PROCESSOR STREQUAL "arm64")
313313 set (STATIC_PATH "${CMAKE_LIBRARY_OUTPUT_DIRECTORY} /${STATIC_FILE} " )
314314 else ()
315315 add_library (${OpenBLAS_LIBNAME} _static STATIC ${TARGET_OBJS} ${OpenBLAS_DEF_FILE} )
316- set (STATIC_PATH STATIC_FILE)
316+ set (STATIC_PATH " ${ STATIC_FILE} " )
317317 endif ()
318318 set (CREATE_STATIC_LIBRARY_COMMAND
319- "sh -c 'cat ${CMAKE_BINARY_DIR} /CMakeFiles/openblas_shared .dir/objects*.rsp | xargs -n 1024 ${CMAKE_AR} -ru ${STATIC_PATH} && exit 0' "
319+ "sh -c 'cat ${CMAKE_BINARY_DIR} /CMakeFiles/openblas_static .dir/objects*.rsp | xargs -n 1024 ${CMAKE_AR} -ru ${STATIC_PATH} && exit 0' "
320320 "sh -c '${CMAKE_AR} -rs ${STATIC_PATH} ${CMAKE_BINARY_DIR} /driver/others/CMakeFiles/driver_others.dir/xerbla.c.o && exit 0' " )
321321 if (BUILD_SHARED_LIBS )
322322 add_dependencies (${OpenBLAS_LIBNAME} _shared ${OpenBLAS_LIBNAME} _static )
You can’t perform that action at this time.
0 commit comments