gnuradio / pmt

pmt
GNU Lesser General Public License v3.0
11 stars 11 forks source link

meson: Yield options to parent #65

Closed ryanvolz closed 1 year ago

ryanvolz commented 2 years ago

Companion PR to https://github.com/gnuradio/gnuradio/pull/6212.

This sets the options to yield to their corresponding values in the parent project, so that these pass through from setting them for gnuradio.

eli-schwartz commented 2 years ago

Note that you can also do this by creating a machine file: https://mesonbuild.com/Machine-files.html

Just specify python = '/path/to/python3' in the [binaries] section, and it will override the default.

ryanvolz commented 2 years ago

I've now worked out using a machine file to specify the Python path in the gnuradio conda build as suggested by @eli-schwartz, so I've removed the part of this that added that option. What remains is a minor tweak in getting the Python dependency object (not strictly necessary, and slightly unclear to me if this is the preferred method now although I think it is) and yielding the option values to the parent project.