mirror of
https://github.com/Vita3K/Vita3K.git
synced 2026-07-11 01:34:23 +02:00
Revert "vita3k: Enable AVX for the compiler"
This reverts commit 7f67d1cdcd.
This commit is contained in:
@@ -31,19 +31,6 @@ endif()
|
||||
|
||||
enable_testing()
|
||||
|
||||
# Define the Architecture variable, right now it should only contain "x86_64" or "arm64"
|
||||
include("external/dynarmic/CMakeModules/DetectArchitecture.cmake")
|
||||
# Enable AVX on x86_64
|
||||
if(ARCHITECTURE STREQUAL "x86_64")
|
||||
if(MSVC)
|
||||
string(APPEND CMAKE_C_FLAGS " /arch:AVX")
|
||||
string(APPEND CMAKE_CXX_FLAGS " /arch:AVX")
|
||||
else()
|
||||
string(APPEND CMAKE_C_FLAGS " -mavx -mf16c")
|
||||
string(APPEND CMAKE_CXX_FLAGS " -mavx -mf16c")
|
||||
endif()
|
||||
endif()
|
||||
|
||||
############################
|
||||
########## Boost ###########
|
||||
############################
|
||||
|
||||
Reference in New Issue
Block a user