PerlBuildSystem
view release on metacpan or search on metacpan
PBS/Depend.pm view on Meta::CPAN
{
my $flag = '' ;
$flag = '(?i)' if $^O eq 'MSWin32' ;
if($found_pbsfile =~ /$flag^$source_directory(.*)/)
{
$sub_pbs_name_stem = $1
}
}
my $relocated_subpbs ;
if(defined $sub_pbs_name_stem)
{
if($pbs_config->{DISPLAY_SUBPBS_SEARCH_INFO})
{
PrintInfo "Found stem '$sub_pbs_name_stem'.\n" ;
}
for my $source_directory (@$source_directories)
{
my $relocated_from_stem = PBS::PBSConfig::CollapsePath("$source_directory/$sub_pbs_name_stem") ;
if(-e $relocated_from_stem)
{
unless($relocated_subpbs)
{
$relocated_subpbs = $relocated_from_stem ;
if($relocated_from_stem ne $found_pbsfile)
{
PrintWarning2("Relocated '$sub_pbs_name_stem' in '$source_directory' $info.\n") ;
}
else
{
if($pbs_config->{DISPLAY_SUBPBS_SEARCH_INFO})
{
PrintInfo "Keeping '$sub_pbs_name_stem' from '$source_directory' $info.\n" ;
}
}
last unless $pbs_config->{DISPLAY_ALL_SUBPBS_ALTERNATIVES} ;
}
else
{
if($pbs_config->{DISPLAY_SUBPBS_SEARCH_INFO})
{
PrintInfo "Ignoring relocation of '$sub_pbs_name_stem' in '$source_directory' $info.\n" ;
}
}
}
else
{
if($pbs_config->{DISPLAY_SUBPBS_SEARCH_INFO})
{
PrintInfo "Couldn't relocate '$sub_pbs_name_stem' in '$source_directory' $info.\n" ;
}
}
}
}
$sub_pbs_name = $relocated_subpbs || $found_pbsfile || $sub_pbs_name;
}
return($sub_pbs_name) ;
}
#-------------------------------------------------------------------------------------------------------
1 ;
__END__
=> lower output spam.
=> filter the out put in an external viewer ?
Remove single node checker from PBS::Check
=> not used anymore
#remove any remains of NO_DIGEST
#Add wizard for new prf format
#warning about using absolute Pbsfile path should use same color as relocation warning
#both warning should tell where the warning comes from
#Give feed back while checking
#AddGetConfigList that dereferences list config variables
warp 1.6
# source files don't trigger
add subpbsfile triggering (trigger that have that as original package??)
add shadow nodes
add test
document what warp 1.5 does, specially regeneration
_ We rebuild too much! when C_depender changes, we should rebuild only if the dependencies change md5.
when compiling error occurs open build buffer in editor
=> What about listing the file names somewhere where a post pbs or a script could take over?
=> this assumes the build buffers are kept
^^^^ AddEnvironmentDependencies does not work with warp as do the other AddDependency functions (Add Switch)
-p pbsfile displays warning about relocating pbsfile ????
=> couldn't reproduce at home!
Is LOCAL_NODES really needed when the node does have a a different path
META_NODE 1
one node is multiple files in the filesystem
Create a term and acronymes section
allow creation of builders that generate shell commands
todo and div emil docs (integrate)
documentation
pbs completion
project generator
win32 specific scripts
#merge Adsubpbsrules from work
#Document the fact that warp1_5 doesn't have a warp tree
#relocated Pbsfile is psycho!
=> rewrote and added switches -display_subpbs_search_info -display_all_subpbs_alternatives
#Postpbs doest get a valid dependency tree if the build failed
return error code instead for exception
#add link to rt.cpan.org
#Apply patch
#Remove spurious PBSFILE HELP for -hu -hur output
( run in 1.210 second using v1.01-cache-2.11-cpan-71847e10f99 )