aboutsummaryrefslogtreecommitdiff
path: root/cmake
AgeCommit message (Collapse)Author
2024-02-02Fix various typosluzpaz
Found using `codespell -q 3 -L caf,highe,inlin,nd,ordert,shft` Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2023-12-20Merge LACE/NoLACE under OSCE frameworkJan Buethe
2023-11-25Adding dotprod instruction to ARM rtcdJean-Marc Valin
Used for DNN matrix multiplies
2023-11-21Trying to fix CMake buildJean-Marc Valin
aka banging on it until it builds on my machine. Further improvements welcome
2023-06-16CMake - change avx to avx2 and fmaMarcus Asteborg
2023-06-16add option for neural fec and add dred testMarcus Asteborg
Signed-off-by: Marcus Asteborg <maastebo@microsoft.com> Signed-off-by: Jean-Marc Valin <jmvalin@amazon.com>
2023-06-16Fixup extensions implementation and add unit testsMichael Klingbeil
Add unit tests for opus_packet_extensions_count, opus_packet_extensions_parse, and opus_packet_extensions_generate. Add various assertions for NULL buffers or negative length arguments. Add explicit check for invalid length in opus_packet_extensions_count. Check for extension id >127 in opus_packet_extensions_generate. Check for invalid length input in opus_packet_extensions_generate. Signed-off-by: Jean-Marc Valin <jmvalin@amazon.com>
2023-05-27cmake instructionsMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2022-07-09Only build platform RTCD sources when enabled.Timothy B. Terriberry
To avoid issues with empty compilation units.
2022-07-07cmake - fix rtcd detection on x86 non windowsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2022-07-07cmake - fix lrintf, lrint detectionMarcus Asteborg
This commit addresses the issues of not finding lrintf and lrint. We switch to check_symbol_exists instead per cmake documentation. Also make sure to link math lib for detection for nix. For MSVC the issue for non x86 builds was that the standard was set to default which is 199409L. This resulted in not using lrintf even that it was found. To address this we set the C standard to C11 and it will only apply to newer versions of MSVC where the /std flag is supported. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2021-05-12cmake - add support to run ctest on android #2347Marcus Asteborg
Signed-off-by: Ralph Giles <giles@thaumas.net>
2020-08-08cmake - MINGW check for ssp lib and link if security features is enabledMarcus Asteborg
2020-08-08cmake - fix bugs around consuming Opus as a submodule in cmake and package ↵Marcus Asteborg
version parsing
2020-08-08cmake - add warning flags for clang, gcc etc.Marcus Asteborg
2020-06-15Remove trailing whitespaces in vla.c that was missed previouslyMarcus Asteborg
2020-06-13cmake/CFeatureCheck.cmake: fix feature tests failing when Opus is a submoduleDavide Beatrici
CMAKE_SOURCE_DIR corresponds to the top project's source directory. CMAKE_BINARY_DIR corresponds to the top project's binary directory. The usage of these variables doesn't cause any problems when Opus is built as a standalone project. This is not the case when Opus is added as submodule: the variables are set by the project that calls "add_subdirectory()". The fix consists in using PROJECT_SOURCE_DIR and PROJECT_BINARY_DIR, which always refer to the current project. Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - add option to disable intrinsicsMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - move all compiler feature detection to OpusConfigMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - add include guards to cmake filesMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-06-13cmake - move cmake related files to cmake folder to make root dir less busyMarcus Asteborg
Signed-off-by: Mark Harris <mark.hsj@gmail.com>
2020-04-20cmake - Add variable length detection and alloca detectionMarcus Asteborg
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>