Commit graph

4 commits

Author SHA1 Message Date
Nathaniel R. Lewis
7628d844b4
CMake Changes
- Fix typo in OPUS_USE_NEON description.

    - Set OPUS_PRESUME_NEON for iOS platforms as all armv7 and higher
      iOS devices support NEON.

    - Fix detection of aarch64 for OPUS_CPU_ARM and adding sources from
      celt_sources_arm. (previously would miss armcpu.c and arm_celt_map.c)

    - Change "armv7-a" to "arm" in MATCHES checks against
      CMAKE_SYSTEM_PROCESSOR as systems like the RPi3 report as
      "armv7l".

    - Rename OPUS_MAY_SUPPORT_NEON to OPUS_MAY_HAVE_NEON as this name is
      used everywhere else in the CMake build system. Without this,
      runtime capability detection is broken on aarch64.

Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-20 22:47:56 -04:00
Marcus Asteborg
927de8453c
cmake - intinsics fixes, only compile SSE source with SSE flags on non-windows when target use runtime check (GH #154). For windows we only use /arch flag when target is presumed to support SSE to avoid AVX function pollution (GH #132).
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-20 22:47:56 -04:00
Marcus Asteborg
6adac61a1e
cmake - make package version parsing more robust
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2020-04-20 22:47:55 -04:00
Marcus Asteborg
f9d3d432d1
Adding CMake support for Windows, Mac, Linux and Android Co-Authored-By: evpobr
Signed-off-by: Jean-Marc Valin <jmvalin@jmvalin.ca>
2019-04-03 11:51:13 -04:00