Index: runtimes/CMakeLists.txt =================================================================== --- runtimes/CMakeLists.txt +++ runtimes/CMakeLists.txt @@ -224,14 +224,6 @@ set(target ${LLVM_DEFAULT_TARGET_TRIPLE}) endif() - string(REPLACE "-" ";" builtin_target_list ${target}) - foreach(item ${builtin_target_list}) - string(TOLOWER "${item}" item_lower) - if(item_lower MATCHES "darwin") - message(FATAL_ERROR "LLVM_BUILTIN_TARGETS isn't implemented for Darwin platform!") - endif() - endforeach() - foreach(variableName ${variableNames}) if(variableName MATCHES "^BUILTINS_${target}") string(REPLACE "BUILTINS_${target}_" "" new_name ${variableName})