Home | History | Annotate | Download | only in scripts

Lines Matching full:llvm

3 # This script should be pointed to a valid llvm.build folder that
4 # was created using the "build-llvm.pl" shell script. It will create
5 # a new llvm.zip file that can be checked into the respository
6 # at lldb/llvm.zip
79 my $llvm_source_dir = abs_path(shift @ARGV); # The llvm source that contains full llvm and clang sources
80 my $llvm_build_dir = abs_path(shift @ARGV); # The llvm build directory that contains headers and
84 printf("LLVM sources : '%s'\n", $llvm_source_dir);
85 printf("LLVM build : '%s'\n", $llvm_build_dir);
87 printf("LLVM zip file: '%s'\n", $llvm_zip_file);
89 -e $llvm_build_dir or die "LLVM build directory doesn't exist: '$llvm_build_dir': $!\n";
93 my $llvm_checkpoint_dir = "$temp_dir/llvm";
94 mkdir "$llvm_checkpoint_dir" or die "Couldn't make 'llvm' in '$temp_dir'\n";
119 do_command ("rm -rf '$llvm_zip_file'", "Removing old llvm checkpoint file '$llvm_zip_file'", 1);
120 do_command ("(cd '$temp_dir' ; zip -r '$llvm_zip_file' 'llvm')", "Zipping llvm checkpoint directory '$llvm_checkpoint_dir' to '$llvm_zip_file'", 1);
124 print "USAGE\n\tcheckpoint-llvm.pl <llvm-sources> <llvm-build> <lldb-build> <llvm-zip> <arch1> [<arch2> ...]\n\n";
125 print "EXAMPLE\n\tcd lldb\n\t./scripts/checkpoint-llvm.pl llvm build/llvm build/BuildAndIntegration llvm.zip x86_64 i386\n";