srsran: add enableLteRates input option

This commit is contained in:
Markus Kowalewski
2025-01-30 20:28:53 +01:00
parent 74000f9ef7
commit 7399d4a899
+2
View File
@@ -14,6 +14,7 @@
soapysdr-with-plugins,
libbladeRF,
zeromq,
enableLteRates ? false,
enableAvx ? stdenv.hostPlatform.avxSupport,
enableAvx2 ? stdenv.hostPlatform.avx2Support,
enableFma ? stdenv.hostPlatform.fmaSupport,
@@ -56,6 +57,7 @@ stdenv.mkDerivation rec {
cmakeFlags = [
"-DENABLE_WERROR=OFF"
(lib.cmakeBool "ENABLE_LTE_RATES" enableLteRates)
(lib.cmakeBool "ENABLE_AVX" enableAvx)
(lib.cmakeBool "ENABLE_AVX2" enableAvx2)
(lib.cmakeBool "ENABLE_FMA" enableFma)