|
|
@ -50,47 +50,47 @@ configure_file(
|
|
|
|
########################################################################
|
|
|
|
########################################################################
|
|
|
|
# Options
|
|
|
|
# Options
|
|
|
|
########################################################################
|
|
|
|
########################################################################
|
|
|
|
option(ENABLE_SRSUE "Build srsUE application" ON)
|
|
|
|
option(ENABLE_SRSUE "Build srsUE application" ON)
|
|
|
|
option(ENABLE_SRSENB "Build srsENB application" ON)
|
|
|
|
option(ENABLE_SRSENB "Build srsENB application" ON)
|
|
|
|
option(ENABLE_SRSEPC "Build srsEPC application" ON)
|
|
|
|
option(ENABLE_SRSEPC "Build srsEPC application" ON)
|
|
|
|
option(DISABLE_SIMD "Disable SIMD instructions" OFF)
|
|
|
|
option(DISABLE_SIMD "Disable SIMD instructions" OFF)
|
|
|
|
option(AUTO_DETECT_ISA "Autodetect supported ISA extensions" ON)
|
|
|
|
option(AUTO_DETECT_ISA "Autodetect supported ISA extensions" ON)
|
|
|
|
|
|
|
|
|
|
|
|
option(ENABLE_GUI "Enable GUI (using srsGUI)" ON)
|
|
|
|
option(ENABLE_GUI "Enable GUI (using srsGUI)" ON)
|
|
|
|
option(ENABLE_UHD "Enable UHD" ON)
|
|
|
|
option(ENABLE_UHD "Enable UHD" ON)
|
|
|
|
option(ENABLE_BLADERF "Enable BladeRF" ON)
|
|
|
|
option(ENABLE_BLADERF "Enable BladeRF" ON)
|
|
|
|
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)
|
|
|
|
option(ENABLE_SOAPYSDR "Enable SoapySDR" ON)
|
|
|
|
option(ENABLE_ZEROMQ "Enable ZeroMQ" ON)
|
|
|
|
option(ENABLE_ZEROMQ "Enable ZeroMQ" ON)
|
|
|
|
option(ENABLE_HARDSIM "Enable support for SIM cards" ON)
|
|
|
|
option(ENABLE_HARDSIM "Enable support for SIM cards" ON)
|
|
|
|
|
|
|
|
|
|
|
|
option(ENABLE_TTCN3 "Enable TTCN3 test binaries" OFF)
|
|
|
|
option(ENABLE_TTCN3 "Enable TTCN3 test binaries" OFF)
|
|
|
|
option(ENABLE_ZMQ_TEST "Enable ZMQ based E2E tests" OFF)
|
|
|
|
option(ENABLE_ZMQ_TEST "Enable ZMQ based E2E tests" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
option(BUILD_STATIC "Attempt to statically link external deps" OFF)
|
|
|
|
option(BUILD_STATIC "Attempt to statically link external deps" OFF)
|
|
|
|
option(RPATH "Enable RPATH" OFF)
|
|
|
|
option(RPATH "Enable RPATH" OFF)
|
|
|
|
option(ENABLE_ASAN "Enable gcc/clang address sanitizer" OFF)
|
|
|
|
option(ENABLE_ASAN "Enable gcc/clang address sanitizer" OFF)
|
|
|
|
option(ENABLE_GCOV "Enable gcc/clang address sanitizer" OFF)
|
|
|
|
option(ENABLE_GCOV "Enable gcc/clang address sanitizer" OFF)
|
|
|
|
option(ENABLE_MSAN "Enable clang memory sanitizer" OFF)
|
|
|
|
option(ENABLE_MSAN "Enable clang memory sanitizer" OFF)
|
|
|
|
option(ENABLE_TSAN "Enable clang thread sanitizer" OFF)
|
|
|
|
option(ENABLE_TSAN "Enable clang thread sanitizer" OFF)
|
|
|
|
option(ENABLE_TIDY "Enable clang tidy" OFF)
|
|
|
|
option(ENABLE_TIDY "Enable clang tidy" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
option(USE_LTE_RATES "Use standard LTE sampling rates" OFF)
|
|
|
|
option(USE_LTE_RATES "Use standard LTE sampling rates" OFF)
|
|
|
|
option(USE_MKL "Use MKL instead of fftw" OFF)
|
|
|
|
option(USE_MKL "Use MKL instead of fftw" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
option(ENABLE_TIMEPROF "Enable time profiling" ON)
|
|
|
|
option(ENABLE_TIMEPROF "Enable time profiling" ON)
|
|
|
|
|
|
|
|
|
|
|
|
option(FORCE_32BIT "Add flags to force 32 bit compilation" OFF)
|
|
|
|
option(FORCE_32BIT "Add flags to force 32 bit compilation" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
option(ENABLE_SRSLOG_TRACING "Enable event tracing using srslog" OFF)
|
|
|
|
option(ENABLE_SRSLOG_TRACING "Enable event tracing using srslog" OFF)
|
|
|
|
option(ASSERTS_ENABLED "Enable srsRAN asserts" ON)
|
|
|
|
option(ASSERTS_ENABLED "Enable srsRAN asserts" ON)
|
|
|
|
option(STOP_ON_WARNING "Interrupt application on warning" OFF)
|
|
|
|
option(STOP_ON_WARNING "Interrupt application on warning" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
# Users that want to try this feature need to make sure the lto plugin is
|
|
|
|
# Users that want to try this feature need to make sure the lto plugin is
|
|
|
|
# loaded by bintools (ar, nm, ...). Older versions of bintools will not do
|
|
|
|
# loaded by bintools (ar, nm, ...). Older versions of bintools will not do
|
|
|
|
# it automatically so it is necessary to use the gcc wrappers of the compiler
|
|
|
|
# it automatically so it is necessary to use the gcc wrappers of the compiler
|
|
|
|
# (gcc-ar, gcc-nm, ...).
|
|
|
|
# (gcc-ar, gcc-nm, ...).
|
|
|
|
option(BUILD_WITH_LTO "Enable LTO (experimental)" OFF)
|
|
|
|
option(BUILD_WITH_LTO "Enable LTO (experimental)" OFF)
|
|
|
|
|
|
|
|
|
|
|
|
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
|
|
|
if(${CMAKE_SYSTEM_PROCESSOR} MATCHES "aarch64")
|
|
|
|
set(GCC_ARCH armv8-a CACHE STRING "GCC compile for specific architecture.")
|
|
|
|
set(GCC_ARCH armv8-a CACHE STRING "GCC compile for specific architecture.")
|
|
|
|
message(STATUS "Detected aarch64 processor")
|
|
|
|
message(STATUS "Detected aarch64 processor")
|
|
|
|