1 # Copyright (C) 2001-2006, Parrot Foundation.
6 config/auto/cpu.pm - CPU specific Files
10 Runs C<runstep()> in F<config/auto/cpu/${cpuarch}/auto.pm> if it exists.
19 use base
qw(Parrot::Configure::Step);
21 use Parrot
::Configure
::Utils
qw(copy_if_diff);
28 $data{description
} = q{Generate CPU specific stuff};
34 my ( $self, $conf ) = @_;
36 my $verbose = $conf->options->get('verbose');
38 $conf->data->add( ' ', TEMP_atomic_o
=> '' ); # assure a default
40 my $hints = "auto::cpu::" . $conf->data->get('cpuarch') . "::auto";
42 print "\t(cpu hints = '$hints') " if $verbose;
46 $hints->runstep( $conf, @_ );
49 print "(no cpu specific hints)" if $verbose;
59 # cperl-indent-level: 4
62 # vim: expandtab shiftwidth=4: