Skip to content

Commit 83554ea

Browse files
committed
Add ckloop back to the build
1 parent cee5707 commit 83554ea

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

CMakeLists.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -923,16 +923,14 @@ configure_file(src/scripts/testrun bin/ COPYONLY)
923923
# Charm++ libraries
924924

925925
# CkLoop
926-
#[[
927926
set(ckloop-cxx-files src/libs/ck-libs/ckloop/CkLoop.C)
928-
#set(ckloop-h-files src/libs/ck-libs/ckloop/CkLambda.h src/libs/ck-libs/ckloop/CkLoopAPI.h src/libs/ck-libs/ckloop/CkLoop.h)
929-
#add_library(moduleCkLoop ${ckloop-cxx-files} ${ckloop-h-files} ${CMAKE_BINARY_DIR}/include/CkLoop.decl.h)
930-
#add_dependencies(moduleCkLoop ck)
927+
set(ckloop-h-files src/libs/ck-libs/ckloop/CkLambda.h src/libs/ck-libs/ckloop/CkLoopAPI.h src/libs/ck-libs/ckloop/CkLoop.h)
928+
add_library(moduleCkLoop ${ckloop-cxx-files} ${ckloop-h-files} ${CMAKE_BINARY_DIR}/include/CkLoop.decl.h)
929+
add_dependencies(moduleCkLoop ck)
931930

932-
#foreach(file ${ckloop-h-files})
933-
#configure_file(${file} ${CMAKE_BINARY_DIR}/include COPYONLY)
934-
#endforeach(file)
935-
]]
931+
foreach(file ${ckloop-h-files})
932+
configure_file(${file} ${CMAKE_BINARY_DIR}/include COPYONLY)
933+
endforeach(file)
936934

937935
# allGather
938936
configure_file(src/libs/ck-libs/allGather/allGather.h ${CMAKE_BINARY_DIR}/include COPYONLY)

src/conv-core/taskqueue.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ typedef LONG taskq_idx;
1313
#else
1414
typedef int taskq_idx;
1515
#endif
16+
#include "converse.h"
1617
typedef struct TaskQueueStruct {
1718
taskq_idx head; // This pointer indicates the first task in the queue
1819
taskq_idx tail; // The tail indicates the array element next to the last available task in the queue. So, if head == tail, the queue is empty

0 commit comments

Comments
 (0)