Skip to content

Commit

Permalink
[BUGFIX] Resolve file name ambiguity
Browse files Browse the repository at this point in the history
We gather all the generated cpp files in CMake to compile libAllKernels, libCUDAKernels, etc. The wildcard used for this needs to be more specific to distinguish between CUDA and non-CUDA related cpp files.
  • Loading branch information
corepointer committed Oct 18, 2024
1 parent 6720539 commit 053d5a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/local/kernels/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ execute_process(
WORKING_DIRECTORY ${PROJECT_SOURCE_DIR}/src/runtime/local/kernels/)

file(GLOB CODEGEN_CPP_FILES CONFIGURE_DEPENDS
"${PROJECT_BINARY_DIR}/src/runtime/local/kernels/*.cpp")
"${PROJECT_BINARY_DIR}/src/runtime/local/kernels/kernels_*.cpp")
# message("CODEGEN_CPP_FILES: ${CODEGEN_CPP_FILES}")

list(APPEND LIBS DataStructures IO BLAS::BLAS MLIRParser)
Expand Down

0 comments on commit 053d5a7

Please sign in to comment.