Changeset 9336
- Timestamp:
- 08/19/08 17:09:56
- Files:
-
- gnuradio/trunk/Makefile.am (modified) (1 diff)
- gnuradio/trunk/Makefile.common (modified) (1 diff)
- gnuradio/trunk/README (modified) (1 diff)
- gnuradio/trunk/README.building-boost (copied) (copied from gnuradio/branches/features/mp-sched/README.building-boost)
- gnuradio/trunk/config/Makefile.am (modified) (4 diffs)
- gnuradio/trunk/config/acx_pthread.m4 (modified) (9 diffs)
- gnuradio/trunk/config/ax_boost_base.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_base.m4)
- gnuradio/trunk/config/ax_boost_date_time.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_date_time.m4)
- gnuradio/trunk/config/ax_boost_filesystem.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_filesystem.m4)
- gnuradio/trunk/config/ax_boost_iostreams.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_iostreams.m4)
- gnuradio/trunk/config/ax_boost_program_options.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_program_options.m4)
- gnuradio/trunk/config/ax_boost_python.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_python.m4)
- gnuradio/trunk/config/ax_boost_regex.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_regex.m4)
- gnuradio/trunk/config/ax_boost_serialization.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_serialization.m4)
- gnuradio/trunk/config/ax_boost_signals.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_signals.m4)
- gnuradio/trunk/config/ax_boost_system.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_system.m4)
- gnuradio/trunk/config/ax_boost_test_exec_monitor.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_test_exec_monitor.m4)
- gnuradio/trunk/config/ax_boost_thread.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_thread.m4)
- gnuradio/trunk/config/ax_boost_unit_test_framework.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_unit_test_framework.m4)
- gnuradio/trunk/config/ax_boost_wserialization.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/ax_boost_wserialization.m4)
- gnuradio/trunk/config/gr_boost.m4 (deleted)
- gnuradio/trunk/config/gr_lib64.m4 (copied) (copied from gnuradio/branches/features/mp-sched/config/gr_lib64.m4)
- gnuradio/trunk/config/gr_set_md_cpu.m4 (modified) (3 diffs)
- gnuradio/trunk/config/gr_x86_64.m4 (deleted)
- gnuradio/trunk/config/grc_gnuradio_core.m4 (modified) (1 diff)
- gnuradio/trunk/config/grc_gnuradio_examples.m4 (modified) (1 diff)
- gnuradio/trunk/configure-cell-cross (modified) (1 diff)
- gnuradio/trunk/configure.ac (modified) (4 diffs)
- gnuradio/trunk/dtools/bin/check-tarball-h-files (modified) (1 diff)
- gnuradio/trunk/gcell/src/lib/spu/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gcell/src/lib/wrapper/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gnuradio-core/src/lib/Makefile.am (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/filter/Makefile.am (modified) (8 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/filter/dotprod_fff_altivec.c (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/dotprod_fff_altivec.c)
- gnuradio/trunk/gnuradio-core/src/lib/filter/dotprod_fff_altivec.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/dotprod_fff_altivec.h)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_altivec.c (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_altivec.c)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_altivec.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_altivec.h)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_cpu.cc (deleted)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_cpu.h (modified) (1 diff)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_cpu_powerpc.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_cpu_powerpc.cc)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_cpu_x86.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_cpu_x86.cc)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fir_fff_altivec.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_fir_fff_altivec.cc)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fir_fff_altivec.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_fir_fff_altivec.h)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fir_sysconfig_powerpc.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_fir_sysconfig_powerpc.cc)
- gnuradio/trunk/gnuradio-core/src/lib/filter/gr_fir_sysconfig_powerpc.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/gr_fir_sysconfig_powerpc.h)
- gnuradio/trunk/gnuradio-core/src/lib/filter/qa_dotprod_powerpc.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/qa_dotprod_powerpc.cc)
- gnuradio/trunk/gnuradio-core/src/lib/filter/qa_filter.cc (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/filter/qa_gr_fir_fff.cc (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/filter/sysconfig_powerpc.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/filter/sysconfig_powerpc.cc)
- gnuradio/trunk/gnuradio-core/src/lib/general/gr_math.h (modified) (1 diff)
- gnuradio/trunk/gnuradio-core/src/lib/general/gri_fft.cc (modified) (8 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/Makefile.am (modified) (7 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block.cc (modified) (1 diff)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block.h (modified) (1 diff)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block_detail.h (modified) (4 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block_executor.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_block_executor.cc)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_block_executor.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_block_executor.h)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_buffer.cc (modified) (7 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_buffer.h (modified) (12 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_buffer.i (modified) (4 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_flat_flowgraph.cc (modified) (15 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_flat_flowgraph.h (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_flowgraph.h (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_hier_block2_detail.cc (modified) (1 diff)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_scheduler.cc)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_scheduler.h)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler_sts.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_scheduler_sts.cc)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler_sts.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_scheduler_sts.h)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler_thread.cc (deleted)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler_thread.h (deleted)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler_tpb.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_scheduler_tpb.cc)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_scheduler_tpb.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_scheduler_tpb.h)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_single_threaded_scheduler.cc (modified) (3 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_top_block.cc (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_top_block_impl.cc (modified) (8 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_top_block_impl.h (modified) (3 diffs)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_top_block_impl_sts.cc (deleted)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_top_block_impl_sts.h (deleted)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_tpb_detail.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_tpb_detail.cc)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_tpb_detail.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_tpb_detail.h)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_tpb_thread_body.cc (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_tpb_thread_body.cc)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/gr_tpb_thread_body.h (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-core/src/lib/runtime/gr_tpb_thread_body.h)
- gnuradio/trunk/gnuradio-core/src/lib/runtime/qa_gr_buffer.cc (modified) (5 diffs)
- gnuradio/trunk/gnuradio-core/src/python/gnuradio/gr/top_block.py (modified) (2 diffs)
- gnuradio/trunk/gnuradio-core/src/tests/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gnuradio-examples/python/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gnuradio-examples/python/mp-sched (modified) (1 prop)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/Makefile.am (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/Makefile.am)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/core-duo.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/core-duo.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/core2-duo.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/core2-duo.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/dual-quad-core-2.33-clovertown.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/dual-quad-core-2.33-clovertown.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/dual-quad-core-3.00-penryn.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/dual-quad-core-3.00-penryn.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/js21-altivec.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/js21-altivec.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/js21.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/js21.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/ps3-altivec.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/ps3-altivec.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/ps3.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/ps3.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/qs21-altivec.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/qs21-altivec.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/perf-data/qs21.dat (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/perf-data/qs21.dat)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/plot_flops.py (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/plot_flops.py)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/run_synthetic.py (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/run_synthetic.py)
- gnuradio/trunk/gnuradio-examples/python/mp-sched/synthetic.py (copied) (copied from gnuradio/branches/features/mp-sched/gnuradio-examples/python/mp-sched/synthetic.py)
- gnuradio/trunk/gr-pager/src/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gr-pager/src/__init__.py (modified) (1 diff)
- gnuradio/trunk/gr-pager/src/pager_utils.py (copied) (copied from gnuradio/branches/features/mp-sched/gr-pager/src/pager_utils.py)
- gnuradio/trunk/gr-pager/src/usrp_flex.py (modified) (2 diffs)
- gnuradio/trunk/gr-pager/src/usrp_flex_all.py (modified) (1 diff)
- gnuradio/trunk/gr-pager/src/usrp_flex_band.py (modified) (3 diffs)
- gnuradio/trunk/gruel/src/include/gruel/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gruel/src/include/gruel/thread_body_wrapper.h (copied) (copied from gnuradio/branches/features/mp-sched/gruel/src/include/gruel/thread_body_wrapper.h)
- gnuradio/trunk/gruel/src/include/gruel/thread_group.h (copied) (copied from gnuradio/branches/features/mp-sched/gruel/src/include/gruel/thread_group.h)
- gnuradio/trunk/gruel/src/lib/Makefile.am (modified) (1 diff)
- gnuradio/trunk/gruel/src/lib/thread_body_wrapper.cc (copied) (copied from gnuradio/branches/features/mp-sched/gruel/src/lib/thread_body_wrapper.cc)
- gnuradio/trunk/gruel/src/lib/thread_group.cc (copied) (copied from gnuradio/branches/features/mp-sched/gruel/src/lib/thread_group.cc)
- gnuradio/trunk/mblock/src/lib/Makefile.am (modified) (1 diff)
- gnuradio/trunk/pmt/src/lib/Makefile.am (modified) (1 diff)
- gnuradio/trunk/run_tests.sh.in (modified) (1 diff)
- gnuradio/trunk/usrp/host/apps-inband/Makefile.am (modified) (1 diff)
- gnuradio/trunk/usrp/host/apps/Makefile.am (modified) (1 diff)
- gnuradio/trunk/usrp/host/lib/inband/Makefile.am (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
gnuradio/trunk/Makefile.am
r8457 r9336 30 30 config.h.in \ 31 31 run_tests.sh.in \ 32 README.hacking 32 README.hacking \ 33 README.building-boost 33 34 34 35 SUBDIRS = @build_dirs@ gnuradio/trunk/Makefile.common
r8642 r9336 106 106 # This used to be set in configure.ac but is now defined here for all 107 107 # Makefiles when this fragment is included. 108 STD_DEFINES_AND_INCLUDES=$(DEFINES) $( OMNITHREAD_INCLUDES) $(GNURADIO_INCLUDES) $(BOOST_CFLAGS)108 STD_DEFINES_AND_INCLUDES=$(DEFINES) $(BOOST_CPPFLAGS) $(OMNITHREAD_INCLUDES) $(GNURADIO_INCLUDES) 109 109 110 110 # Fix for BSD make not defining $(RM). We define it now in configure.ac gnuradio/trunk/README
r6868 r9336 186 186 http://sourceforge.net/project/showfiles.php?group_id=1369&package_id=175103 187 187 188 (6) The Boost C++ Libraries http://www.boost.org 189 190 We use the Smart Pointer library. Most systems already have the boost 191 libraries available. In the unlikely event that yours doesn't, 192 download the source and follow the build instructions. They're 193 different from the normal ./configure && make 188 189 (6) The Boost C++ Libraries (1.35 or later) http://www.boost.org 190 191 We use Smart Pointers, the thread library and a bunch of other boost stuff. 192 If your system doesn't have boost 1.35 or later, see README.building-boost 193 for additional info. 194 194 195 195 gnuradio/trunk/config/Makefile.am
r8642 r9336 1 1 # 2 # Copyright 2001,2006 Free Software Foundation, Inc.2 # Copyright 2001,2006,2008 Free Software Foundation, Inc. 3 3 # 4 4 # This file is part of GNU Radio … … 28 28 m4macros = \ 29 29 acx_pthread.m4 \ 30 ax_boost_base.m4 \ 31 ax_boost_date_time.m4 \ 32 ax_boost_filesystem.m4 \ 33 ax_boost_iostreams.m4 \ 34 ax_boost_program_options.m4 \ 35 ax_boost_python.m4 \ 36 ax_boost_regex.m4 \ 37 ax_boost_serialization.m4 \ 38 ax_boost_signals.m4 \ 39 ax_boost_system.m4 \ 40 ax_boost_test_exec_monitor.m4 \ 41 ax_boost_thread.m4 \ 42 ax_boost_unit_test_framework.m4 \ 43 ax_boost_wserialization.m4 \ 30 44 bnv_have_qt.m4 \ 31 45 cppunit.m4 \ 32 gr_boost.m4 \33 46 grc_build.m4 \ 34 47 grc_gcell.m4 \ … … 65 78 gr_fortran.m4 \ 66 79 gr_gprof.m4 \ 80 gr_lib64.m4 \ 67 81 gr_libgnuradio_core_extra_ldflags.m4 \ 68 82 gr_no_undefined.m4 \ … … 76 90 gr_swig.m4 \ 77 91 gr_sysv_shm.m4 \ 78 gr_x86_64.m4 \79 92 lf_cc.m4 \ 80 93 lf_cxx.m4 \ gnuradio/trunk/config/acx_pthread.m4
r3746 r9336 1 dnl Available from the GNU Autoconf Macro Archive at: 2 dnl http://www.gnu.org/software/ac-archive/htmldoc/acx_pthread.html 3 dnl 1 # =========================================================================== 2 # http://autoconf-archive.cryp.to/acx_pthread.html 3 # =========================================================================== 4 # 5 # SYNOPSIS 6 # 7 # ACX_PTHREAD([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]) 8 # 9 # DESCRIPTION 10 # 11 # This macro figures out how to build C programs using POSIX threads. It 12 # sets the PTHREAD_LIBS output variable to the threads library and linker 13 # flags, and the PTHREAD_CFLAGS output variable to any special C compiler 14 # flags that are needed. (The user can also force certain compiler 15 # flags/libs to be tested by setting these environment variables.) 16 # 17 # Also sets PTHREAD_CC to any special C compiler that is needed for 18 # multi-threaded programs (defaults to the value of CC otherwise). (This 19 # is necessary on AIX to use the special cc_r compiler alias.) 20 # 21 # NOTE: You are assumed to not only compile your program with these flags, 22 # but also link it with them as well. e.g. you should link with 23 # $PTHREAD_CC $CFLAGS $PTHREAD_CFLAGS $LDFLAGS ... $PTHREAD_LIBS $LIBS 24 # 25 # If you are only building threads programs, you may wish to use these 26 # variables in your default LIBS, CFLAGS, and CC: 27 # 28 # LIBS="$PTHREAD_LIBS $LIBS" 29 # CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 30 # CC="$PTHREAD_CC" 31 # 32 # In addition, if the PTHREAD_CREATE_JOINABLE thread-attribute constant 33 # has a nonstandard name, defines PTHREAD_CREATE_JOINABLE to that name 34 # (e.g. PTHREAD_CREATE_UNDETACHED on AIX). 35 # 36 # ACTION-IF-FOUND is a list of shell commands to run if a threads library 37 # is found, and ACTION-IF-NOT-FOUND is a list of commands to run it if it 38 # is not found. If ACTION-IF-FOUND is not specified, the default action 39 # will define HAVE_PTHREAD. 40 # 41 # Please let the authors know if this macro fails on any platform, or if 42 # you have any other suggestions or comments. This macro was based on work 43 # by SGJ on autoconf scripts for FFTW (http://www.fftw.org/) (with help 44 # from M. Frigo), as well as ac_pthread and hb_pthread macros posted by 45 # Alejandro Forero Cuervo to the autoconf macro repository. We are also 46 # grateful for the helpful feedback of numerous users. 47 # 48 # LAST MODIFICATION 49 # 50 # 2008-04-12 51 # 52 # COPYLEFT 53 # 54 # Copyright (c) 2008 Steven G. Johnson <stevenj@alum.mit.edu> 55 # 56 # This program is free software: you can redistribute it and/or modify it 57 # under the terms of the GNU General Public License as published by the 58 # Free Software Foundation, either version 3 of the License, or (at your 59 # option) any later version. 60 # 61 # This program is distributed in the hope that it will be useful, but 62 # WITHOUT ANY WARRANTY; without even the implied warranty of 63 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General 64 # Public License for more details. 65 # 66 # You should have received a copy of the GNU General Public License along 67 # with this program. If not, see <http://www.gnu.org/licenses/>. 68 # 69 # As a special exception, the respective Autoconf Macro's copyright owner 70 # gives unlimited permission to copy, distribute and modify the configure 71 # scripts that are the output of Autoconf when processing the Macro. You 72 # need not follow the terms of the GNU General Public License when using 73 # or distributing such scripts, even though portions of the text of the 74 # Macro appear in them. The GNU General Public License (GPL) does govern 75 # all other use of the material that constitutes the Autoconf Macro. 76 # 77 # This special exception to the GPL applies to versions of the Autoconf 78 # Macro released by the Autoconf Macro Archive. When you make and 79 # distribute a modified version of the Autoconf Macro, you may extend this 80 # special exception to the GPL to apply to your modified version as well. 81 4 82 AC_DEFUN([ACX_PTHREAD], [ 5 83 AC_REQUIRE([AC_CANONICAL_HOST]) … … 38 116 # Create a list of thread flags to try. Items starting with a "-" are 39 117 # C compiler flags, and other items are library names, except for "none" 40 # which indicates that we try without any flags at all. 41 42 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt" 118 # which indicates that we try without any flags at all, and "pthread-config" 119 # which is a program returning the flags for the Pth emulation library. 120 121 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config" 43 122 44 123 # The ordering *is* (sometimes) important. Some notes on the … … 57 136 # doesn't hurt to check since this sometimes defines pthreads too; 58 137 # also defines -D_REENTRANT) 138 # ... -mt is also the pthreads flag for HP/aCC 59 139 # pthread: Linux, etcetera 60 140 # --thread-safe: KAI C++ 141 # pthread-config: use pthread-config program (for GNU Pth library) 61 142 62 143 case "${host_cpu}-${host_os}" in … … 65 146 # On Solaris (at least, for some versions), libc contains stubbed 66 147 # (non-functional) versions of the pthreads routines, so link-based 67 # tests will erroneously succeed. (We need to link with -pthread or148 # tests will erroneously succeed. (We need to link with -pthreads/-mt/ 68 149 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather 69 150 # a function called by this macro, so we could check for that, but … … 71 152 # we'll just look for -pthreads and -lpthread first: 72 153 73 acx_pthread_flags="-pthread -pthreads pthread -mt$acx_pthread_flags"154 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags" 74 155 ;; 75 156 esac … … 87 168 PTHREAD_CFLAGS="$flag" 88 169 ;; 170 171 pthread-config) 172 AC_CHECK_PROG(acx_pthread_config, pthread-config, yes, no) 173 if test x"$acx_pthread_config" = xno; then continue; fi 174 PTHREAD_CFLAGS="`pthread-config --cflags`" 175 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`" 176 ;; 89 177 90 178 *) … … 134 222 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 135 223 136 # Detect AIX lossage: threads are created detached by default 137 # and the JOINABLE attribute has a nonstandard name (UNDETACHED). 138 AC_MSG_CHECKING([for joinable pthread attribute]) 139 AC_TRY_LINK([#include <pthread.h>], 140 [int attr=PTHREAD_CREATE_JOINABLE;], 141 ok=PTHREAD_CREATE_JOINABLE, ok=unknown) 142 if test x"$ok" = xunknown; then 143 AC_TRY_LINK([#include <pthread.h>], 144 [int attr=PTHREAD_CREATE_UNDETACHED;], 145 ok=PTHREAD_CREATE_UNDETACHED, ok=unknown) 146 fi 147 if test x"$ok" != xPTHREAD_CREATE_JOINABLE; then 148 AC_DEFINE(PTHREAD_CREATE_JOINABLE, $ok, 149 [Define to the necessary symbol if this constant 150 uses a non-standard name on your system.]) 151 fi 152 AC_MSG_RESULT(${ok}) 153 if test x"$ok" = xunknown; then 154 AC_MSG_WARN([we do not know how to create joinable pthreads]) 224 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED. 225 AC_MSG_CHECKING([for joinable pthread attribute]) 226 attr_name=unknown 227 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do 228 AC_TRY_LINK([#include <pthread.h>], [int attr=$attr; return attr;], 229 [attr_name=$attr; break]) 230 done 231 AC_MSG_RESULT($attr_name) 232 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then 233 AC_DEFINE_UNQUOTED(PTHREAD_CREATE_JOINABLE, $attr_name, 234 [Define to necessary symbol if this constant 235 uses a non-standard name on your system.]) 155 236 fi 156 237 … … 158 239 flag=no 159 240 case "${host_cpu}-${host_os}" in 160 *-aix* | *-freebsd*)flag="-D_THREAD_SAFE";;161 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;241 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";; 242 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";; 162 243 esac 163 244 AC_MSG_RESULT(${flag}) 164 245 if test "x$flag" != xno; then 165 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"246 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS" 166 247 fi 167 248 … … 169 250 CFLAGS="$save_CFLAGS" 170 251 171 # More AIX lossage: must compile with cc_r 172 AC_CHECK_PROG(PTHREAD_CC, cc_r, cc_r, ${CC}) 252 # More AIX lossage: must compile with xlc_r or cc_r 253 if test x"$GCC" != xyes; then 254 AC_CHECK_PROGS(PTHREAD_CC, xlc_r cc_r, ${CC}) 255 else 256 PTHREAD_CC=$CC 257 fi 173 258 else 174 259 PTHREAD_CC="$CC" gnuradio/trunk/config/gr_set_md_cpu.m4
r6044 r9336 1 1 dnl 2 dnl Copyright 2003 Free Software Foundation, Inc.2 dnl Copyright 2003,2008 Free Software Foundation, Inc. 3 3 dnl 4 4 dnl This file is part of GNU Radio … … 29 29 AC_MSG_CHECKING([for machine dependent speedups]) 30 30 case "$cf_with_md_cpu" in 31 x86 | i[[3-7]]86) MD_CPU=x86 MD_SUBCPU=x86 ;;32 x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;;33 # sparc) MD_CPU=sparc;;34 *) MD_CPU=generic;;31 x86 | i[[3-7]]86) MD_CPU=x86 MD_SUBCPU=x86 ;; 32 x86_64) MD_CPU=x86 MD_SUBCPU=x86_64 ;; 33 powerpc*) MD_CPU=powerpc ;; 34 *) MD_CPU=generic ;; 35 35 esac 36 36 AC_MSG_RESULT($MD_CPU) … … 40 40 AM_CONDITIONAL(MD_CPU_x86, test "$MD_CPU" = "x86") 41 41 AM_CONDITIONAL(MD_SUBCPU_x86_64, test "$MD_SUBCPU" = "x86_64") 42 AM_CONDITIONAL(MD_CPU_powerpc, test "$MD_CPU" = "powerpc") 42 43 AM_CONDITIONAL(MD_CPU_generic, test "$MD_CPU" = "generic") 43 44 ]) gnuradio/trunk/config/grc_gnuradio_core.m4
r8206 r9336 29 29 ]) 30 30 31 dnl Don't do gnuradio-core if omnithread skipped 31 dnl Don't do gnuradio-core if gruel or omnithread skipped 32 GRC_CHECK_DEPENDENCY(gnuradio-core, gruel) 32 33 GRC_CHECK_DEPENDENCY(gnuradio-core, omnithread) 33 34 gnuradio/trunk/config/grc_gnuradio_examples.m4
r7888 r9336 35 35 gnuradio-examples/python/digital/Makefile \ 36 36 gnuradio-examples/python/digital_voice/Makefile \ 37 gnuradio-examples/python/mp-sched/Makefile \ 37 38 gnuradio-examples/python/multi-antenna/Makefile \ 38 39 gnuradio-examples/python/multi_usrp/Makefile \ gnuradio/trunk/configure-cell-cross
r7048 r9336 32 32 cell_root=/mnt/cell-root 33 33 python_version=2.5 34 # compiler_includes="-I${cell_root}/usr/include -I${cell_root}/usr/local/include -I${cell_root}/usr/lib/gcc/ppu/4.1.1/include -I${cell_root}/usr/lib/gcc/ppu/4.1.1/include/c++" 35 compiler_includes="-I${cell_root}/usr/include" 34 compiler_includes="-isystem ${cell_root}/usr/include" 36 35 37 36 $scriptdir/configure \ gnuradio/trunk/configure.ac
r9314 r9336 30 30 31 31 dnl add ${prefix}/lib/pkgconfig to the head of the PKG_CONFIG_PATH 32 if test [x]${PKG_CONFIG_PATH} = x; then32 if test x${PKG_CONFIG_PATH} = x; then 33 33 PKG_CONFIG_PATH=${prefix}/lib/pkgconfig 34 34 else … … 45 45 fi 46 46 47 GR_X86_64 dnl check for lib64 suffix48 47 LF_CONFIGURE_CC 49 48 LF_CONFIGURE_CXX 49 GR_LIB64 dnl check for lib64 suffix after choosing compilers 50 50 51 51 dnl The three macros above are known to override CXXFLAGS if the user … … 101 101 AC_CHECK_LIB(socket,socket) 102 102 103 dnl check for threads (mandatory)103 dnl check for omnithreads (will soon be removed) 104 104 GR_OMNITHREAD 105 CFLAGS="$ {CFLAGS}$PTHREAD_CFLAGS"106 CXXFLAGS="$ {CXXFLAGS}$PTHREAD_CFLAGS"105 CFLAGS="$CFLAGS $PTHREAD_CFLAGS" 106 CXXFLAGS="$CXXFLAGS $PTHREAD_CFLAGS" 107 107 108 108 if test x$CXX_FOR_BUILD = x … … 205 205 [AC_MSG_ERROR([GNU Radio requires cppunit. Stop])])]) 206 206 207 CPPUNIT_INCLUDES=$CPPUNIT_CFLAGS 208 AC_SUBST(CPPUNIT_INCLUDES) 209 207 210 dnl see if GUILE is installed 208 211 AC_PATH_PROG(GUILE,guile) 209 212 210 CPPUNIT_INCLUDES=$CPPUNIT_CFLAGS 211 AC_SUBST(CPPUNIT_INCLUDES) 212 213 dnl Define where to find boost includes 214 dnl defines BOOST_CFLAGS 215 GR_REQUIRE_BOOST_INCLUDES 213 dnl 214 dnl We require the boost headers, thread lib and date_time lib. 215 dnl AX_BOOST_BASE finds the headers and the lib dir (-L<foo>) 216 dnl 217 dnl calls AC_SUBST(BOOST_CPPFLAGS), AC_SUBST(BOOST_LDFLAGS) and defines HAVE_BOOST 218 AX_BOOST_BASE([1.35]) 219 220 dnl calls AC_SUBST(BOOST_THREAD_LIB), AC_SUBST(BOOST_CXXFLAGS) and defines HAVE_BOOST_THREAD 221 AX_BOOST_THREAD 222 CXXFLAGS="$CXXFLAGS $BOOST_CXXFLAGS" dnl often picks up a -pthread or something similar 223 CFLAGS="$CFLAGS $BOOST_CXXFLAGS" dnl often picks up a -pthread or something similar 224 225 dnl 226 dnl all the rest of these call AC_SUBST(BOOST_<foo>_LIB) and define HAVE_BOOST_<foo> 227 dnl 228 AX_BOOST_DATE_TIME 229 dnl AX_BOOST_FILESYSTEM 230 dnl AX_BOOST_IOSTREAMS 231 dnl AX_BOOST_PROGRAM_OPTIONS 232 dnl AX_BOOST_REGEX 233 dnl AX_BOOST_SERIALIZATION 234 dnl AX_BOOST_SIGNALS 235 dnl AX_BOOST_SYSTEM 236 dnl AX_BOOST_TEST_EXEC_MONITOR 237 dnl AX_BOOST_UNIT_TEST_FRAMEWORK 238 dnl AX_BOOST_WSERIALIZATION 239 216 240 217 241 dnl If this is being done from a subversion tree, create variables gnuradio/trunk/dtools/bin/check-tarball-h-files
r3708 r9336 18 18 | grep -v ./$path | sort >/tmp/build-h-files 19 19 20 comm -23 /tmp/build-h-files /tmp/tarball-h-files 20 comm -23 /tmp/build-h-files /tmp/tarball-h-files \ 21 | grep -Ev '(GrAtsc|_swig_|limbo|config\.h|std_paths\.h)' 21 22 22 23 # rm /tmp/tarball-h-files /tmp/build-h-files gnuradio/trunk/gcell/src/lib/spu/Makefile.am
r8618 r9336 65 65 66 66 general_spu_headers = \ 67 $(general_srcdir)/gc_spu_macs.h \ 67 68 $(general_srcdir)/libfft.h 68 69 gnuradio/trunk/gcell/src/lib/wrapper/Makefile.am
r8308 r9336 63 63 noinst_HEADERS = \ 64 64 qa_gcell_general.h \ 65 qa_gcell_wrapper.h 65 qa_gcell_wrapper.h \ 66 qa_gcp_fft_1d_r2.h 66 67 67 68 gnuradio/trunk/gnuradio-core/src/lib/Makefile.am
r8206 r9336 37 37 libgnuradio_core_qa_la_LDFLAGS = $(NO_UNDEFINED) -version-info 0:0:0 \ 38 38 $(LIBGNURADIO_CORE_EXTRA_LDFLAGS) 39 40 39 41 libgnuradio_core_la_LIBADD = \ 40 42 filter/libfilter.la \ … … 48 50 runtime/libruntime.la \ 49 51 $(OMNITHREAD_LA) \ 52 $(GRUEL_LA) \ 50 53 $(FFTW3F_LIBS) 51 54 gnuradio/trunk/gnuradio-core/src/lib/filter/Makefile.am
r8057 r9336 118 118 sysconfig_x86.cc \ 119 119 gr_fir_sysconfig_x86.cc \ 120 gr_cpu .cc \120 gr_cpu_x86.cc \ 121 121 gr_fir_ccc_simd.cc \ 122 122 gr_fir_ccc_x86.cc \ … … 167 167 qa_ccomplex_dotprod_x86.cc 168 168 169 powerpc_CODE = \ 170 sysconfig_powerpc.cc \ 171 gr_fir_sysconfig_powerpc.cc \ 172 gr_cpu_powerpc.cc \ 173 gr_fir_fff_altivec.cc \ 174 gr_altivec.c \ 175 dotprod_fff_altivec.c 176 177 powerpc_qa_CODE = \ 178 qa_dotprod_powerpc.cc 179 180 169 181 # 170 182 # include each <foo>_CODE entry here... … … 176 188 $(x86_SUBCODE) \ 177 189 $(x86_64_SUBCODE) \ 178 $(x86_qa_CODE) 190 $(x86_qa_CODE) \ 191 $(powerpc_CODE) \ 192 $(powerpc_qa_CODE) 179 193 180 194 … … 235 249 endif 236 250 251 if MD_CPU_powerpc 252 libfilter_la_SOURCES = $(libfilter_la_common_SOURCES) $(powerpc_CODE) 253 libfilter_qa_la_SOURCES = $(libfilter_qa_la_common_SOURCES) $(powerpc_qa_CODE) 254 endif 255 237 256 238 257 grinclude_HEADERS = \ … … 246 265 float_dotprod_x86.h \ 247 266 gr_adaptive_fir_ccf.h \ 267 gr_altivec.h \ 248 268 gr_cma_equalizer_cc.h \ 249 269 gr_cpu.h \ … … 252 272 gr_filter_delay_fc.h \ 253 273 gr_fir_sysconfig_x86.h \ 274 gr_fir_sysconfig_powerpc.h \ 254 275 gr_fractional_interpolator_ff.h \ 255 276 gr_fractional_interpolator_cc.h \ … … 273 294 noinst_HEADERS = \ 274 295 assembly.h \ 296 dotprod_fff_altivec.h \ 275 297 gr_fir_scc_simd.h \ 276 298 gr_fir_scc_x86.h \ … … 281 303 gr_fir_ccc_simd.h \ 282 304 gr_fir_ccc_x86.h \ 305 gr_fir_fff_altivec.h \ 283 306 gr_fir_fff_simd.h \ 284 307 gr_fir_fff_x86.h \ gnuradio/trunk/gnuradio-core/src/lib/filter/gr_cpu.h
r9176 r9336 34 34 static bool has_3dnow (); 35 35 static bool has_3dnowext ();&n
