pkgsrc-WIP-changes archive

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

(gnuradio-core) add CFLAGS+= -pthread. Modify CMAKE_ARGS (said user-forced)



Module Name:	pkgsrc-wip
Committed By:	Makoto Fujiwara <makoto%ki.nu@localhost>
Pushed By:	mef
Date:		Tue Aug 11 07:19:52 2020 +0900
Changeset:	4908ddd96b1d2c5f7b09b4024a24bd05cc62fd10

Modified Files:
	gnuradio-core/Makefile.common
	gnuradio-core/TODO

Log Message:
(gnuradio-core) add CFLAGS+= -pthread. Modify CMAKE_ARGS (said user-forced)

 +CFLAGS+=               -pthread
 +#MAKE_ARGS+=   -DENABLE_GR_ANALOG=ON
 +#MAKE_ARGS+=   -DENABLE_GR_FILTER=ON
 +#MAKE_ARGS+=   -DENABLE_PYTHON=ON

 +#MAKE_ARGS+=   -DPYTHON_EXECUTABLE=${PREFIX}/bin/python${PYVERSSUFFIX}

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4908ddd96b1d2c5f7b09b4024a24bd05cc62fd10

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnuradio-core/Makefile.common |  9 +++++----
 gnuradio-core/TODO            | 18 ++++++++++++++++++
 2 files changed, 23 insertions(+), 4 deletions(-)

diffs:
diff --git a/gnuradio-core/Makefile.common b/gnuradio-core/Makefile.common
index a565704b97..574d6cb38b 100644
--- a/gnuradio-core/Makefile.common
+++ b/gnuradio-core/Makefile.common
@@ -59,6 +59,7 @@ EGDIR=			share/gnuradio/examples
 PKG_SYSCONFSUBDIR=	gnuradio/conf.d
 
 CXXFLAGS+=		-pthread
+CFLAGS+=		-pthread
 LDFLAGS.DragonFly+=	-lboost_system
 LDFLAGS.SunOS+=		-lboost_system
 CXXFLAGS.SunOS+=	-pthreads
@@ -73,12 +74,12 @@ CMAKE_ARGS=
 #      http://gnuradio.org/redmine/projects/gnuradio/wiki/CygwinInstallMain
 
 CMAKE_ARGS+=	-DENABLE_GNURADIO_RUNTIME=ON
-CMAKE_ARGS+=	-DENABLE_GR_ANALOG=ON
+#MAKE_ARGS+=	-DENABLE_GR_ANALOG=ON
 CMAKE_ARGS+=	-DENABLE_GR_AUDIO=ON
 CMAKE_ARGS+=	-DENABLE_GR_BLOCKS=ON
 CMAKE_ARGS+=	-DENABLE_GR_FFT=ON
-CMAKE_ARGS+=	-DENABLE_GR_FILTER=ON
-CMAKE_ARGS+=	-DENABLE_PYTHON=ON
+#MAKE_ARGS+=	-DENABLE_GR_FILTER=ON
+#MAKE_ARGS+=	-DENABLE_PYTHON=ON
 CMAKE_ARGS+=	-DENABLE_VOLK=ON -DENABLE_INTERNAL_VOLK=OFF
 CMAKE_ARGS+=	-DCMAKE_HAVE_PTHREADS_CREATE=OFF
 
@@ -96,7 +97,7 @@ CMAKE_ARGS+=	-DGR_PREFSDIR=${PREFIX}/share/gnuradio/examples/
 
 # adhoc setup not to pick non default version (say python3.6)
 # at configure
-CMAKE_ARGS+=	-DPYTHON_EXECUTABLE=${PREFIX}/bin/python${PYVERSSUFFIX}
+#MAKE_ARGS+=	-DPYTHON_EXECUTABLE=${PREFIX}/bin/python${PYVERSSUFFIX}
 
 CMAKE_ARGS+=	-DZEROMQ_INCLUDE_DIRS=${PREFIX}/include
 CMAKE_ARG_PATH=	../
diff --git a/gnuradio-core/TODO b/gnuradio-core/TODO
index 432a9c6715..ce853d8215 100644
--- a/gnuradio-core/TODO
+++ b/gnuradio-core/TODO
@@ -48,3 +48,21 @@ See also "/tmp/wip/gnuradio-core/work/gnuradio-3.8.0.0/build/CMakeFiles/CMakeOut
 See also "/tmp/wip/gnuradio-core/work/gnuradio-3.8.0.0/build/CMakeFiles/CMakeError.log".
 *** Error code 1
 
+
+as of 2020-08-10
+-------------------------------------------------------------
+[100%] Linking CXX shared library libgnuradio-blocks.so
+ld: warning: libicudata.so.66, needed by /tmp/wip/gnuradio-core/work/.buildlink/lib/libboost_regex.so, not found (try using -rpath or -rpath-link)
+ld: warning: libicui18n.so.66, needed by /tmp/wip/gnuradio-core/work/.buildlink/lib/libboost_regex.so, not found (try using -rpath or -rpath-link)
+ld: warning: libicuuc.so.66, needed by /tmp/wip/gnuradio-core/work/.buildlink/lib/libboost_regex.so, not found (try using -rpath or -rpath-link)
+[100%] Built target gnuradio-blocks
+gmake: *** [Makefile:141: all] Error 2
+*** Error code 2
+
+Stop.
+make[1]: stopped in /export/CHROOT/usr/pkgsrc/wip/gnuradio-core
+*** Error code 1
+
+Stop.
+make: stopped in /export/CHROOT/usr/pkgsrc/wip/gnuradio-core
+


Home | Main Index | Thread Index | Old Index