Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix torch_glow build on Mac OS X (pytorch#4241)
Summary: On Mac OS X, we install some third-party libraries with `brew` into `/usr/local`. Somehow, this system path in included as part of the dependency of some `lib` targets but previously torch_glow only includes a subset of those target hence missing the `/usr/local` system path. I haven't found out which specific target brings in the `/usr/local` path but w/e. The reason that CI works is probably because on Ubuntu, when we do `apt-get` it will install the files into `/usr` which probably is checked by default. Documentation: [Optional Fixes #issue] Pull Request resolved: pytorch#4241 Test Plan: Please see a detailed explanation of how to fill out the fields in the relevant sections in PULL_REQUEST.md. Differential Revision: D20212116 Pulled By: yinghai fbshipit-source-id: f24c81469917d7e2ff90538c407ac80e46c27e8f
- Loading branch information