Update Cmake. Update NeuralAudio.

This commit is contained in:
Mike Oliphant
2026-07-17 10:03:18 -07:00
parent 9981fd4005
commit 2b83c812ad
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -8,8 +8,8 @@ else()
-Wall -Wall
# -Wpedantic -Wextra -Wstrict-aliasing -Wunreachable-code -Weffc++ -Wno-unused-parameter # -Wpedantic -Wextra -Wstrict-aliasing -Wunreachable-code -Weffc++ -Wno-unused-parameter
"$<$<CONFIG:DEBUG>:-Og;-ggdb>" "$<$<CONFIG:DEBUG>:-Og;-ggdb>"
"$<$<CONFIG:RELWITHDEBINFO>:-Ofast>" "$<$<CONFIG:RELWITHDEBINFO>:-O3>"
"$<$<CONFIG:RELEASE>:-Ofast>" "$<$<CONFIG:RELEASE>:-O3>"
) )
endif() endif()
@@ -19,14 +19,14 @@ if (CMAKE_SYSTEM_PROCESSOR MATCHES "(amd64)|(AMD64)|(x86_64)")
if (USE_NATIVE_ARCH) if (USE_NATIVE_ARCH)
if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC") if (CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
add_compile_options(/arch:AVX2) add_compile_options(/arch:AVX2 /fp:fast)
message(STATUS "Enabling /arch:AVX2") message(STATUS "Enabling /arch:AVX2")
else() else()
add_compile_options(-march=x86-64-v3) add_compile_options(-march=x86-64-v3)
message(STATUS "Enabling -march=x86-64-v3") message(STATUS "Enabling -march=x86-64-v3")
endif() endif()
else() else()
set(ENABLE_MULTIFRAME_8X8_CONVOLUTION OFF CACHE BOOL "" FORCE) set(MULTIFRAME_8X8_CONVOLUTION OFF CACHE BOOL "0" FORCE)
endif (USE_NATIVE_ARCH) endif (USE_NATIVE_ARCH)
endif () endif ()