Commit Graph

43 Commits

Author SHA1 Message Date
Harald Welte 6bf741c934 Makefile.am: Ensure debian packaging is part of releases
So far, the 'make dist' tarballs didn't contain the debian packaging.
2022-06-30 16:09:57 +02:00
Harald Welte 0b90f7b0e0 import spec.in file for RPM based distributions
This imports the file from https://build.opensuse.org/package/show/home:mnhauke:osmocom:nightly/libosmo-dsp
so we can start auto-building the package also for RPM based
distributions in the official osmocom package feeds.
2022-06-30 16:09:36 +02:00
Harald Welte b9065dd6fd update git URLs (git -> https; gitea) 2022-06-17 23:13:49 +02:00
Eric Wild 79ebb0a5d8 configure.ac: fix libtool issue with clang and sanitizer
As pointed out at https://github.com/libexpat/libexpat/issues/312
libtool does not play nice with clang sanitizer builds at all. For those
builds LD shoud be set to clang too (and LDFLAGS needs the sanitizer
flags as well), because the clang compiler driver knows how linking to
the sanitizer libs works, but then at a later stage libtool fails to
actually produce the shared libraries and the build fails. This is fixed
by this patch.

Addtionally LD_LIBRARY_PATH has no effect on conftest runs during
configure time, so the rpath needs to be set to the asan library path to
ensure the configure run does not fail due to a missing asan library,
i.e.:

SANS='-fsanitize=memory -fsanitize-recover=all -shared-libsan' export
CC=clang-10 ASANPATH=$(dirname `$CC
-print-file-name=libclang_rt.asan-x86_64.so`) export
LDFLAGS="-Wl,-rpath,$ASANPATH $SANS $LDFLAGS"
2022-05-24 20:29:09 +02:00
Harald Welte d7d9df20b1 configure.ac: introduce --enable-werror and --enable-sanitize
... just like in other osmocom projects
2021-11-25 14:54:31 +01:00
Harald Welte 551b9752bc Bump version: 0.3.10-464b → 0.4.0 2019-01-26 17:52:50 +01:00
Harald Welte 464bb26d58 Use release helper from libosmcoore
Related: OS#1861
2019-01-26 17:51:35 +01:00
Harald Welte 29122dc229 add debian packaging for libosmodsp 2019-01-17 17:27:25 +01:00
Harald Welte 6561cfa8da make sure all hyperlinks have <> 2017-03-17 21:29:18 +01:00
Harald Welte a9262e2e5b add README.md file about the project 2017-03-17 21:28:20 +01:00
Sylvain Munaut e82886ad0e cxvec/math: Add helper to find the N highest energy values in vector
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-12-30 09:39:22 +01:00
Holger Hans Peter Freyther c3eabba5d2 doxygen: Attempt to fix make distcheck on Debian 8.0
ERROR: files left in build directory after distclean:
./doc/doxygen_sqlite3.db
Makefile:756: recipe for target 'distcleancheck' failed
make[1]: *** [distcleancheck] Error 1
2016-08-06 22:04:56 +02:00
Sylvain Munaut db3c466928 Doxygen: enable tagfile generation and usage for cross-project references
We also don't remove the html/ component of the path to be consistent with
libosmocore and allow possible future installation of pdf/latex/...

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-04-25 09:10:57 +02:00
Sylvain Munaut 6bed82cefd Doxygen: Enable client-based search engine
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2016-04-25 09:10:57 +02:00
Sylvain Munaut f68f75e8b7 cxvec/math: Make sure to use conjf and not conj to avoid double math
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-10-05 10:54:45 +02:00
Sylvain Munaut cb9371ed09 build: Add .version to EXTRA_DIST
This fixes make distcheck and this is equivalent to what we did
in libosmocore commit e28bc6876d127e1165dc7ad2ea96b585a1161ec6

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2014-10-05 10:54:12 +02:00
Sylvain Munaut 59e29c2043 iqbal: Move the SDR# comment to the Doxygen file header
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-06-16 22:48:59 +02:00
Alexander Huemer f54f7ff873 Makefile.am: Use AM_CPPFLAGS
Since automake 1.13 INCLUDES is depricates and causes a warning
2013-06-12 07:55:33 +02:00
Sylvain Munaut f9df8894c7 iqbal: Add reference to SDR# blog post
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-19 18:52:24 +01:00
Sylvain Munaut 42a684e0bf iqbal: Improve convergence of the optimization
- We need to only take the general direction of the gradient
   and not the actual value (hence the division by sum of abs)

 - We take new values even if the score is equal, it might get
   us out of a dead lock

 - When reducing the step size, we look at how much we overshoot
   to get a better new step size

 - If the gain was lower than 1%, we quit, but we still take the
   new value

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-08 17:50:21 +01:00
Sylvain Munaut 2e8cef8f61 iqbal: Reduce gradient step
1e-3 is withing the range of value we're looking for, so we need
something smaller.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-08 17:47:39 +01:00
Sylvain Munaut c0fd99fcd2 iqbal: Allow caching of fft buffer and plan during the optimize call
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-08 17:11:01 +01:00
Sylvain Munaut e97293f89b iqbal: Remove a Doxygen warning
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-03 09:58:32 +01:00
Sylvain Munaut dcf64e6a30 iqbal: Fix typo in doc
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-03-03 09:14:36 +01:00
Sylvain Munaut 0c982dabb7 iqbal: Import new module to deal with IQ balance correction/optimization
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-19 21:58:24 +01:00
Sylvain Munaut f352adfde5 build: Make configure fail if all required headers aren't found
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-10 20:03:46 +01:00
Diego Elio Pettenò 206968b827 build: remove redundant AC_PROG_LIBTOOL and use LT_INIT(pic-only).
Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-10 19:49:29 +01:00
Diego Elio Pettenò bddfec6997 build: set automake options in configure.ac only.
Also disable building of gzip-compressed tarballs.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-10 19:45:44 +01:00
Diego Elio Pettenò c8b45495ec build: simplify Doxygen output installation
Instead of using a custom pkgdocdir value use the default, and
overridable, htmldir. Also make sure that the directory is properly
removed at uninstall, to unbreak `make distcheck`.

Signed-off-by: Diego Elio Pettenò <flameeyes@flameeyes.eu>
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-02-10 19:42:36 +01:00
Sylvain Munaut d076a66599 doxyfiles: refer paths to @srcdir@
Based on a libosmocore patch by Alex Badea

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-06 00:45:17 +01:00
Sylvain Munaut 38b3e257e1 build: Replace obsolete automake AM_CONFIG_HEADER
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2013-01-06 00:38:27 +01:00
Sylvain Munaut d070919a98 cxvec_math: Add osmo_cxvec_delay function
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-05-24 10:59:39 +02:00
Sylvain Munaut 76671f27d0 cxvec_math: Add missing doc for 'out' param of osmo_cxvec_convolve
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-05-23 19:27:35 +02:00
Sylvain Munaut 0a2560db76 cxvec_math: Mark input vectors as 'const' where applicable
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-05-23 19:27:01 +02:00
Sylvain Munaut e03f966590 src: Fix typo in Makefile
Thanks to horizon for pointing this out.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-05-14 20:39:16 +02:00
Sylvain Munaut ab13571d7c Rename to libosmosdr to libosmodsp to avoid conflict with the SDR hw
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-18 22:19:14 +02:00
Sylvain Munaut dd339d41e1 doc: Fix the Doxygen section endings
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-04-18 22:19:14 +02:00
Sylvain Munaut 39efa040f5 misc: Fix mailing list address
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2012-03-28 13:06:58 +02:00
Harald Welte e32eaff08b rename libosmosdr to libosmo-sdr 2011-10-16 13:17:28 +02:00
Sylvain Munaut 01fc31c2c5 Add .gitignore
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 16:53:51 +02:00
Sylvain Munaut f95ac67d65 build: Add all the autotools 'magic'
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 16:53:51 +02:00
Sylvain Munaut 7c73e82a2b Initial import of the actual sources/headers
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 16:53:51 +02:00
Sylvain Munaut 2276f58368 Intial checkin of the libosmo-sdr with just licence & authors
Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
2011-10-15 00:28:12 +02:00