srsran: disable avx512 for now

This commit is contained in:
Rick Farina (Zero_Chaos) 2023-02-04 14:43:02 -05:00
parent 5142efe8e5
commit b59b67bbcd
No known key found for this signature in database
GPG key ID: A29433C0AA431DDC
2 changed files with 10 additions and 8 deletions

View file

@ -93,10 +93,11 @@ src_configure() {
# append-cflags "-DLV_HAVE_AVX2 -mavx2"
# append-cxxflags "-DLV_HAVE_AVX2 -mavx2"
#fi
if use cpu_flags_x86_avx512f; then
append-cflags "-DLV_HAVE_AVX512 -mavx512f"
append-cxxflags "-DLV_HAVE_AVX512 -mavx512f"
fi
#https://github.com/pentoo/pentoo-overlay/issues/1491
#if use cpu_flags_x86_avx512f; then
# append-cflags "-DLV_HAVE_AVX512 -mavx512f"
# append-cxxflags "-DLV_HAVE_AVX512 -mavx512f"
#fi
if use cpu_flags_x86_fma3; then
append-cflags "-DLV_HAVE_FMA -mfma"
append-cxxflags "-DLV_HAVE_FMA -mfma"

View file

@ -93,10 +93,11 @@ src_configure() {
# append-cflags "-DLV_HAVE_AVX2 -mavx2"
# append-cxxflags "-DLV_HAVE_AVX2 -mavx2"
#fi
if use cpu_flags_x86_avx512f; then
append-cflags "-DLV_HAVE_AVX512 -mavx512f"
append-cxxflags "-DLV_HAVE_AVX512 -mavx512f"
fi
#https://github.com/pentoo/pentoo-overlay/issues/1491
#if use cpu_flags_x86_avx512f; then
# append-cflags "-DLV_HAVE_AVX512 -mavx512f"
# append-cxxflags "-DLV_HAVE_AVX512 -mavx512f"
#fi
if use cpu_flags_x86_fma3; then
append-cflags "-DLV_HAVE_FMA -mfma"
append-cxxflags "-DLV_HAVE_FMA -mfma"