ci,azure-pipelines: add initial yaml file (Linux only for now)#93
Open
ci,azure-pipelines: add initial yaml file (Linux only for now)#93
Conversation
In recent versions, the '-y' argument isn't working/recognized and causes the build to fail. Don't use it for Homebrew, since it's not required. Signed-off-by: Alexandru Ardelean <[email protected]>
Seems it was forgotten Signed-off-by: Alexandru Ardelean <[email protected]>
In order for this script to compile on Python3, the print function needs round braces. Signed-off-by: Alexandru Ardelean <[email protected]>
Building GNURadio is a bit of an effort, and complicates things. We don't need to do it anymore in newer distros. We also need to install Python2 development libraries for now. That'll be cleaned up in newer commits. Signed-off-by: Alexandru Ardelean <[email protected]>
When building in Ubuntu 20.04, the PC_GNURADIO_RUNTIME_VERSION seems to be empty. The Gnuradio_VERSION seems to be defined though. Signed-off-by: Alexandru Ardelean <[email protected]>
After following the porting guide (GR 3.7 to 3.8) for a bit [1] and following one of the examples for SWIG [2], this seemed to be change to make the SWIG stuff build. [1] https://wiki.gnuradio.org/index.php/GNU_Radio_3.8_OOT_Module_Porting_Guide [2] https://github.com/ghostop14/gr-grnet/blob/master/swig/CMakeLists.txt Signed-off-by: Alexandru Ardelean <[email protected]>
This change switches to the Python3 development libraries. Gnuradio development libraries will pull Python3 development libraries on Ubuntu 20.04. On CentOS 8, these need to be explicitly installed. In the CMake files, in the 'find_package(PythonLibs 2)' part, the limitation to 2 is removed. This still allows Python2 if needed. Signed-off-by: Alexandru Ardelean <[email protected]>
That is how the new build scripts are now organized. Signed-off-by: Alexandru Ardelean <[email protected]>
Adapted from iio-osciloscope. Only building for newer Linux distros (Ubuntu 20.04 and CentOS 8), since the GnuRadio version is 3.8 in those distros and we don't want to build it (as we used to) for older distros. Homebrew and OS X seem to require some more investigation to get the linking working. Signed-off-by: Alexandru Ardelean <[email protected]>
Contributor
Author
|
Disabled appveyor for this repo, since it's failing anyway. For OS X builds:
I guess at this point having a Mac around would be handy. |
Contributor
Author
I disabled appveyor after it started. So, the failures showing up is still expected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adapted from iio-osciloscope.
Only building for newer Linux distros (Ubuntu 20.04 and CentOS 8), since
the GnuRadio version is 3.8 in those distros and we don't want to build it
(as we used to) for older distros.
Homebrew and OS X seem to require some more investigation to get the
linking working.
Signed-off-by: Alexandru Ardelean [email protected]