Skip to content

Commit

Permalink
Added pytorch patch file to revert https://github.com/pytorch/pytorch… (
Browse files Browse the repository at this point in the history
#4137)

* Added pytorch patch file to revert pytorch/pytorch#81058

* updated the diff file.
  • Loading branch information
vanbasten23 authored Oct 28, 2022
1 parent 33f02b5 commit dffb915
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions torch_patches/81058.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c2c6fb2496..5cbd50a159 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -44,10 +44,6 @@ if(DEFINED GLIBCXX_USE_CXX11_ABI)
if(${GLIBCXX_USE_CXX11_ABI} EQUAL 1)
set(CXX_STANDARD_REQUIRED ON)
string(APPEND CMAKE_CXX_FLAGS " -D_GLIBCXX_USE_CXX11_ABI=1")
- else()
- # Please note this is required in order to ensure compatibility between gcc 9 and gcc 7
- # This could be removed when all Linux PyTorch binary builds are compiled by the same toolchain again
- string(APPEND CMAKE_CXX_FLAGS " -fabi-version=11")
endif()
endif()

0 comments on commit dffb915

Please sign in to comment.