summaryrefslogtreecommitdiff
path: root/torch/lib
diff options
context:
space:
mode:
authorScott Stevenson <scott@stevenson.io>2017-11-20 21:52:10 +0000
committerSoumith Chintala <soumith@gmail.com>2017-11-20 16:52:10 -0500
commita9ef76b9c68b7caa7254087721854be64d8ba995 (patch)
treec23726086469700ce5b5413fef7df3655baaecce /torch/lib
parent4bce69be221a090c7f679caa7f6c6c5ee4d4a054 (diff)
downloadpytorch-a9ef76b9c68b7caa7254087721854be64d8ba995.tar.gz
pytorch-a9ef76b9c68b7caa7254087721854be64d8ba995.tar.bz2
pytorch-a9ef76b9c68b7caa7254087721854be64d8ba995.zip
Reflect renaming of OS X to macOS (#3795)
Diffstat (limited to 'torch/lib')
-rw-r--r--torch/lib/THD/CMakeLists.txt2
-rw-r--r--torch/lib/libshm/CMakeLists.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/torch/lib/THD/CMakeLists.txt b/torch/lib/THD/CMakeLists.txt
index a8a2113477..11e241b862 100644
--- a/torch/lib/THD/CMakeLists.txt
+++ b/torch/lib/THD/CMakeLists.txt
@@ -34,7 +34,7 @@ int main() {
IF(NOT HAS_THREAD_LOCAL)
MESSAGE(FATAL_ERROR "thread_local not supported. THD requires a compiler"
" that supports thread_local. Please upgrade your "
- "compiler. If you are on OSX, upgrade to "
+ "compiler. If you are on macOS, upgrade to "
"XCode 8 or newer.")
ENDIF(NOT HAS_THREAD_LOCAL)
diff --git a/torch/lib/libshm/CMakeLists.txt b/torch/lib/libshm/CMakeLists.txt
index 9887bb3d20..3460dadb17 100644
--- a/torch/lib/libshm/CMakeLists.txt
+++ b/torch/lib/libshm/CMakeLists.txt
@@ -26,7 +26,7 @@ IF ($ENV{PYTORCH_BINARY_BUILD})
SET(CMAKE_CXX_FLAGS "-static-libstdc++ ${CMAKE_CXX_FLAGS}")
IF (UNIX AND NOT APPLE)
- # hiding statically linked library symbols, this flag is not available for the linker under MACOSX
+ # hiding statically linked library symbols, this flag is not available for the linker under macOS
SET(CMAKE_CXX_FLAGS "-Wl,--exclude-libs,libstdc++.a ${CMAKE_CXX_FLAGS}")
ENDIF(UNIX AND NOT APPLE)