diff options
author | Pieter Noordhuis <pcnoordhuis@gmail.com> | 2018-09-07 15:16:32 -0700 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2018-09-07 15:25:38 -0700 |
commit | 9886ebeb24697ba86eceedf514ecaed15887b512 (patch) | |
tree | 57b44063f1b87ca028748023be7393ff7f5f1a95 /torch/lib | |
parent | 802d21c8f4502b2ea6ff866bcaf5fef38c026546 (diff) | |
download | pytorch-9886ebeb24697ba86eceedf514ecaed15887b512.tar.gz pytorch-9886ebeb24697ba86eceedf514ecaed15887b512.tar.bz2 pytorch-9886ebeb24697ba86eceedf514ecaed15887b512.zip |
Remove hardcoded system path from CMAKE_MODULE_PATH (#11386)
Summary:
This seems to be causing different versions of OpenMPI being picked up
by different parts of the build. Not a good practice to include absolute
paths anyway, so let's try removing it.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11386
Reviewed By: teng-li
Differential Revision: D9724349
Pulled By: pietern
fbshipit-source-id: 3dfef91c81f2e97e5125284aff9e7e98f8761917
Diffstat (limited to 'torch/lib')
-rw-r--r-- | torch/lib/c10d/CMakeLists.txt | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/torch/lib/c10d/CMakeLists.txt b/torch/lib/c10d/CMakeLists.txt index a2c14377bc..9a09065bc4 100644 --- a/torch/lib/c10d/CMakeLists.txt +++ b/torch/lib/c10d/CMakeLists.txt @@ -2,7 +2,6 @@ cmake_minimum_required(VERSION 3.2 FATAL_ERROR) # Find modules. list(APPEND CMAKE_MODULE_PATH - /usr/lib/x86_64-linux-gnu/ ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/public ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/Modules ${CMAKE_CURRENT_SOURCE_DIR}/../../../cmake/Modules_CUDA_fix) |