diff options
author | David Pollack <david@da3.net> | 2019-05-13 20:46:36 +0300 |
---|---|---|
committer | Facebook Github Bot <facebook-github-bot@users.noreply.github.com> | 2019-05-13 20:49:40 +0300 |
commit | c21a93d62898df77c4cebbbfa0f885f03c08483c (patch) | |
tree | 7eb67fc339785ac275537c6626c7744a3d404ff2 /README.md | |
parent | 6ec218e6ed5dcb9b5397a608a3b5b8027b236819 (diff) |
switch from cmake downloads to git submodules (#95)
Summary:
I created a pull request for #87. I also tend to do a lot of hacking without an internet connection and it is nice to have the required library offline. I also get a cryptic error message when I build pytorch without an internet connection because these modules aren't available.
Pull Request resolved: https://github.com/pytorch/FBGEMM/pull/95
Reviewed By: jianyuh
Differential Revision: D15299133
Pulled By: dskhudia
fbshipit-source-id: 6cf9ed47482eceee5f0444a8361720e0cfe25a13
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -51,8 +51,7 @@ is **on**. Turn it off by setting FBGEMM\_BUILD\_TESTS to off. You can download [asmjit][1], [cpuinfo][2], [googletest][3] and set ASMJIT\_SRC\_DIR, CPUINFO\_SRC\_DIR, GOOGLETEST\_SOURCE\_DIR respectively for cmake to find these libraries. If any of these variables is not set, cmake will -try to download that missing library in a folder called third\_party in the -build directory and build it using the downloaded source code. +build the git submodules found in the third\_party directory. FBGEMM, in general, does not have any dependency on Intel MKL. However, for performance comparison, some benchmarks use MKL functions. If MKL is found or @@ -63,6 +62,8 @@ not found, the benchmarks are not built. General build instructions are as follows: ``` +git clone --recursive https://github.com/pytorch/FBGEMM.git +cd FBGEMM mkdir build && cd build cmake .. make |