Merged
Conversation
This commit will apply a change of CMakeLists.txt, which modified some compile arguments to reduce the large of the compile target.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
What does this Pull Request do?
This Pull Request is about optimizing the compile process of GNU/Linux platform to reduce the large of the compile target file. Under a CI-Build test, we discovered that this will reduce the large of the compile target file to 4.4 MB(Jar file) and 14.4 MB(Native Library), which was 22.2 MB(Jar file) and 81.4 MB(Native Library) before optimization, same as Android, Windows and macOS platform.
What we did?
In Anitorrent Native part, we did the list below:
What we didn't do?
We didn't test the compatibility with the original Animeko about this modified project yet.
描述
这个 Pull Request 做了什么?
这个 Pull Request 聚焦于优化 GNU/Linux 平台下的编译流程,以减少编译产物大小。经过测试,这将使编译产物大小从原本的 22.2MB(Jar 文件) 和 81.4MB(原生库) 缩小至 4.4MB(Jar 文件) 和 14.4MB(原生库),与其它平台(Android, Windows, macOS)保持一致。
我们都做了什么?
对 Anitorrent 的 Native 部分,我们做了以下更改:
我们没做什么?
我们尚未测试修改后的 Anitorrent 与原版 Animeko 项目的相容性。