Skip to content

Commit f99a8bc

Browse files
committed
[NFC][mlgo]Rename a variable in TensorFlowCompile.cmake
Remaining var that had 'inlining' in name, despite being general-purpose
1 parent e5639b3 commit f99a8bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/cmake/modules/TensorFlowCompile.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ endfunction()
8989
function(tf_find_and_compile model default_url default_path generation_config tag_set signature_def_key fname cpp_class)
9090
if ("${model}" STREQUAL "download")
9191
# Crash if the user wants to download a model but a URL is set to "TO_BE_UPDATED"
92-
if ("${LLVM_INLINER_MODEL_CURRENT_URL}" STREQUAL "TO_BE_UPDATED")
93-
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.")
92+
if ("${default_url}" STREQUAL "TO_BE_UPDATED")
93+
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.")
9494
endif()
9595

9696
set(model ${default_url})

0 commit comments

Comments
 (0)