archrelease: copy trunk to community-any
[ArchLinux/community.git] / python-pytorch / repos / community-x86_64 / disable-werror1.patch
bloba832e0adca2d14bc31bde9c248a17ac1c4085703
1 diff --git a/CMakeLists.txt b/CMakeLists.txt
2 index 58dcb9a..269a7a6 100644
3 --- a/CMakeLists.txt
4 +++ b/CMakeLists.txt
5 @@ -144,7 +144,7 @@ if(MSVC)
6 else(MSVC)
7 string(APPEND CMAKE_CXX_FLAGS " -Wall")
8 string(APPEND CMAKE_CXX_FLAGS " -Wextra")
9 - string(APPEND CMAKE_CXX_FLAGS " -Werror")
10 + # string(APPEND CMAKE_CXX_FLAGS " -Werror")
11 string(APPEND CMAKE_CXX_FLAGS " -Wno-deprecated-declarations")
12 target_compile_options(fbgemm_avx2 PRIVATE
13 "-m64" "-mavx2" "-mf16c" "-mfma")