mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-23 05:11:02 +02:00
* Do not try to resolve dependencies for packages that not meet the target
git-svn-id: trunk@44470 -
This commit is contained in:
parent
81887a2eb3
commit
625e847e56
@ -585,6 +585,10 @@ begin
|
||||
begin
|
||||
// Find and List dependencies
|
||||
L:=TStringList.Create;
|
||||
|
||||
if not ((PackageManager.CompilerOptions.CompilerOS in P.OSes) and (PackageManager.CompilerOptions.CompilerCPU in P.CPUs)) then
|
||||
Log(llDebug,SDbgPackageDependencyOtherTarget,[P.Name,MakeTargetString(PackageManager.CompilerOptions.CompilerCPU,PackageManager.CompilerOptions.CompilerOS)])
|
||||
else
|
||||
for i:=0 to P.Dependencies.Count-1 do
|
||||
begin
|
||||
D:=P.Dependencies[i];
|
||||
|
@ -158,6 +158,7 @@ Resourcestring
|
||||
SDbgBackupFile = 'Creating Backup File "%s"';
|
||||
SDbgPackageMultipleLocations = 'Multiple installations found for package %s, using installation "%s"';
|
||||
SDbgPackageDependencyOtherTarget = 'Dependency on package %s is not for %s';
|
||||
SDbgPackageDepOtherTarget = 'Package %s is not for %s, skipping it''s dependencies';
|
||||
SDbgObsoleteDependency = 'Package %s depends on package %s which is not installed anymore';
|
||||
SDbgForcePackageInstall = 'Installation of package "%s" forced';
|
||||
SDbgPackageInstallRequired = 'Installation of package "%s" required for repository "%s"';
|
||||
|
Loading…
Reference in New Issue
Block a user