pytorch/torch/utils
Peter Goldsborough 01c7542f43 Use -isystem for system includes in C++ extensions (#11459)
Summary:
I noticed warnings from within pybind11 being shown when building C++ extensions. This can be avoided by including non-user-supplied headers with `-isystem` instead of `-I`

I hope this works on Windows.

soumith ezyang
Pull Request resolved: https://github.com/pytorch/pytorch/pull/11459

Differential Revision: D9764444

Pulled By: goldsborough

fbshipit-source-id: b288572106078f347f0342f158f9e2b63a58c235
2018-09-11 10:40:20 -07:00
..
backcompat Simplify python warning settings and cleanup tests. 2017-06-11 05:37:59 -04:00
bottleneck Add environment collection script (#6635) 2018-04-22 15:18:14 -04:00
data C10d release to torch.distributed for PT1 (#11405) 2018-09-10 23:27:22 -07:00
ffi Make all of TH and THC C++. (#6913) 2018-04-28 07:45:02 -04:00
serialization Codemod to update our codebase to 0.4 standard (#6641) 2018-04-17 22:06:54 -04:00
trainer loss plugin: Fix indexing into a scalar (#9143) 2018-07-03 14:25:44 -07:00
__init__.py [pep8] Fix most lint automatically with autopep8 2017-01-28 01:15:51 +01:00
checkpoint.py various documentation formatting (#9359) 2018-07-13 02:48:25 -07:00
collect_env.py Fix collect_env.py for Windows (#8326) 2018-06-11 10:52:21 -04:00
cpp_extension.py Use -isystem for system includes in C++ extensions (#11459) 2018-09-11 10:40:20 -07:00
dlpack.py various documentation formatting (#9359) 2018-07-13 02:48:25 -07:00
file_baton.py Create FileBaton to synchronize distributed JIT C++ extension builds (#6684) 2018-04-18 18:07:03 -04:00
hooks.py Make weight norm pickleable (#2066) 2017-07-12 17:21:22 -04:00
model_zoo.py Enable the general usage of _download_url_to_file (#9090) 2018-07-02 19:55:39 -07:00