fix some typos on no exception building (#366)
* fix some typos on no exception building * undo some changes * more fixing
This commit is contained in:
Родитель
1445b6fdb7
Коммит
be0625c385
|
@ -19,7 +19,7 @@ Introduction: ONNXRuntime-Extensions is a library that extends the capability of
|
|||
|
||||
#### <strong>on Windows</strong>
|
||||
```bash
|
||||
pip install --extra-index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ onnxruntime-extensions
|
||||
pip install --index-url https://aiinfra.pkgs.visualstudio.com/PublicPackages/_packaging/ORT-Nightly/pypi/simple/ onnxruntime-extensions
|
||||
```
|
||||
#### <strong>on Linux/macOS</strong>
|
||||
the packages are not ready yet, so it could be installed from source. Please make sure the compiler toolkit like gcc(later than g++ 8.0) or clang, and the tool <strong>cmake</strong> are installed before the following command
|
||||
|
|
|
@ -15,6 +15,6 @@ endif()
|
|||
if (OCOS_ENABLE_SPM_TOKENIZER)
|
||||
message(FATAL_ERROR "SPM_TOKENIZER operator needs c++ exceptions support")
|
||||
endif()
|
||||
if (OCOS_ENABLE_CV2 || OCOS_ENABLE_OPENCV_CODECS || OCOS_ENABLE_VISION)
|
||||
if (OCOS_ENABLE_CV2 OR OCOS_ENABLE_OPENCV_CODECS OR OCOS_ENABLE_VISION)
|
||||
message(FATAL_ERROR "the operators depending on opencv needs c++ exceptions support")
|
||||
endif()
|
||||
|
|
Загрузка…
Ссылка в новой задаче