discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] building with cmake


From: Sid Boyce
Subject: Re: [Discuss-gnuradio] building with cmake
Date: Sun, 13 Sep 2015 22:30:25 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0

Konsole output
I never got around to porting pybombs to openSUSE and I ran into errors on Ubuntu x86_64 and Ubuntu ARM so I have been using cmake I think since 3.6.5 and up to 3.7.8 git recently.
In the build directory.
openSUSE x86_64
-------------------
Konsole output
cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr ..

Ubuntu x86_64
-------------
cmake -Wno-dev -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr ..

ODROID-X/-C1/U3
----------------

Konsole output
cmake -DPYTHON_EXECUTABLE=/usr/bin/python2.7 -DPYTHON_INCLUDE_DIR=/usr/include/python2.7 -DPYTHON_LIBRARY=/usr/lib/python2.7/config-arm-linux-gnueabihf/libpython2.7.so -DCMAKE_INSTALL_PREFIX=/usr -DENABLE_PY THON=ON -DENABLE_VOLK=ON -DENABLE_GRC=ON -DENABLE_GR_QTGUI=ON -DCMAKE_C_FLAGS="-march=armv7-a -mthumb-interwork -mfloat-abi=hard -mfpu=neon -mtune=cortex-a9" -DCMAKE_ASM-ATT_FLAGS="-march=armv7-a -mthumb-inter
work -mfloat-abi=hard -mfpu=neon" ..
73 ... Sid.

On 13/09/15 12:38, Robert Durkacz wrote:
I am interested in the gnuradio build system.

I last looked at gnuradio several years ago. Since then you have
adopted cmake in place of autotools.
cmake produces its own style of make files which even invoke cmake
again. When I built gnuradio I got one build error. It was difficult
to track down the cause because the output of the build process does
not print the command lines. Obviously it is helpful to know the
command line that failed.
My question is, is there some recommended way to get the command lines
printed out as they are executed.
Also there is something called pybombs. Is this an alternative to
cmake? If so is the gnuradio build system in a state of flux?
Can anyone point me to some document or forum where the whys and
wherefores of the build system are discussed?

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



--
Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
Senior Staff Specialist, Cricket Coach
Microsoft Windows Free Zone - Linux used for all Computing Tasks




reply via email to

[Prev in Thread] Current Thread [Next in Thread]