Skip to content

Commit

Permalink
Use pre-compiled headers for PyTorch Source builds (llvm#1327)
Browse files Browse the repository at this point in the history
This should speed up source builds and ccache. May cause issues on macOS (pytorch/pytorch#80018)
  • Loading branch information
powderluv authored and AmosLewis committed Sep 1, 2022
1 parent 82f414b commit 990674c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions build_tools/build_libtorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ build_pytorch() {
USE_PYTORCH_QNNPACK=ON \
USE_QNNPACK=OFF \
USE_XNNPACK=OFF \
USE_PRECOMPILED_HEADERS=1 \
${PYTHON_BIN} setup.py bdist_wheel -d "$WHEELHOUSE"
}

Expand Down

0 comments on commit 990674c

Please sign in to comment.