Commit Graph

538 Commits

Author SHA1 Message Date
Carles Fernandez fdda4edffb
Improve handling of the ORC library 2020-12-02 16:19:56 +01:00
Carles Fernandez b56ed9187c
Check for lib64 versus lib and set LIB_SUFFIX accordingly 2020-11-30 12:05:45 +01:00
Carles Fernandez 7e1f0176f4
Make SIMD instructions work on MS Windows 2020-11-20 16:44:06 +01:00
Carles Fernandez 0c03ac4568
More robust solution for archs not supported by cpu_features 2020-10-28 18:42:17 +01:00
Carles Fernandez d7e2f82dab
Fix for s390x arch, since cpu_features does not support it 2020-10-27 09:13:49 +01:00
Carles Fernandez 14e588a6af
Remove old CMake support, not used anymore 2020-10-25 11:33:45 +01:00
Carles Fernandez 6509656c79
Fix copyright name 2020-10-24 14:52:05 +02:00
Carles Fernandez 97a51c511d
Remove unused line 2020-10-24 13:20:55 +02:00
Carles Fernandez 33cee471f1
Find cpu_features.a file in more distributions. Update Google benchmark to 1.5.2 2020-10-24 10:48:48 +02:00
Carles Fernandez 3bc4cf2637
Fixes for old CMake 2020-10-23 22:27:45 +02:00
Carles Fernandez 7c2954c08f
Fix warning 2020-10-23 21:54:18 +02:00
Carles Fernandez 2f58c4aef1
Make cmakelint happy 2020-10-23 21:47:30 +02:00
Carles Fernandez 97224e60d2
Update cpu_features, fix integration 2020-10-23 21:36:12 +02:00
Carles Fernandez 292d084478
Merge branch 'next' of https://github.com/gnss-sdr/gnss-sdr into cpu-features 2020-10-23 19:50:42 +02:00
Carles Fernandez c1ecd1d1be
Fix python detection when cross-compiling 2020-10-16 20:06:11 +02:00
Carles Fernandez 8aae7b6ce1
Fix for CMake 3.0 2020-08-23 09:42:35 +02:00
Carles Fernandez c6aec7a105
Fix for CMake < 3.12 2020-08-22 12:43:02 +02:00
Carles Fernandez 8054f3bbe9
Fix for Windows 2020-08-22 12:34:03 +02:00
Carles Fernandez d50e901caf
Fix for Windows 2020-08-22 12:27:40 +02:00
Carles Fernandez 929b9b43ad
Fix for Windows 2020-08-22 12:06:12 +02:00
Carles Fernandez 2a21ee6a54
Fix dll linkage in windows 2020-08-22 11:01:49 +02:00
Carles Fernandez d1085af3ac
Activate usage of cpu_features 2020-08-21 16:31:57 +02:00
Carles Fernandez cda2c998b8
Add work towards using cpu_features. Keep compatibility with old systems 2020-08-21 14:43:04 +02:00
Carles Fernandez 191e26ee17
Do not stop volk_gnsssdr building with unknown build type, just set it to None 2020-07-29 19:03:57 +02:00
Carles Fernandez 2a7731135f
Bump version number to 0.0.13 2020-07-29 08:59:47 +02:00
Carles Fernandez 499de7a9f1
Update file headers 2020-07-28 16:57:15 +02:00
Carles Fernandez 09bcd1981c Replace std::endl by \n character. There is no need to always flush the stream. 2020-07-07 18:53:50 +02:00
Carles Fernandez 0c4bdfac48
Use INT8_MIN/MAX instead of SCHAR_MIN/MAX for consistency and portability 2020-06-28 13:25:23 +02:00
Carles Fernandez 836e074f98
Add building option ENABLE_STRIP to enable the generation of stripped binaries (without debgging information). Set to OFF by default 2020-06-10 17:22:03 +02:00
Carles Fernandez a73e08c017
Improve README files 2020-05-16 16:11:50 +02:00
Carles Fernandez 052dd1fc85
Fix Python version detection 2020-05-10 18:31:54 +02:00
Carles Fernandez 33696780bf
Do no require six module if python is 3.x 2020-05-10 18:20:20 +02:00
Carles Fernandez a7928bf14c
Import python six module only if python is 2.7 2020-05-10 18:15:09 +02:00
Carles Fernandez 0637365d6c
Remove python-six as a dependency if Python version is 3.x 2020-05-10 17:31:39 +02:00
Carles Fernandez b43daff65f
Fix warning in CMake 3.17 2020-05-09 12:15:54 +02:00
Carles Fernandez 7a5907eaf7
Drop compile-time CPU detection 2020-04-02 11:10:20 +02:00
Carles Fernandez 1a2f7c7d9d
Bump version to 0.0.12
Add REUSE badge to README file
2020-03-12 20:13:49 +01:00
Carles Fernandez 4b3f777425
Add cmake modules to cmakelint job and fix errors 2020-03-01 12:29:21 +01:00
Carles Fernandez e638019d93
Fix formatting errors detected by cmakelint 2020-03-01 11:53:01 +01:00
Carles Fernandez 299cb1a2ee
Remove usage of uninitialized variables in CMake scripts
Remove all warnings emitted by cmake --warn-uninitialized ..
2020-02-29 14:33:09 +01:00
Carles Fernandez 581ba96904
Use cmake -E rm instead of -E remove if CMake >= 3.17 2020-02-28 20:57:28 +01:00
Carles Fernandez 716fa970c4
More markdown fixes 2020-02-27 19:50:08 +01:00
Carles Fernandez 17a7044add Wrap README text into 80 character-length lines, so they are easier to read from the terminal.
Formatted by https://prettier.io/, options: --parser markdown --print-width 80 --prose-wrap always
2020-02-27 18:42:43 +01:00
Carles Fernandez c470d43432
Fix shadowed variables
See MISRA C++:2008, 2-10-2 - Identifiers declared in an inner scope shall not hide an identifier declared in an outer scope
and https://rules.sonarsource.com/cpp/RSPEC-1117\?search\=shadow
2020-02-26 22:40:00 +01:00
Carles Fernandez 0986e4a66e cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:11:08 +01:00
Carles Fernandez 29c1971c24 cpplint: Should have a space between // and comment [whitespace/comments] 2020-02-24 15:05:32 +01:00
Carles Fernandez e0b54cf8fe Rearrange attributes to simplify macros 2020-02-24 11:39:15 +01:00
Carles Fernandez 5698c9c2ea Disable complex math NaN/INFO range checking for performance 2020-02-24 11:38:18 +01:00
Carles Fernandez ac7a77fd47
Minor fixes 2020-02-17 08:02:59 +01:00
Carles Fernandez 448995f8b0
Improve documentation 2020-02-17 08:00:52 +01:00
Carles Fernandez 0f4bd21805
Use Use C11 aligned_alloc
See https://github.com/gnuradio/volk/pull/334
2020-02-13 19:44:24 +01:00
Carles Fernandez 2ded19342f
Improve headers 2020-02-12 00:04:29 +01:00
Carles Fernandez aeaf68fe47
Fix detection of Volk version if pkg-config is not present 2020-02-10 01:16:58 +01:00
Carles Fernandez b7a75453d3
Fix comments syntax in Markdown 2020-02-08 10:52:42 +01:00
Carles Fernandez 955348b080
Remove trailing underscore in header guards 2020-02-08 10:10:46 +01:00
Carles Fernandez 4d0d263280
Make the software package compliant with the REUSE Specification v3.0 (see https://reuse.software/spec/)
Update license headers to SPDX format (see https://spdx.org/)
Add license to all files
Add CI job in GitHub Actions to ensure compliance
2020-02-08 01:20:02 +01:00
Carles Fernandez 0f0c3e7e1d Update links 2020-02-06 17:33:29 +01:00
Carles Fernandez d6ec2a7b2c
Update links (mainly from http to https, fix broken links) 2020-02-05 21:24:46 +01:00
Carles Fernandez e75a1f19d6
Update links 2020-02-05 10:20:32 +01:00
Carles Fernandez 3f7ad8d8a7
Fix markdown 2020-02-02 13:25:15 +01:00
Carles Fernandez 56608db347
Reorder README 2020-02-02 13:23:37 +01:00
Carles Fernandez 715b7dc404
Reorder README 2020-02-02 13:23:23 +01:00
Carles Fernandez 2fe4e37ae8
Add license badge and BibTex entry for reference 2020-02-01 14:47:21 +01:00
Carles Fernandez 75b2dbf10e
Improve wording, fix broken link 2020-02-01 14:27:49 +01:00
Carles Fernandez 9023f19794
Use C++ comments for final #endif in headers 2020-01-26 22:23:22 +01:00
Carles Fernandez eb40d9dbb5
Minor fixes 2020-01-26 14:09:49 +01:00
Carles Fernandez 120032c8bd
Fix building with custom build types
None, NoOptWithASM, Coverage, O2WithASM, O3WithASM and ASAN can now be used in CMAKE_BUILD_TYPE, in addition to Debug, Release, RelWithDebInfo and MinSizeRel.
Custom build types passed to volk_gnsssdr

Handle of custom build types when building tests
Fixes for clang
2020-01-19 22:13:50 +01:00
Carles Fernandez 98ea7dc276
Fix detection of AVX and NEON
Let the compiler know where to find volk/volk_common.h when testing for AVX and NEON

Make use of __VOLK_VOLATILE

Replace <inttypes.h> by <stdint.h> in volk/volk_common.h, fixes configuration in macOS
2020-01-14 12:51:55 +01:00
Carles Fernandez 931d69b76e
Fix ARM NEON detection 2020-01-13 23:12:34 +01:00
Carles Fernandez 69e349d832
Fix guards 2020-01-13 03:12:19 +01:00
Carles Fernandez 24a2d6c5d9 Update README to reflect how to build on Raspberry Pi 2019-12-16 10:12:15 -03:00
Carles Fernandez 5f97d52998 CMake fixes
Remove Boost usage from lib, and fix it in apps to be used only if std::filesystem is not found.
Be more precise in specifying whether include directories are PUBLIC or PRIVATE.
Some whitespace tweaks
2019-12-15 12:43:07 -03:00
Carles Fernandez 80fbeb4fe5
Revert "cmake: Use standard way of getting python prefix"
This reverts commit f6311abc87.
2019-11-30 21:14:12 +01:00
Carles Fernandez f6311abc87
cmake: Use standard way of getting python prefix 2019-11-30 20:48:13 +01:00
Carles Fernandez 0038853c52
Clean CMake files 2019-11-30 20:30:22 +01:00
Carles Fernandez b552616b99
Find Python 3 with CMake < 3.12 2019-11-30 17:42:44 +01:00
Carles Fernandez 21d19ebd93
Fix typo 2019-11-30 14:19:25 +01:00
Carles Fernandez 51c8732ff1
Look for python3 in first place even if CMake < 3.12 2019-11-30 14:18:39 +01:00
Carles Fernandez 1d8024df98
Apply clang-format 2019-11-29 16:40:03 +01:00
Carles Fernandez aa9adf3fd6
Replace deprecated exec_program by execute_process 2019-11-29 13:20:49 +01:00
Carles Fernandez c88fffc5b2
Fix uninstall target 2019-11-29 13:02:02 +01:00
Carles Fernandez 625561a655
Remove deprecated cstdbool header 2019-11-25 22:47:31 +01:00
Carles Fernandez bc7edede7c
Fixes for MSVC 2019-11-25 21:48:52 +01:00
Carles Fernandez 64a1fcafb2
Boost_ADDITIONAL_VERSIONS is deprecated 2019-11-24 21:20:37 +01:00
Carles Fernandez 17fd01ee3f
Use sha256 instead of sha1 for hash algorithm 2019-11-17 21:01:03 +01:00
Carles Fernandez 815a910619
Make use of ORC if available 2019-11-17 13:42:29 +01:00
Carles Fernandez 1a9e25aa76
Add __clang__ specific attributes 2019-11-16 12:25:39 +01:00
Carles Fernandez 5728730c2a
cmake: use sha1 instead of md5 for unique target name hash
See https://github.com/gnuradio/volk/issues/238
2019-11-16 11:50:41 +01:00
Carles Fernandez c1a26e01ff
Fix building with Xcode
Now gnss-sdr can be built with Xcode (using the CMake flag -GXcode). Before this commit, this was only possible with volk_gnsssdr already installed.
Reason of failing was that Xcode does not like targets that have only object files. See https://gitlab.kitware.com/cmake/cmake/issues/17457
2019-11-07 17:55:00 +01:00
Carles Fernandez 8f12cbc466
Include Visual Studio 14 2019-11-04 21:09:11 +01:00
Carles Fernandez 75c2dcc929
Remove unused variable 2019-11-01 21:02:43 +01:00
Carles Fernandez 4816ae64f7
Add toolchain files for ARM processors 2019-11-01 19:29:28 +01:00
Carles Fernandez 62ace8d9e4
Move CMAKE_ASM_FLAGS to arm toolchain files 2019-11-01 11:17:52 +01:00
Carles Fernandez d14111c85d
Improve license text wording
Fix for AppleClang compiler >= 11
2019-10-30 21:27:57 +01:00
Carles Fernandez b1166de1a0
Introduce volk:gnsssdr::vector
The usual benefits of using objects as opposed to pointers (RAII) + the type information is manifest (no void* pointers)
The best of both worlds: automatic destruction, aligned memory
2019-10-26 22:24:42 +02:00
Carles Fernandez 054a20b5bf
Apply clang-format to the whole code tree 2019-10-11 11:57:33 +02:00
Carles Fernandez 0520d400b3 Apply clang-tidy 2019-09-11 22:31:34 +00:00
Carles Fernandez d652903cb6
Apply formatting 2019-09-07 09:38:05 +02:00
Carles Fernandez dac73c730a
Import exceptions module 2019-08-23 22:44:01 +02:00
Carles Fernandez f5cf32a142
Add additional argument to volk_get_config_path 2019-08-23 22:43:01 +02:00