[llvm] 631ee8b - Make fb80b6b2d58c4 actually work.
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 2 11:29:23 PDT 2020
Author: Nico Weber
Date: 2020-04-02T14:28:34-04:00
New Revision: 631ee8b24adf36359b61ecb47484e8e82de35be8
URL: https://github.com/llvm/llvm-project/commit/631ee8b24adf36359b61ecb47484e8e82de35be8
DIFF: https://github.com/llvm/llvm-project/commit/631ee8b24adf36359b61ecb47484e8e82de35be8.diff
LOG: Make fb80b6b2d58c4 actually work.
I broke it with last-minute changes right before committing.
Differential Revision: https://reviews.llvm.org/D77184
Added:
Modified:
llvm/cmake/modules/AddLLVM.cmake
Removed:
################################################################################
diff --git a/llvm/cmake/modules/AddLLVM.cmake b/llvm/cmake/modules/AddLLVM.cmake
index 74450b36523e..0732ca6ed0d0 100644
--- a/llvm/cmake/modules/AddLLVM.cmake
+++ b/llvm/cmake/modules/AddLLVM.cmake
@@ -1473,7 +1473,7 @@ function(configure_lit_site_cfg site_in site_out)
set(TARGET_TRIPLE "\"+config.target_triple+\"")
endif()
- if (ARG_PATH_VALUES)
+ if (ARG_PATHS)
# Walk ARG_PATHS and collect the current value of the variables in there.
foreach(path ${ARG_PATHS})
list(APPEND ARG_PATH_VALUES "${${path}}")
@@ -1495,7 +1495,7 @@ function(configure_lit_site_cfg site_in site_out)
list(LENGTH ARG_PATH_VALUES len_path_values)
list(LENGTH ARG_PATH_VALUES_RELATIVE len_path_value_rels)
if ((NOT ${len_paths} EQUAL ${len_path_values}) OR
- (NOT ${len_paths} EQUAL ${path_value_len_rels}))
+ (NOT ${len_paths} EQUAL ${len_path_value_rels}))
message(SEND_ERROR "PATHS lengths got confused")
endif()
More information about the llvm-commits
mailing list