Skip to content

Commit

Permalink
use python3 as explicit dependency (#1154)
Browse files Browse the repository at this point in the history
* works for tensile so should be fine
  • Loading branch information
TorreZuk authored and adilad committed Jun 21, 2020
1 parent 34938bf commit 98ecde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ generate_export_header( rocblas EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/include/r
# generate header with prototypes for export reuse
set( ROCBLAS_PROTO_TEMPLATES "${PROJECT_BINARY_DIR}/include/rocblas-exported-proto.hpp" )
add_custom_command( TARGET rocblas PRE_BUILD
COMMAND python template-proto.py ${CMAKE_CURRENT_SOURCE_DIR}/blas3/Tensile/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/blas3/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/blas2/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/blas1/*.hpp > ${ROCBLAS_PROTO_TEMPLATES}
COMMAND python3 template-proto.py ${CMAKE_CURRENT_SOURCE_DIR}/blas3/Tensile/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/blas3/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/blas2/*.hpp ${CMAKE_CURRENT_SOURCE_DIR}/blas1/*.hpp > ${ROCBLAS_PROTO_TEMPLATES}
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating prototypes from ${CMAKE_CURRENT_SOURCE_DIR}."
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}"
Expand Down

0 comments on commit 98ecde9

Please sign in to comment.