[llvm] f99a8bc - [NFC][mlgo]Rename a variable in TensorFlowCompile.cmake
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 22 12:55:41 PST 2021
Author: Mircea Trofin
Date: 2021-12-22T12:55:30-08:00
New Revision: f99a8bcde8527184afc0348620deb2e2fa2f9938
URL: https://github.com/llvm/llvm-project/commit/f99a8bcde8527184afc0348620deb2e2fa2f9938
DIFF: https://github.com/llvm/llvm-project/commit/f99a8bcde8527184afc0348620deb2e2fa2f9938.diff
LOG: [NFC][mlgo]Rename a variable in TensorFlowCompile.cmake
Remaining var that had 'inlining' in name, despite being general-purpose
Added:
Modified:
llvm/cmake/modules/TensorFlowCompile.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/TensorFlowCompile.cmake b/llvm/cmake/modules/TensorFlowCompile.cmake
index 6c79e2f497845..ea5fa56cbdba8 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})
More information about the llvm-commits
mailing list