Last active
February 12, 2017 17:56
-
-
Save cengiz-io/d4823ef26de615a716067d9ab448174c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
my $version = "3.5"; | |
my @commands = qw(llvm-as llvm-dis opt llc lli llvm-link llvm-ar llvm-lib | |
llvm-nm llvm-config llvm-diff llvm-cov llvm-profdata | |
llvm-stress llvm-symbolizer llvm-dwarfdump); | |
foreach my $c (@commands) { | |
system("sudo update-alternatives --install /usr/bin/$c $c /usr/bin/$c-$version 10"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment