mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
more cmake cleanup
This commit is contained in:
@ -47,15 +47,9 @@ ENDIF (SSE4.1_FOUND)
|
||||
|
||||
IF(BLAS_FOUND)
|
||||
ADD_DEFINITIONS(-DUSE_LAPACK)
|
||||
# INCLUDE_DIRECTORIES(${CBLAS_INCLUDE_DIR})
|
||||
TARGET_LINK_LIBRARIES(TH ${BLAS_LIBRARIES})
|
||||
ENDIF(BLAS_FOUND)
|
||||
|
||||
#CONFIGURE_FILE("THCBlas.h.in" "${CMAKE_CURRENT_BINARY_DIR}/THCBlas.h")
|
||||
#INCLUDE_DIRECTORIES("${CMAKE_CURRENT_BINARY_DIR}")
|
||||
#INSTALL(FILES "${CMAKE_CURRENT_BINARY_DIR}/THCBlas.h"
|
||||
# DESTINATION "${Torch_INSTALL_INCLUDE_SUBDIR}/TH")
|
||||
|
||||
INSTALL(TARGETS TH
|
||||
EXPORT torch-exports
|
||||
RUNTIME DESTINATION "${Torch_INSTALL_BIN_SUBDIR}"
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "THBlas.h"
|
||||
|
||||
/* #include "THCBlas.h" */
|
||||
#include "generic/THBlas.c"
|
||||
#include "THGenerateAllTypes.h"
|
||||
|
@ -1,8 +0,0 @@
|
||||
/* -*- C -*- */
|
||||
|
||||
#cmakedefine USE_CBLAS @USE_CBLAS@
|
||||
|
||||
#if USE_CBLAS
|
||||
# include "@CBLAS_INCLUDE_FILE@"
|
||||
#endif
|
||||
|
@ -1,5 +1,4 @@
|
||||
#include "THLapack.h"
|
||||
|
||||
/* #include "THCBlas.h" */
|
||||
#include "generic/THLapack.c"
|
||||
#include "THGenerateFloatTypes.h"
|
||||
|
Reference in New Issue
Block a user