-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[shortfin] A number of tweaks for dylib builds. (#434)
* When bundling deps, sets visibility and export control options. * Re-export versioned spdlog symbols so that clients share registry, etc. * Forces inline hidden visibility. * Enables IREE default visibility so that the API is re-exported. * Applies a version script on Linux so that all symbols get versioned. * Makes it possible to use IREE tracing macros in binaries that depend on the dylib. * Enables (thin) LTO by default. * Removes the obsolete find_package() method of depending on IREE. It is incompatible with how we have been doing runtime source builds for a long time. Requires an IREE version bump to pick up iree-org/iree#19068 --------- Co-authored-by: Marius Brehler <marius.brehler@amd.com>
- Loading branch information
1 parent
4cfc295
commit 0d949de
Showing
6 changed files
with
164 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SHORTFIN_API_3 { | ||
/* Generally source level annotations are used. Exceptions only here. */ | ||
global: *; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters