summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorGregory Chanan <gchanan@fb.com>2018-07-31 07:18:23 -0700
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>2018-07-31 07:25:56 -0700
commit6fb9acfc1654da214e2e45a72eda8dfe090bb466 (patch)
tree2d9a615694b67cd3c431ca036b5eabc0d9ffccc2 /cmake
parent78b806c86167dc0a1e96ccbede292cead7b1f4db (diff)
downloadpytorch-6fb9acfc1654da214e2e45a72eda8dfe090bb466.tar.gz
pytorch-6fb9acfc1654da214e2e45a72eda8dfe090bb466.tar.bz2
pytorch-6fb9acfc1654da214e2e45a72eda8dfe090bb466.zip
Revert empty n-dim and ATen in C2 integration builds
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/10064 Differential Revision: D9082082 Pulled By: gchanan fbshipit-source-id: ae49470f5b4c89b13beb55fd825de1ba05b6a4fa
Diffstat (limited to 'cmake')
-rw-r--r--cmake/MiscCheck.cmake9
1 files changed, 0 insertions, 9 deletions
diff --git a/cmake/MiscCheck.cmake b/cmake/MiscCheck.cmake
index b8ba4ecead..2a4e61f97b 100644
--- a/cmake/MiscCheck.cmake
+++ b/cmake/MiscCheck.cmake
@@ -157,15 +157,6 @@ if (${COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY})
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CAFFE2_VISIBILITY_FLAG}")
endif()
-# ---[ Checks if linker supports -rdynamic. `-rdynamic` tells linker
-# -to add all (including unused) symbols into the dynamic symbol
-# -table. We need this to get symbols when generating backtrace at
-# -runtime.
-check_cxx_compiler_flag("-rdynamic" COMPILER_SUPPORTS_RDYNAMIC)
-if (${COMPILER_SUPPORTS_RDYNAMIC})
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -rdynamic")
-endif()
-
# ---[ If we are using msvc, set no warning flags
# Note(jiayq): if you are going to add a warning flag, check if this is
# totally necessary, and only add when you see fit. If it is needed due to