GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — Move logic for static cross-compile for linux-aarch64 to pom file by normanmaurer · Pull Request #906 · netty/netty-tcnative Conversation
Member
Motivation: Let's try to keep logic together to make it easier to keep track of changes Modifications: Move logic for cross compile to pom file. Result: Easier to maintain
Sorry, something went wrong. Uh oh!
There was an error while loading. Please reload this page. All reactionsMotivation: Let's try to keep logic together to make it easier to keep track of changes Modifications: Move logic for cross compile to pom file. Result: Easier to maintain
normanmaurer
pushed a commit
that referenced
this pull request
…mand (#984) The two-command approach caused `clean` in the second build to wipe target/central-staging, losing the openssl-dynamic artifacts. Original fix attempt was #981, however this did not work because the output directory wasn't *delete-able* which blocked the clean from the plugin. The attempt to resolve this was to create a subdirectory. After that change it became clear that the output directory was not used for artifacts, instead it was where the central_bundle.zip was placed which caused another release issue. In the first fix, it was thought that we could not separate the commands because openssl-dynamic must be built against a pre-compiled ARM version of APR. However, this original reason for separate commands (conflicting -DaprArmHome values for each module) was removed in #906, so combining them is now safe. There are still differences in the flags passed, but these are ignored by boringssl, so should not cause an issue (-DopensslArmHome, -DaprArmHome).
fredericgermain
added a commit
to fredericgermain/netty-tcnative
that referenced
this pull request
cross-compile-aarch64-build runs mvnw twice, once for openssl-dynamic and once for boringssl-static, each with its own clean. The reason for the split - conflicting -DaprArmHome values per module - was removed in netty#906, and netty#984 already merged the release command on exactly those grounds. aprArmHome is read only by openssl-dynamic, which is easy to confirm: the property appears nowhere in boringssl-static/pom.xml. The build, deploy and stage-snapshot services were simply never updated to match. Verified by an A/B on a native x86_64 host using the real cross_compile_aarch64 image, building both forms from a clean tree: boringssl-static linux-aarch_64 .so 65284c80... identical openssl-dynamic linux-aarch_64 .so 79472e3f... identical attached artifact sets identical both runs exit 0 Worth being clear that this is not a speed change. The first invocation is only 18.6s against 6m19 for the second, so merging saves about 7 seconds - BoringSSL dominates and is built once either way. The value is that build now matches the release path and one redundant clean goes away. deploy and stage-snapshot still use two invocations. They are slower but not broken: their -DaltStagingDirectory is outside the tree, so the second clean cannot wipe it, unlike the target/central-staging bug netty#984 fixed. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
fredericgermain
added a commit
to fredericgermain/netty-tcnative
that referenced
this pull request
cross-compile-aarch64-build runs mvnw twice, once for openssl-dynamic and once for boringssl-static, each with its own clean. The reason for the split - conflicting -DaprArmHome values per module - was removed in netty#906, and netty#984 already merged the release command on exactly those grounds. aprArmHome is read only by openssl-dynamic, which is easy to confirm: the property appears nowhere in boringssl-static/pom.xml. The build, deploy and stage-snapshot services were simply never updated to match. Verified by an A/B on a native x86_64 host using the real cross_compile_aarch64 image, building both forms from a clean tree: boringssl-static linux-aarch_64 .so 65284c80... identical openssl-dynamic linux-aarch_64 .so 79472e3f... identical attached artifact sets identical both runs exit 0 Worth being clear that this is not a speed change. The first invocation is only 18.6s against 6m19 for the second, so merging saves about 7 seconds - BoringSSL dominates and is built once either way. The value is that build now matches the release path and one redundant clean goes away. deploy and stage-snapshot still use two invocations. They are slower but not broken: their -DaltStagingDirectory is outside the tree, so the second clean cannot wipe it, unlike the target/central-staging bug netty#984 fixed.
fredericgermain
added a commit
to fredericgermain/netty-tcnative
that referenced
this pull request
cross-compile-aarch64-build runs mvnw twice, once for openssl-dynamic and once for boringssl-static, each with its own clean. The reason for the split - conflicting -DaprArmHome values per module - was removed in netty#906, and netty#984 already merged the release command on exactly those grounds. aprArmHome is read only by openssl-dynamic, which is easy to confirm: the property appears nowhere in boringssl-static/pom.xml. The build, deploy and stage-snapshot services were simply never updated to match. Verified by an A/B on a native x86_64 host using the real cross_compile_aarch64 image, building both forms from a clean tree: boringssl-static linux-aarch_64 .so 65284c80... identical openssl-dynamic linux-aarch_64 .so 79472e3f... identical attached artifact sets identical both runs exit 0 Worth being clear that this is not a speed change. The first invocation is only 18.6s against 6m19 for the second, so merging saves about 7 seconds - BoringSSL dominates and is built once either way. The value is that build now matches the release path and one redundant clean goes away. deploy and stage-snapshot still use two invocations. They are slower but not broken: their -DaltStagingDirectory is outside the tree, so the second clean cannot wipe it, unlike the target/central-staging bug netty#984 fixed.
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ReviewersNo reviewsUh oh!
There was an error while loading. Please reload this page. AssigneesNo one assignedLabels
None yet
ProjectsDevelopmentSuccessfully merging this pull request may close these issues. Uh oh!
There was an error while loading. Please reload this page. 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. |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |