@@ -7,9 +7,9 @@ file(GLOB_RECURSE SOURCES
77)
88
99# RW: Include PULPOpen sources but exclude dory_mem related files
10- file (GLOB_RECURSE PULPOPEN_SOURCES "../PULPOpen/src/**" )
11- list (FILTER PULPOPEN_SOURCES EXCLUDE REGEX ".*dory_mem.*" )
12- list (APPEND SOURCES ${PULPOPEN_SOURCES} )
10+ # file(GLOB_RECURSE PULPOPEN_SOURCES "../PULPOpen/src/**")
11+ # list(FILTER PULPOPEN_SOURCES EXCLUDE REGEX ".*dory_mem.*")
12+ # list(APPEND SOURCES ${PULPOPEN_SOURCES})
1313
1414if (NOT DEFINED ENV{GAP_SDK_HOME})
1515 message (FATAL_ERROR "Environment variable GAP_SDK_HOME not set." )
@@ -19,7 +19,6 @@ add_deeploy_library(deeploygap9 STATIC ${SOURCES})
1919target_include_directories (deeploygap9
2020 PUBLIC
2121 ${CMAKE_CURRENT_LIST_DIR} /inc
22- ${CMAKE_CURRENT_LIST_DIR} /../PULPOpen/inc
2322)
2423
2524target_compile_options (deeploygap9 PUBLIC
@@ -41,12 +40,8 @@ target_link_libraries(deeploygap9 PUBLIC pmsis)
4140#RW: Set PULP-NN version and bitwidth for pulp-nn-mixed
4241set (PULPNNVERSION XPULPV2)
4342set (PULPNNBITWIDTH 32)
44- add_compile_definitions (NUM_CORES=${NUM_CORES} )
45- add_subdirectory (third_party/pulp-nn-mixed )
4643
4744#RW: GCC not recognizing -Wno-typedef-redefinition defined in PULP-NN CMakelist
48- target_compile_options (pulp-nn-mixed PRIVATE -Wno-error )
49- target_link_libraries (deeploygap9 PUBLIC pulp-nn-mixed )
5045
5146target_link_libraries (deeploygap9 PUBLIC m )
5247
0 commit comments