microsoft/onnxruntime-extensions
Publicmirrored fromhttps://github.com/microsoft/onnxruntime-extensionsAvailable
cmake/noexcep_ops.cmake
13lines · modecode
| 1 | # If the oeprator needs the cpp exceptions supports, write down their names |
| 2 | if (OCOS_ENABLE_GPT2_TOKENIZER) |
| 3 | message(FATAL_ERROR "GPT2_TOKENIZER operator needs c++ exceptions support") |
| 4 | endif() |
| 5 | if (OCOS_ENABLE_BERT_TOKENIZER) |
| 6 | message(FATAL_ERROR "BERT_TOKENIZE operator needs c++ exceptions support") |
| 7 | endif() |
| 8 | if (OCOS_ENABLE_BLINGFIRE) |
| 9 | message(FATAL_ERROR "BLINGFIRE operator needs c++ exceptions support") |
| 10 | endif() |
| 11 | if (OCOS_ENABLE_SPM_TOKENIZER) |
| 12 | message(FATAL_ERROR "SPM_TOKENIZER operator needs c++ exceptions support") |
| 13 | endif() |
| 14 | |