Skip to content

Commit

Permalink
support coverage with_cinn (PaddlePaddle#61150)
Browse files Browse the repository at this point in the history
  • Loading branch information
risemeup1 committed Jan 25, 2024
1 parent 43c38ed commit c62cb27
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,10 @@ include(third_party
)# download, build, install third_party, Contains about 20+ dependencies

include(flags) # set paddle compile flags

include(util) # set unittest and link libs
include(version) # set PADDLE_VERSION
include(coveralls) # set code coverage
include(configure) # add paddle env configuration
#------------- cinn cmake config start --------------

if(WITH_CINN)
Expand All @@ -615,6 +618,7 @@ if(WITH_CINN)
add_definitions(-DCINN_WITH_CUDNN)
endif()
endif()

include(cmake/cinn.cmake)
add_definitions(-DPADDLE_WITH_CINN)

Expand All @@ -639,11 +643,6 @@ if(WITH_PROFILER)
add_definitions(-DWITH_GPERFTOOLS)
endif()

include(util) # set unittest and link libs
include(version) # set PADDLE_VERSION
include(coveralls) # set code coverage
include(configure) # add paddle env configuration

include_directories("${PADDLE_SOURCE_DIR}")

if(WITH_NV_JETSON)
Expand Down

0 comments on commit c62cb27

Please sign in to comment.