-
-
Notifications
You must be signed in to change notification settings - Fork 33
🧪 Pre-build armv7l images for building wheels #719
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
webknjaz
wants to merge
10
commits into
ansible:devel
Choose a base branch
from
webknjaz:maintenance/gha-qemu-armv7l
base: devel
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3f51c1e
🧪 Pre-build armv7l images for building wheels
webknjaz 6bf2a81
build armv7l images (#669)
alex ccfc3ab
🧪 Build `armv7l` images on an ARM64 host
webknjaz f0a799b
📦 Sync base OpenSSL args in build scripts
webknjaz 5d1f462
openssl 3.3.2 (#612)
reaperhulk 976251d
📦 Bump bundled OpenSSL to v3.4.1
webknjaz 88dcbfa
📦 Unprefix openssl archive
webknjaz 853e781
📦 Pre-install system deps @ container image bld
webknjaz 5d24e49
📦 Stop compiling Perl in image builds
webknjaz bd0b7c3
📦 Stop linking against libdl in manylinux
webknjaz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
This file was deleted.
Oops, something went wrong.
51 changes: 51 additions & 0 deletions
51
build-scripts/manylinux-container-image/list-util-pairs-25367.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
diff --git a/util/mkinstallvars.pl b/util/mkinstallvars.pl | ||
index 52a3d607bd..b67a1c477f 100644 | ||
--- a/util/mkinstallvars.pl | ||
+++ b/util/mkinstallvars.pl | ||
@@ -10,8 +10,14 @@ | ||
# form, or passed as variable assignments on the command line. | ||
# The result is a Perl module creating the package OpenSSL::safe::installdata. | ||
|
||
+use 5.10.0; | ||
+use strict; | ||
+use warnings; | ||
+use Carp; | ||
+ | ||
use File::Spec; | ||
-use List::Util qw(pairs); | ||
+#use List::Util qw(pairs); | ||
+sub _pairs (@); | ||
|
||
# These are expected to be set up as absolute directories | ||
my @absolutes = qw(PREFIX libdir); | ||
@@ -19,9 +25,9 @@ my @absolutes = qw(PREFIX libdir); | ||
# as subdirectories to PREFIX or LIBDIR. The order of the pairs is important, | ||
# since the LIBDIR subdirectories depend on the calculation of LIBDIR from | ||
# PREFIX. | ||
-my @subdirs = pairs (PREFIX => [ qw(BINDIR LIBDIR INCLUDEDIR APPLINKDIR) ], | ||
- LIBDIR => [ qw(ENGINESDIR MODULESDIR PKGCONFIGDIR | ||
- CMAKECONFIGDIR) ]); | ||
+my @subdirs = _pairs (PREFIX => [ qw(BINDIR LIBDIR INCLUDEDIR APPLINKDIR) ], | ||
+ LIBDIR => [ qw(ENGINESDIR MODULESDIR PKGCONFIGDIR | ||
+ CMAKECONFIGDIR) ]); | ||
# For completeness, other expected variables | ||
my @others = qw(VERSION LDLIBS); | ||
|
||
@@ -151,3 +157,17 @@ our \@LDLIBS = | ||
|
||
1; | ||
_____ | ||
+ | ||
+######## Helpers | ||
+ | ||
+sub _pairs (@) { | ||
+ croak "Odd number of arguments" if @_ & 1; | ||
+ | ||
+ my @pairlist = (); | ||
+ | ||
+ while (@_) { | ||
+ my $x = [ shift, shift ]; | ||
+ push @pairlist, $x; | ||
+ } | ||
+ return @pairlist; | ||
+} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
export OPENSSL_VERSION="1.1.1k" | ||
export OPENSSL_SHA256="892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5" | ||
export OPENSSL_VERSION="openssl-3.4.1" | ||
export OPENSSL_SHA256="002a2d6b30b58bf4bea46c43bdd96365aaf8daa6c428782aa4feee06da197df3" | ||
# We need a base set of flags because on Windows using MSVC | ||
# enable-ec_nistp_64_gcc_128 doesn't work since there's no 128-bit type | ||
export OPENSSL_BUILD_FLAGS_WINDOWS="no-ssl3 no-ssl3-method no-zlib no-shared no-comp no-dynamic-engine" | ||
export OPENSSL_BUILD_FLAGS_WINDOWS="no-ssl3 no-ssl3-method no-zlib no-shared no-module no-comp no-dynamic-engine no-apps no-docs no-sm2-precomp no-atexit" | ||
export OPENSSL_BUILD_FLAGS_ARMV7L="linux-armv4 ${OPENSSL_BUILD_FLAGS_WINDOWS}" | ||
export OPENSSL_BUILD_FLAGS="${OPENSSL_BUILD_FLAGS_WINDOWS} enable-ec_nistp_64_gcc_128" |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.