Skip to content

[SR-7391] CMake: Validate/add checks that all of our .a files depend on each other with interface dependencies #49934

Open
@gottesmm

Description

@gottesmm
Previous ID SR-7391
Radar None
Original Reporter @gottesmm
Type Bug
Additional Detail from JIRA
Votes 0
Component/s Compiler
Labels Bug, CMake
Assignee None
Priority Medium

md5: 1973f6e89dbe685aa987889bcc2b34ee

Issue Description:

I already found a couple of places (for instance libSILOptimizer's linkage against libSIL) where we are not doing this. We really should since this will:

1. Reduce the size of build products by not redundantly adding code to archives.
2. Reduce time spent building up said archives.
3. Reduce the work on the linker.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugA deviation from expected or documented behavior. Also: expected but undesirable behavior.cmakecompilerThe Swift compiler itself

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions