Skip to content

Commit

Permalink
Types.pm no need be .PL
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Nov 12, 2024
1 parent d9e03fd commit e99039d
Show file tree
Hide file tree
Showing 6 changed files with 140 additions and 259 deletions.
1 change: 0 additions & 1 deletion Basic/.gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
lib/PDL/Core.c
lib/PDL/Core/pdl.h
lib/PDL/Core/pdlperl.h
lib/PDL/Types.pm
script/pdl
2 changes: 1 addition & 1 deletion Basic/Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ eval { require Devel::CheckLib; Devel::CheckLib->import; };
my $pdlroot = catfile qw(script pdl);
my @exe_files = map catfile('script', $_), qw(perldl pdldoc pptemplate);
push @exe_files, "$pdlroot$Config{exe_ext}" if $^O !~ /MSWin/;
my @cleanup = ("$pdlroot$Config{exe_ext}", catfile(qw(lib PDL Types.pm)));
my @cleanup = ("$pdlroot$Config{exe_ext}");

undef &MY::postamble; # suppress warning
*MY::postamble = sub {
Expand Down
2 changes: 0 additions & 2 deletions Basic/lib/PDL/Core/Dev.pm
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ sub _pp_list_functions {
if (!$flist_cache{$abs_src}) {
my $w = whereami_any();
my $typespm = catfile($w, 'Types.pm');
system $^X, "$typespm.PL", $typespm and die "Failed to create Types.pm from '$typespm.PL'"
if $internal and !-f $typespm;
require $typespm;
local $INC{'PDL/Types.pm'} = 1;
require ''.catfile($w, qw(PP.pm));
Expand Down
Loading

0 comments on commit e99039d

Please sign in to comment.