See https://github.com/ptrkrysik/gr-gsm/pull/378#issuecomment-379587145
Traceback (most recent call last):
File "/usr/bin/grcc", line 29, in <module>
from gnuradio import gr
File "/usr/lib/python2.7/dist-packages/gnuradio/gr/__init__.py", line 41, in <module>
from runtime_swig import *
File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 17, in <module>
_runtime_swig = swig_import_helper()
File "/usr/lib/python2.7/dist-packages/gnuradio/gr/runtime_swig.py", line 16, in swig_import_helper
return importlib.import_module('_runtime_swig')
File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _runtime_swig
- Override the GR_UNIQUE_TARGET function to not append a hash to the
target name.
- Add explicit dependency between pygen_apps and _grgsm_swig
The _grgs_swig needs to be built first because grcc evaluates and
verify all imports
- Test the parallel build in the docker containers as well