for source.h and sink.h
now my source.h and sink.h line endings are CRLF (/r/n)
while the hash is proably calculated for linux line endings (LF (/n) so no wonder it differs
and now it bites me because of that (I only thought old notepad would have problems with line endings and nothing else, I guess in this edge case, they also matter)
Now I have 2 options here
1. Convert line endings to LINUX ones on every file (I also need to tell github not to convert them in the future:
git config --global core.autocrlf false
) (not sure if the rest of GNURadio stuff cares about line endings)
2. Modify hash function in GROsmoSDR to not include line endings in hash calculation (this would probably be a good thing to do for portability)
Now the question is now: Why cannot I regenerate python bindings? (it seams bind_oot_file.py has an argument --include which is empty but shouldn't be)
I tried sneaking some debug info:
message(STATUS "COMMAND:
bind_oot_file.py --output_dir " ${CMAKE_CURRENT_SOURCE_DIR}/.. "
--prefix " ${CMAKE_INSTALL_PREFIX} " --module " ${name} " --filename "
${header_full_path} " --status " ${CMAKE_CURRENT_BINARY_DIR}/${file}.regen_status
" --flag_automatic " ${flag_auto} " --flag_pygccxml " ${flag_pygccxml} "
--defines " ${defines} " --include " ${extra_include_list})
inside gnuradio/cmake/Modules/GrPybind.cmake but it seams this is eather called from somewhere else or the file doesn't listen to changes (I tried putting blablah inside and cmake didn't even complain so...)
Can anyone else regenerate python bindings? (it should be easy to make the hash different to try that, just put an empty #define nothing inside
source.h and sink.h and see if bindings are secsesfully regenerated)
because it seams that bindings don't generate properly and nobody noticied that yet since I am not sure if source.h and sink.h change much, or it could also be that because I am building this on windows I am hitting some edges cases and have this interesting problems :)