diff options
author | Mircea Trofin <mtrofin@google.com> | 2021-12-22 12:54:37 -0800 |
---|---|---|
committer | Mircea Trofin <mtrofin@google.com> | 2021-12-22 12:55:30 -0800 |
commit | f99a8bcde8527184afc0348620deb2e2fa2f9938 (patch) | |
tree | acf5916a23577ba7e9002231f3963cf7ce352d22 | |
parent | e5639b3fa45f68c53e8e676749b0f1aacd16b41d (diff) | |
download | llvm-f99a8bcde8527184afc0348620deb2e2fa2f9938.zip llvm-f99a8bcde8527184afc0348620deb2e2fa2f9938.tar.gz llvm-f99a8bcde8527184afc0348620deb2e2fa2f9938.tar.bz2 |
[NFC][mlgo]Rename a variable in TensorFlowCompile.cmake
Remaining var that had 'inlining' in name, despite being general-purpose
-rw-r--r-- | llvm/cmake/modules/TensorFlowCompile.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/cmake/modules/TensorFlowCompile.cmake b/llvm/cmake/modules/TensorFlowCompile.cmake index 6c79e2f..ea5fa56 100644 --- a/llvm/cmake/modules/TensorFlowCompile.cmake +++ b/llvm/cmake/modules/TensorFlowCompile.cmake @@ -89,8 +89,8 @@ endfunction() function(tf_find_and_compile model default_url default_path generation_config tag_set signature_def_key fname cpp_class) if ("${model}" STREQUAL "download") # Crash if the user wants to download a model but a URL is set to "TO_BE_UPDATED" - if ("${LLVM_INLINER_MODEL_CURRENT_URL}" STREQUAL "TO_BE_UPDATED") - message(FATAL_ERROR "LLVM_INLINER_MODEL_PATH was set to 'download' but there is no model url currently specified in cmake - likely, the model interface recently changed, and so there is not a released model available.") + if ("${default_url}" STREQUAL "TO_BE_UPDATED") + message(FATAL_ERROR "Default URL was set to 'download' but there is no model url currently specified in cmake - likely, the model interface recently changed, and so there is not a released model available.") endif() set(model ${default_url}) |