File tree 2 files changed +7
-4
lines changed
2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -319,17 +319,17 @@ cdef char* localMsg_ptr = <char*>localMsg
319
319
# cdef const int CmiReservedHeaderSize s= getCmiReservedHeaderSize()
320
320
321
321
cdef struct remoteMsg:
322
- int a
323
- int b
322
+ int header_length
323
+ int data_length
324
324
char handler_name[32 ] # we know it can't be longer
325
325
char data[1024 ] # assume generous length at end
326
326
327
327
cdef void recvRemoteMessage(void * msg) noexcept:
328
328
329
329
cdef void * shiftedMsg = msg + CmiReservedHeaderSize # move past reserved header
330
330
cdef remoteMsg* incomingMsgPtr = < remoteMsg* > shiftedMsg
331
- cdef int handler_length = incomingMsgPtr.a
332
- cdef int data_length = incomingMsgPtr.b
331
+ cdef int handler_length = incomingMsgPtr.header_length
332
+ cdef int data_length = incomingMsgPtr.data_length
333
333
334
334
# turn char arrays into strings
335
335
Original file line number Diff line number Diff line change @@ -263,9 +263,11 @@ class _renameInstalled(_install_lib):
263
263
def __init__ (self , * args , ** kwargs ):
264
264
_install_lib .__init__ (self , * args , ** kwargs )
265
265
266
+
266
267
def install (self ):
267
268
log .info ("Renaming libraries" )
268
269
outfiles = _install_lib .install (self )
270
+ '''
269
271
for file in outfiles:
270
272
if "c_object_store" in file and system == "darwin":
271
273
direc = os.path.dirname(file)
@@ -285,6 +287,7 @@ def install(self):
285
287
install_name_command += "/charmlib_cython.*.so"
286
288
log.info(install_name_command)
287
289
os.system(install_name_command)
290
+ '''
288
291
return outfiles
289
292
290
293
You can’t perform that action at this time.
0 commit comments