Skip to content

Commit 8cc6f17

Browse files
malfetpytorchmergebot
authored andcommitted
[CD] Install OpenMP from homebrew (pytorch#145889)
Pull Request resolved: pytorch#145889 Approved by: https://github.com/atalman ghstack dependencies: pytorch#145871, pytorch#145870
1 parent 0d5f0a8 commit 8cc6f17

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.ci/wheel/build_wheel.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -186,9 +186,7 @@ source activate "$tmp_env_name"
186186

187187
pip install "numpy=${NUMPY_PINNED_VERSION}" "pyyaml${PYYAML_PINNED_VERSION}" requests ninja "setuptools${SETUPTOOLS_PINNED_VERSION}" typing_extensions
188188
retry pip install -r "${pytorch_rootdir}/requirements.txt" || true
189-
# TODO : Remove me later (but in the interim, use Anaconda cmake, to find Anaconda installed OpenMP)
190-
retry pip uninstall -y cmake
191-
retry conda install ${EXTRA_CONDA_INSTALL_FLAGS} -y llvm-openmp=14.0.6 cmake
189+
retry brew install libomp
192190

193191
# For USE_DISTRIBUTED=1 on macOS, need libuv, which is build as part of tensorpipe submodule
194192
export USE_DISTRIBUTED=1

0 commit comments

Comments
 (0)