File tree Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Expand file tree Collapse file tree 2 files changed +3
-8
lines changed Original file line number Diff line number Diff line change 80
80
* Added a parameter to
81
81
` Distribution.Backpack.ConfiguredComponent.toConfiguredComponent ` in order to fix
82
82
[ #5409 ] ( https://github.com/haskell/cabal/issues/5409 ) .
83
+ * Partially silence ` abi-depends ` warnings
84
+ ([ #5465 ] ( https://github.com/haskell/cabal/issues/5465 ) ).
83
85
84
86
----
85
87
Original file line number Diff line number Diff line change @@ -437,7 +437,7 @@ generalInstalledPackageInfo adjustRelIncDirs pkg abi_hash lib lbi clbi installDi
437
437
IPI. includeDirs = absinc ++ adjustRelIncDirs relinc,
438
438
IPI. includes = includes bi,
439
439
IPI. depends = depends,
440
- IPI. abiDepends = abi_depends,
440
+ IPI. abiDepends = [] , -- due to #5465
441
441
IPI. ccOptions = [] , -- Note. NOT ccOptions bi!
442
442
-- We don't want cc-options to be propagated
443
443
-- to C compilations in other packages.
@@ -458,13 +458,6 @@ generalInstalledPackageInfo adjustRelIncDirs pkg abi_hash lib lbi clbi installDi
458
458
-- TODO: unclear what the root cause of the
459
459
-- duplication is, but we nub it here for now:
460
460
depends = ordNub $ map fst (componentPackageDeps clbi)
461
- abi_depends = map add_abi depends
462
- add_abi uid = IPI. AbiDependency uid abi
463
- where
464
- abi = case Index. lookupUnitId (installedPkgs lbi) uid of
465
- Nothing -> error $
466
- " generalInstalledPackageInfo: missing IPI for " ++ display uid
467
- Just ipi -> IPI. abiHash ipi
468
461
(absinc, relinc) = partition isAbsolute (includeDirs bi)
469
462
hasModules = not $ null (allLibModules lib clbi)
470
463
comp = compiler lbi
You can’t perform that action at this time.
0 commit comments