projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove an invalid assert that is really just asserting when the scheduler emits
[oota-llvm.git]
/
utils
/
UpdateCMakeLists.pl
diff --git
a/utils/UpdateCMakeLists.pl
b/utils/UpdateCMakeLists.pl
index 94e69ce2556cae9073c2ea9615e3c829534cb8ef..8f535145de3115959ee1a3db793d5fa0f63aa417 100755
(executable)
--- a/
utils/UpdateCMakeLists.pl
+++ b/
utils/UpdateCMakeLists.pl
@@
-68,7
+68,8
@@
sub UpdateCMake {
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
while(<IN>) {
if (!$foundLibrary) {
print OUT $_;
- if (/^add_clang_library\(/ || /^add_llvm_library\(/) {
+ if (/^add_clang_library\(/ || /^add_llvm_library\(/ || /^add_llvm_target\(/
+ || /^add_executable\(/) {
$foundLibrary = 1;
EmitCMakeList($dir);
}
$foundLibrary = 1;
EmitCMakeList($dir);
}
@@
-96,7
+97,7
@@
sub UpdateCMake {
my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
close(FILE);
my $digestB = Digest::MD5->new->addfile(*FILE)->hexdigest;
close(FILE);
- if ($digestA
!=
$digestB) {
+ if ($digestA
ne
$digestB) {
move($cmakeListNew, $cmakeList);
return 1;
}
move($cmakeListNew, $cmakeList);
return 1;
}