GithubHelp home page GithubHelp logo

GNU Radio 3.8 support about gr-pothos HOT 12 OPEN

pothosware avatar pothosware commented on June 14, 2024
GNU Radio 3.8 support

from gr-pothos.

Comments (12)

guruofquality avatar guruofquality commented on June 14, 2024

I knew this day would come, but I have dreaded its arrival. Its the yaml format basically just the same crap, same file name different extension? Same data layout when parsed, dictionaries, keys and lists?

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

The filenames seem to be the same (extension aside). From a data layout perspective, as an example, here's how gr::blocks::add_xx has changed:

From using it in some WIP OOT modules, I prefer the new usage, but I can't speak to the difficulty of parsing for gr-pothos.

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

WIP here: https://github.com/pothosware/gr-pothos/tree/gr3.8

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

There are a few steps to doing this while maintaining compatibility with 3.7, so I'll make a project to make tracking easier.

from gr-pothos.

guruofquality avatar guruofquality commented on June 14, 2024

No big deal if master does 3.8 only

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

Looks like they did the job for us in 3.8: https://github.com/gnuradio/gnuradio/tree/master/gr-utils/blocktool

No need for ugly GRC file parsing, they output a super-convenient JSON file. Minus the PothosFlow docs, this is essentially a weekend project now.

from gr-pothos.

guruofquality avatar guruofquality commented on June 14, 2024

well thats helpful šŸ‘

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

The only downside is now it's seconds per file. They're using pygccxml under the hood. I have no idea what makes it so slow, but it may be worth just storing the JSON output. It's what they do for their blocktool usage.

from gr-pothos.

guruofquality avatar guruofquality commented on June 14, 2024

@ncorgan I was thinking of getting one more windows installer build out this year (as we speak), and moving the whole windows installer thing over to recent msvc and gr 3.8. Its a ton of brand new build issues and dependency changes, etc, pandoras box. I think its reasonable to move this project over to 3.8+ permanently. How far along were you, and is it something you wanted to tackle?

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

https://github.com/pothosware/gr-pothos/tree/wip/gr3.8

This is what I had so far. If I recall, I think the major thing left is generating the block functions from BlockTool's output. I put some TODOs in for some other stuff, as well as a file listing obsolete build-time stuff to remove once this is done. If you're already on this, would you mind taking this part?

from gr-pothos.

guruofquality avatar guruofquality commented on June 14, 2024

I was going to jump strait to requiring 3.9 The odd number releases were always better anyway

Wow, blocktool is like walking through molasses with concrete boots on using dial up. What is blocktool's output giving us that cppheaderparser was not?

I can see checking in blocktool output though. It looks like it uses clang++ or something, and im worried to make the generation take too much time or have too many dependencies (I want to build on windows as well). Even requiring gnuradio to actually show up in the python path and import correctly may be a bit too much :-)

from gr-pothos.

ncorgan avatar ncorgan commented on June 14, 2024

from gr-pothos.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.