onnxruntime/cmake/external
Changming Sun c716b56f26
Update C++ Standard from 14 to 17 (#8041)
Switched the code to C++17. To build ONNX Runtime on old distros like CentOS 7, you need to install a newer GCC from additionary repos. If you build onnxruntime with the newer GCC, typically the result binary can't be distributed to other places because it depends on the new GCC's runtime libraries, something that the stock OS doesn't have. But on RHEL/CentOS, it can be better. We use Red Hat devtoolset 8/9/10 with CentOS7 building our code. The new library features(like std::filesystem) that not exists in the old C++ runtime will be statically linked into the applications with some restrictions:

1. GCC has dual ABI, but we can only use the old one. It means std::string is still copy-on-write and std::list::size() is still O(n). Also, if you build onnxruntime on CentOS 7 and link it with some binaries that were built on CentOS 8 or Ubuntu with the new ABI and export C++ symbols directly(instead of using a C API), the it won't work.

2. We still can't use std::optional. It is a limitation coming from macOS. We will solve it when we got macOS 11 build machines. It won't be too long.

3. Please avoid to use C++17 in CUDA files(*.cu). Also, the *.h files that they include(like core/framework/float16.h). This is Because CUDA 10.2 doesn't support C++17. You are welcome to use the new features in any *.cc files.
2021-06-25 14:08:01 -07:00
..
coremltools@523d5e03d8 Initial version of CoreML EP (#6392) 2021-01-27 10:43:17 -08:00
cub@c3cceac115
cxxopts@3c73d91c0b
date@e7e1482087
dlpack@e1e11e0d55 Post merge update for ORTModule 2021-03-16 20:11:59 -07:00
eigen@1f4c0311cd Update C++ Standard from 14 to 17 (#8041) 2021-06-25 14:08:01 -07:00
emsdk@f44b841547 [wasm] upgrade emsdk version to 2.0.23 (#7893) 2021-06-02 12:26:24 -07:00
FeaturizersLibrary@fd5fe3de50
flatbuffers@6df40a2471
googlebenchmark@7d0d9061d8 add google benchmark as direct dependency (#7762) 2021-05-19 20:12:17 -07:00
googletest@53495a2a7d Update googletest to latest commit to fix build issues with GCC11 (#7984) 2021-06-08 16:06:53 -07:00
json@db78ac1d77 Use GCC 10 in Linux CPU CI pipeline (#7985) 2021-06-08 11:53:29 -07:00
libprotobuf-mutator@7a2ed51a6b
mimalloc@2d54553b7a
mp11@21cace4e57 Op kernel type reduction infrastructure. (#6466) 2021-01-28 07:27:19 -08:00
nsync@436617053d
onnx@d75fb0502c Adding optional ops in contrib ops (#7946) 2021-06-24 13:16:31 -07:00
onnx-tensorrt@99296a4462 pull onnx latest commit (#7102) 2021-03-29 11:00:38 -07:00
optional-lite@4acf4553ba
protobuf@2dc747c574 Update protobuf to 3.16 (#7616) 2021-05-07 14:09:23 -07:00
re2@4244cd1cb4 Update C++ Standard from 14 to 17 (#8041) 2021-06-25 14:08:01 -07:00
SafeInt
tensorboard@373eb09e4c
tvm@eab844a872
wil@e8c599bca6
dml.cmake Update DirectML version to 1.5.1 and enable ARM/ARM64 builds with DML (#7511) 2021-04-30 00:49:30 -07:00
dnnl.cmake matmul in dnnl (#7311) 2021-04-12 08:03:03 -07:00
eigen.cmake
featurizers.cmake
FindNumPy.cmake
jemalloc.cmake
mimalloc.cmake
onnx_minimal.cmake pull onnx latest commit (#7102) 2021-03-29 11:00:38 -07:00
pybind11.cmake Add static code analyzer to Windows CPU/GPU CI builds and fix the warnings (#7489) 2021-04-29 11:54:57 -07:00
pyxir.cmake
zlib.cmake