Mercurial > hg > CbC > CbC_xv6
changeset 395:17e8a4bc06a7 default tip
add macOS AR/RANLIB
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 14 Dec 2020 21:59:50 +0900 |
parents | 03b57cc656d9 |
children | |
files | src/gearsTools/lib/Gears/Context.pm src/gearsTools/lib/Gears/Util.pm src/gearsTools/pmake.pl |
diffstat | 3 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gearsTools/lib/Gears/Context.pm Mon Dec 14 20:44:38 2020 +0900 +++ b/src/gearsTools/lib/Gears/Context.pm Mon Dec 14 21:59:50 2020 +0900 @@ -142,8 +142,8 @@ my $impls = $dg2path->{impl}; use Data::Dumper; - print Dumper $dg2path; - print Dumper $self; + # print Dumper $dg2path; + # print Dumper $self; map { my $ir = Gears::Util->parse_interface($inters->{$_}); $dg_str{$_}->{elem} = $ir if $ir} keys %$inters;
--- a/src/gearsTools/lib/Gears/Util.pm Mon Dec 14 20:44:38 2020 +0900 +++ b/src/gearsTools/lib/Gears/Util.pm Mon Dec 14 21:59:50 2020 +0900 @@ -298,9 +298,9 @@ $counter{interfaces}->{Meta}++; $counter{interfaces}->{TaskManager}++; - print "-----------\n"; - print Dumper \%counter; - print "-----------\n"; + # print "-----------\n"; + # print Dumper \%counter; + # print "-----------\n"; return \%counter; }
--- a/src/gearsTools/pmake.pl Mon Dec 14 20:44:38 2020 +0900 +++ b/src/gearsTools/pmake.pl Mon Dec 14 21:59:50 2020 +0900 @@ -37,6 +37,10 @@ my $objcopy; if ($^O =~ /darwin/){ my $armdir = "/usr/local/Cellar/arm-none-eabi-gcc/9-2019-q4-major"; + push(@cmake_arg, + "-DCBC_AR=$armdir/bin/arm-none-eabi-ar", + "-DCBC_RANLIB=$armdir/bin/arm-none-eabi-ranlib", + ); $objcopy = "$armdir/bin/arm-none-eabi-objcopy"; # my $cbcmdir = "/usr/local/Cellar/cbc/llvm10"; if (! defined $cbcmdir) {