onnxruntime/cmake/external
Yi Zhang 698e9f71cd
Improve cache hit rate in windows build (#15538)
### Description
1.  Update /Zi to /Z7 in abseil project while using cache
2.  Skip target_precompile_headers while using cache


### Motivation and Context
There're about 1/4 uncacheable calls in Windows GPU compilation with
cache.
```
Uncacheable calls:                   441 / 1641 (26.87%)
  Could not use precompiled header:  361 /  441 (81.86%)
  Preprocessing failed:                1 /  441 ( 0.23%)
  Unsupported compiler option:        79 /  441 (17.91%)
```

https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=961916&view=logs&j=5076e696-f193-5f12-2d8a-703dda41a79b&t=9b927034-e3ef-5e25-c6df-387bc37acd63&l=21

The root cause of `Unsupported compiler option` is that /Zi in Abseil
isn't updated to /Z7.
The root cause of `Could not use precompiled header` is the
`target_precompile_headers` creates cmake_pch.pch every time and it's
hash value is changed too.

### Result
It could reduce compilation time by another 20%. 
For example:
It took 16m43 in CUDA training compilation on Windows.
It takes 13m32 after the change.

https://dev.azure.com/onnxruntime/onnxruntime/_build/results?buildId=964002&view=logs&s=959c6b43-5937-53e5-5f36-e53cb0249117


### N.B.
In winml project, it's using own target_precompile**d**_header
https://github.com/microsoft/onnxruntime/blob/main/cmake/precompiled_header.cmake.
Just let it be.
2023-04-18 09:31:35 -07:00
..
eigen@d10b27fe37
emsdk@0ab19024f0 [wasm] upgrade emsdk from 3.1.19 to 3.1.32 (#14818) 2023-02-28 11:06:09 -08:00
libprotobuf-mutator@7a2ed51a6b
onnx@9b7bca2a72 to work with onnx 1.13 rc, implement ver 18 reduce and optioanl ops, … (#13765) 2023-01-09 10:26:16 -08:00
onnxruntime-extensions@81e7799c69 pin ort-ext to 81e7799c69044c745239202085eb0a98f102937b (#14044) 2023-01-10 10:10:17 -08:00
abseil-cpp.cmake Let Cmake decide where to place abseil (#14057) 2022-12-23 12:08:13 -08:00
abseil-cpp.natvis Update absl to the latest release (#13990) 2022-12-19 14:25:13 -08:00
composable_kernel.cmake ROCm Flash Attention (#14838) 2023-03-16 10:39:58 +08:00
cutlass.cmake Extend memory efficient attention coverage in Attention/MHA cuda op (#15064) 2023-03-23 11:05:17 -07:00
dml.cmake [DML EP] Upgrade DML to 1.10.1 (#14433) 2023-01-25 21:07:10 -08:00
dnnl.cmake [oneDNN] Update to oneDNN v3.0 (#14267) 2023-02-17 09:56:29 -08:00
eigen.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
extensions.cmake Update the post-merge pipeline (#14965) 2023-03-29 13:12:07 -07:00
find_snpe.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
FindNumPy.cmake
helper_functions.cmake Improve cache hit rate in windows build (#15538) 2023-04-18 09:31:35 -07:00
ipp-crypto.cmake [TVM EP] Hot fix of build on Windows of TVM EP with ipp-crypto (#12381) 2022-07-31 14:36:54 +02:00
mimalloc.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
onnx_minimal.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
onnx_protobuf.natvis Natvis adjustments to make debugging bearable (#13237) 2022-10-10 10:06:55 -07:00
onnxruntime_external_deps.cmake Add clog back to onnxruntime_EXTERNAL_LIBRARIES. (#15363) 2023-04-05 09:11:19 -07:00
protobuf_function.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
pybind11.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
pyxir.cmake
triton.cmake CloudEP (#13855) 2023-01-03 10:03:15 -08:00
tvm.cmake [TVM EP] Support zero copying TVM EP output tensor to ONNX Runtime output tensor (#12593) 2023-02-08 10:02:20 -08:00
wil.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00
xnnpack.cmake Improve dependency management (#13523) 2022-12-01 09:51:59 -08:00