config: add 32-bit cross-compilation x86 target
PATCH 1/1 config: add 32-bit cross-compilation x86 target
To simplify building 32-bit binaries on 64-bit system, we can supply a cross-compilation file which provides the relevant compiler flags and settings needed - '-m32' compile/link flag, and appropriate PKG_CONFIG_LIBDIR value. This latter setting will depend upon the layout format of the particular OS/distro in use, so initially add a cross file with paths set for Debian or Ubuntu systems.
---
The generation of 32-bit cross-files for other distros is left as an exercise for the reader! I suspect that for Fedora/RHEL and Arch variants that only the "pkg_config_libdir" and "libdir" setting should be adjusted. However, I don't currently have a machine set up to test that assumption, so getting the ball rolling for now with just this patch to get feedback.
---
config/x86/cross-debian-32bit | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/x86/cross-debian-32bit
config/x86/cross-debian-32bit new file +22 -0
@@ -0,0 +1,22 @@ +[binaries] +c = 'cc' +cpp = 'c++' +ar = 'ar' +strip = 'strip' +pkg-config = 'pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'native' +endian = 'little' + +[properties] +pkg_config_libdir = '/usr/lib/i386-linux-gnu/pkgconfig' + +[built-in options] +c_args = '-m32' +c_link_args = '-m32' +cpp_args = '-m32' +cpp_link_args = '-m32' +libdir = 'lib/i386-linux-gnu'
Signature · 1 line
2.43.0
Quoted 51 lines · Bruce Richardson
To simplify building 32-bit binaries on 64-bit system, we can supply a cross-compilation file which provides the relevant compiler flags and settings needed - '-m32' compile/link flag, and appropriate
PKG_CONFIG_LIBDIRvalue. This latter setting will depend upon the layout format of the particular OS/distro in use, so initially add a cross file with paths set for Debian or Ubuntu systems.Signed-off-by Bruce Richardson <[email protected]>---
The generation of 32-bit cross-files for other distros is left as an exercise for the reader! I suspect that for Fedora/RHEL and Arch variants that only the "
pkg_config_libdir" and "libdir" setting should be adjusted. However, I don't currently have a machine set up to test that assumption, so getting the ball rolling for now with just this patch to get feedback.---
config/x86/cross-debian-32bit | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)create mode 100644 config/x86/cross-debian-32bit
config/x86/cross-debian-32bit new file +22
-0@@ -0,0 +1,22 @@ +[binaries] +c = 'cc' +cpp = 'c++' +ar = 'ar' +strip = 'strip' +pkg-config = 'pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'native' +endian = 'little' + +[properties] +pkg_config_libdir = '/usr/lib/i386-linux-gnu/pkgconfig' + +[built-in options] +c_args = '-m32' +c_link_args = '-m32' +cpp_args = '-m32' +cpp_link_args = '-m32' +libdir = 'lib/i386-linux-gnu'
Signature · 2 lines
Regards, Vladimir
v2 cover simplify doing 32-bit DPDK builds
In reply to Bruce RichardsonTo make it easier to build and test DPDK on 32-bit x86 add a set of cross-compile ini files for a number of common linux distributions. This avoids the user having to remember strange meson incantations with '-m32' in various args values and with the PKG_CONFIG_LIBDIR overridden in the environment.
Bruce Richardson (4):
config: add 32-bit x86 debian cross-compilation file
config: add fedora 32-bit x86 cross-compile file
config: add arch 32-bit cross-compilation file devtools/test-meson-builds: use cross files for 32bit build
config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-debian.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-fedora.ini | 22 ++++++++++++++++++++++ devtools/test-meson-builds.sh | 13 +++++-------- 4 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 config/x86/cross-32bit-arch.ini create mode 100644 config/x86/cross-32bit-debian.ini create mode 100644 config/x86/cross-32bit-fedora.ini
--
2.43.0
PATCH v2 1/4 config: add 32-bit x86 debian cross-compilation file
To simplify building 32-bit binaries on 64-bit system, we can supply a cross-compilation file which provides the relevant compiler flags and settings needed - '-m32' compile/link flag, and appropriate PKG_CONFIG_LIBDIR value. This latter setting will depend upon the layout format of the particular OS/distro in use, so initially add a cross file with paths set for Debian or Ubuntu systems.
Note, unlike previous cross files, this file has a .ini extension which means that editors use correct syntax highlighting on it.
--- config/x86/cross-32bit-debian.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/x86/cross-32bit-debian.ini
config/x86/cross-32bit-debian.ini new file +22 -0
@@ -0,0 +1,22 @@ +[binaries] +c = 'cc' +cpp = 'c++' +ar = 'ar' +strip = 'strip' +pkg-config = 'pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'native' +endian = 'little' + +[properties] +pkg_config_libdir = '/usr/lib/i386-linux-gnu/pkgconfig' + +[built-in options] +c_args = '-m32' +c_link_args = '-m32' +cpp_args = '-m32' +cpp_link_args = '-m32' +libdir = 'lib/i386-linux-gnu'
--
2.43.0
PATCH v2 2/4 config: add fedora 32-bit x86 cross-compile file
In reply to Bruce RichardsonAdd cross-compilation target for building 32-bit x86 DPDK on Fedora or RHEL.
--- config/x86/cross-32bit-fedora.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/x86/cross-32bit-fedora.ini
config/x86/cross-32bit-fedora.ini new file +22 -0
@@ -0,0 +1,22 @@ +[binaries] +c = 'cc' +cpp = 'c++' +ar = 'ar' +strip = 'strip' +pkg-config = 'pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'native' +endian = 'little' + +[properties] +pkg_config_libdir = '/usr/lib/pkgconfig' + +[built-in options] +c_args = '-m32' +c_link_args = '-m32' +cpp_args = '-m32' +cpp_link_args = '-m32' +libdir = 'lib'
Signature · 1 line
2.43.0
PATCH v2 3/4 config: add arch 32-bit cross-compilation file
In reply to Bruce RichardsonAdd a 32-bit cross file for x86 for Arch linux
--- config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 config/x86/cross-32bit-arch.ini
config/x86/cross-32bit-arch.ini new file +22 -0
@@ -0,0 +1,22 @@ +[binaries] +c = 'cc' +cpp = 'c++' +ar = 'ar' +strip = 'strip' +pkg-config = 'pkg-config' + +[host_machine] +system = 'linux' +cpu_family = 'x86' +cpu = 'native' +endian = 'little' + +[properties] +pkg_config_libdir = '/usr/lib32/pkgconfig' + +[built-in options] +c_args = '-m32' +c_link_args = '-m32' +cpp_args = '-m32' +cpp_link_args = '-m32' +libdir = 'lib32'
Signature · 1 line
2.43.0
PATCH v2 4/4 devtools/test-meson-builds: use cross files for 32bit build
In reply to Bruce RichardsonWhen testing the 32-bit x86 build, use a cross-file rather than using args and pkgconfig environment variable. The advantage of using the cross-file is that the paths are saved across runs. Without this patch, while the '-m32' args settings are preserved between meson runs, the PKG_CONFIG_LIBDIR value from environment is not, which can cause rebuilds of the build-32b directory to fail if meson needs to do a reconfiguration first.
--- devtools/test-meson-builds.sh | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-)
devtools/test-meson-builds.sh +5 -8
@@ -253,21 +253,18 @@ build build-x86-generic cc skipABI -Dcheck_includes=true \ # 32-bit with default compiler if check_cc_flags '-m32' ; then + target_override='i386-pc-linux-gnu' if [ -d '/usr/lib/i386-linux-gnu' ] ; then - # 32-bit pkgconfig on Debian/Ubuntu - export PKG_CONFIG_LIBDIR='/usr/lib/i386-linux-gnu/pkgconfig' + # 32-bit pkgconfig on Debian/Ubuntu, use cross file + build build-32b $srcdir/config/x86/cross-32bit-debian.ini ABI elif [ -d '/usr/lib32' ] ; then # 32-bit pkgconfig on Arch - export PKG_CONFIG_LIBDIR='/usr/lib32/pkgconfig' + build build-32b $srcdir/config/x86/cross-32bit-arch.ini ABI else # 32-bit pkgconfig on RHEL/Fedora (lib vs lib64) - export PKG_CONFIG_LIBDIR='/usr/lib/pkgconfig' + build build-32b $srcdir/config/x86/cross-32bit-fedora.ini ABI fi - target_override='i386-pc-linux-gnu' - build build-32b cc ABI -Dc_args='-m32' -Dc_link_args='-m32' \ - -Dcpp_args='-m32' -Dcpp_link_args='-m32' target_override= - unset PKG_CONFIG_LIBDIR fi # x86 MinGW
Signature · 1 line
2.43.0
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
In reply to Bruce RichardsonQuoted 13 lines · Bruce Richardson
To make it easier to build and test DPDK on 32-bit x86 add a set of cross-compile ini files for a number of common linux distributions. This avoids the user having to remember strange meson incantations with '-m32' in various args values and with the
PKG_CONFIG_LIBDIRoverridden in the environment.Bruce Richardson (4):
config: add 32-bit x86 debian cross-compilation file
config: add fedora 32-bit x86 cross-compile file
config: add arch 32-bit cross-compilation file devtools/test-meson-builds: use cross files for 32bit build
Quoted 8 lines
config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-debian.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-fedora.ini | 22 ++++++++++++++++++++++ devtools/test-meson-builds.sh | 13 +++++-------- 4 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 config/x86/cross-32bit-arch.ini create mode 100644 config/x86/cross-32bit-debian.ini create mode 100644 config/x86/cross-32bit-fedora.ini
I tried to convert the GHA script to use the debian cross file introduced in the series:
.ci/linux-build.sh +4 -6
@@ -54,6 +54,10 @@ if [ "$AARCH64" = "true" ]; then fi fi +if [ "$BUILD_32BIT" = "true" ]; then + cross_file=config/x86/cross-32bit-debian.ini +fi + if [ "$MINGW" = "true" ]; then cross_file=config/x86/cross-mingw fi
@@ -76,12 +80,6 @@ if [ "$BUILD_DOCS" = "true" ]; then OPTS="$OPTS -Denable_docs=true" fi -if [ "$BUILD_32BIT" = "true" ]; then - OPTS="$OPTS -Dc_args=-m32 -Dc_link_args=-m32" - OPTS="$OPTS -Dcpp_args=-m32 -Dcpp_link_args=-m32" - export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig" -fi - if [ "$MINGW" = "true" ]; then OPTS="$OPTS -Dexamples=helloworld" elif [ "$DEF_LIB" = "static" ]; then
I was then surprised to read the result:
...
2024-09-19T07:22:12.6485260Z Checking for size of "void *" : 8 2024-09-19T07:22:12.6485592Z Checking for size of "void *" : 8
...
*scratch* *scratch*
So I retested the series locally on my f39 (the series seemed ok so far) but I downgraded meson to 0.53.2 (which is the version forced in GHA) and now I observe the same issue.
I suspect something changed in the cross file handling in more recent meson versions.
Likely, the c_args= or [build-in options] part is not read.
Am I doing something wrong?
Signature · 1 line
David Marchand
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
Quoted 68 lines · David Marchand
Quoted 13 lines · Bruce Richardson
To make it easier to build and test DPDK on 32-bit x86 add a set of cross-compile ini files for a number of common linux distributions. This avoids the user having to remember strange meson incantations with '-m32' in various args values and with the
PKG_CONFIG_LIBDIRoverridden in the environment.Bruce Richardson (4):
config: add 32-bit x86 debian cross-compilation file
config: add fedora 32-bit x86 cross-compile file
config: add arch 32-bit cross-compilation file devtools/test-meson-builds: use cross files for 32bit buildQuoted 8 lines
config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-debian.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-fedora.ini | 22 ++++++++++++++++++++++ devtools/test-meson-builds.sh | 13 +++++-------- 4 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 config/x86/cross-32bit-arch.ini create mode 100644 config/x86/cross-32bit-debian.ini create mode 100644 config/x86/cross-32bit-fedora.iniI tried to convert the GHA script to use the debian cross file introduced in the series:
.ci/linux-build.sh +4
-6@@ -54,6 +54,10 @@ if [ "$AARCH64" = "true" ]; then fi fi +if [ "$BUILD_32BIT" = "true" ]; then + cross_file=config/x86/cross-32bit-debian.ini +fi + if [ "$MINGW" = "true" ]; then cross_file=config/x86/cross-mingw fi@@ -76,12 +80,6 @@ if [ "$BUILD_DOCS" = "true" ]; then OPTS="$OPTS -Denable_docs=true" fi -if [ "$BUILD_32BIT" = "true" ]; then - OPTS="$OPTS -Dc_args=-m32 -Dc_link_args=-m32" - OPTS="$OPTS -Dcpp_args=-m32 -Dcpp_link_args=-m32" - export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig" -fi - if [ "$MINGW" = "true" ]; then OPTS="$OPTS -Dexamples=helloworld" elif [ "$DEF_LIB" = "static" ]; thenI was then surprised to read the result:
...2024-09-19T07:22:12.6485260Z Checking for size of "void *" : 8 2024-09-19T07:22:12.6485592Z Checking for size of "void *" : 8...
*scratch* *scratch*
So I retested the series locally on my f39 (the series seemed ok so far) but I downgraded meson to 0.53.2 (which is the version forced in GHA) and now I observe the same issue.
Quoted 6 lines
I suspect something changed in the cross file handling in more recent meson versions.
Likely, the c_args= or [build-in options] part is not read.Am I doing something wrong?
I don't think you are doing anything wrong. Let me check for cross-file handling in the meson docs. On my side, I've been using this cross-file for my test builds for the last couple of weeks without issues. I'm using latest meson, but it's been much more reliable for me than the previous method, which required me to occasionally delete the build-32b directory.
/Bruce
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
In reply to David MarchandQuoted 68 lines · David Marchand
Quoted 13 lines · Bruce Richardson
To make it easier to build and test DPDK on 32-bit x86 add a set of cross-compile ini files for a number of common linux distributions. This avoids the user having to remember strange meson incantations with '-m32' in various args values and with the
PKG_CONFIG_LIBDIRoverridden in the environment.Bruce Richardson (4):
config: add 32-bit x86 debian cross-compilation file
config: add fedora 32-bit x86 cross-compile file
config: add arch 32-bit cross-compilation file devtools/test-meson-builds: use cross files for 32bit buildQuoted 8 lines
config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-debian.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-fedora.ini | 22 ++++++++++++++++++++++ devtools/test-meson-builds.sh | 13 +++++-------- 4 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 config/x86/cross-32bit-arch.ini create mode 100644 config/x86/cross-32bit-debian.ini create mode 100644 config/x86/cross-32bit-fedora.iniI tried to convert the GHA script to use the debian cross file introduced in the series:
.ci/linux-build.sh +4
-6@@ -54,6 +54,10 @@ if [ "$AARCH64" = "true" ]; then fi fi +if [ "$BUILD_32BIT" = "true" ]; then + cross_file=config/x86/cross-32bit-debian.ini +fi + if [ "$MINGW" = "true" ]; then cross_file=config/x86/cross-mingw fi@@ -76,12 +80,6 @@ if [ "$BUILD_DOCS" = "true" ]; then OPTS="$OPTS -Denable_docs=true" fi -if [ "$BUILD_32BIT" = "true" ]; then - OPTS="$OPTS -Dc_args=-m32 -Dc_link_args=-m32" - OPTS="$OPTS -Dcpp_args=-m32 -Dcpp_link_args=-m32" - export PKG_CONFIG_LIBDIR="/usr/lib32/pkgconfig" -fi - if [ "$MINGW" = "true" ]; then OPTS="$OPTS -Dexamples=helloworld" elif [ "$DEF_LIB" = "static" ]; thenI was then surprised to read the result:
...2024-09-19T07:22:12.6485260Z Checking for size of "void *" : 8 2024-09-19T07:22:12.6485592Z Checking for size of "void *" : 8...
*scratch* *scratch*
So I retested the series locally on my f39 (the series seemed ok so far) but I downgraded meson to 0.53.2 (which is the version forced in GHA) and now I observe the same issue.
Quoted 6 lines
I suspect something changed in the cross file handling in more recent meson versions.
Likely, the c_args= or [build-in options] part is not read.Am I doing something wrong?
From the docs on cross-files [1], it appears that significant changes to the cross-file handling was done in 0.56 release. That may be the cause. I'll have to try some testing myself.
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
/Bruce
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
Quoted 4 lines · Bruce Richardson
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
That's an option, just be careful that there is some tie with python versions iirc.
Signature · 1 line
David Marchand
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
Quoted 10 lines · David Marchand
Quoted 4 lines · Bruce Richardson
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
That's an option, just be careful that there is some tie with python versions iirc.
Right. Do we have a minimum python version from various distros that we need to support?
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
Quoted 9 lines · Bruce Richardson
Quoted 7 lines · David Marchand
Quoted 4 lines · Bruce Richardson
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
Quoted 5 lines
Quoted 3 lines
That's an option, just be careful that there is some tie with python versions iirc.
Right. Do we have a minimum python version from various distros that we need to support?
We have a minimum version (3.6) in DPDK, harder to tell with all the distros around.
Robin, any idea/guidance?
Signature · 1 line
David Marchand
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
David Marchand, Sep 19, 2024 at 13:32:
Quoted 14 lines
Quoted 12 lines · Bruce Richardson
Quoted 10 lines · David Marchand
Quoted 4 lines · Bruce Richardson
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
That's an option, just be careful that there is some tie with python versions iirc.
Quoted 6 lines
Quoted 2 lines
Right. Do we have a minimum python version from various distros that we need to support?
We have a minimum version (3.6) in DPDK, harder to tell with all the distros around.
Robin, any idea/guidance?
3.6 is really old. I think it is safe to bump it to at least 3.9.
https://repology.org/project/python/badges
It depends how backwards compatible DPDK wants to remain.
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
Quoted 22 lines · Robin Jarry
David Marchand, Sep 19, 2024 at 13:32:
Quoted 14 lines
Quoted 12 lines · Bruce Richardson
Quoted 10 lines · David Marchand
Quoted 4 lines · Bruce Richardson
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
That's an option, just be careful that there is some tie with python versions iirc.
Quoted 6 lines
Quoted 2 lines
Right. Do we have a minimum python version from various distros that we need to support?
We have a minimum version (3.6) in DPDK, harder to tell with all the distros around.
Robin, any idea/guidance?
Quoted 6 lines
3.6 is really old. I think it is safe to bump it to at least 3.9.
https://repology.org/project/python/badges
It depends how backwards compatible DPDK wants to remain.
Looking down that list at the link, I would agree that 3.9 is a good minimum. That covers us for all the distros we care about, I think.
/Bruce
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
In reply to Bruce RichardsonQuoted 18 lines · Bruce Richardson
Quoted 12 lines
I was then surprised to read the result:
...2024-09-19T07:22:12.6485260Z Checking for size of "void *" : 8 2024-09-19T07:22:12.6485592Z Checking for size of "void *" : 8...
*scratch* *scratch*
So I retested the series locally on my f39 (the series seemed ok so far) but I downgraded meson to 0.53.2 (which is the version forced in GHA) and now I observe the same issue.Quoted 6 lines
I suspect something changed in the cross file handling in more recent meson versions.
Likely, the c_args= or [build-in options] part is not read.Am I doing something wrong?
Quoted 8 lines
From the docs on cross-files [1], it appears that significant changes to the cross-file handling was done in 0.56 release. That may be the cause. I'll have to try some testing myself.
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
Just a note that I think it is safer to wait for the upgrade to meson 0.57 before merging this series.
If this upgrade does not happen in this release, I'll merge at least the first patches but keep the old way of testing 32 bits in the devtools script.
Ok for you?
Signature · 1 line
David Marchand
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
Quoted 29 lines · David Marchand
Quoted 18 lines · Bruce Richardson
Quoted 12 lines
I was then surprised to read the result:
...2024-09-19T07:22:12.6485260Z Checking for size of "void *" : 8 2024-09-19T07:22:12.6485592Z Checking for size of "void *" : 8...
*scratch* *scratch*
So I retested the series locally on my f39 (the series seemed ok so far) but I downgraded meson to 0.53.2 (which is the version forced in GHA) and now I observe the same issue.Quoted 6 lines
I suspect something changed in the cross file handling in more recent meson versions.
Likely, the c_args= or [build-in options] part is not read.Am I doing something wrong?
Quoted 8 lines
From the docs on cross-files [1], it appears that significant changes to the cross-file handling was done in 0.56 release. That may be the cause. I'll have to try some testing myself.
Overall, I think we haven't increased our minimum meson version in some time. Maybe it's time to consider doing so in this release or the next one? Need to look through release notes to see how far forward to jump to see what extra features might be useful for us to leverage.
Quoted 8 lines
Just a note that I think it is safer to wait for the upgrade to meson 0.57 before merging this series.
If this upgrade does not happen in this release, I'll merge at least the first patches but keep the old way of testing 32 bits in the devtools script.Ok for you?
Yes, that makes sense
Re: [PATCH v2 0/4] simplify doing 32-bit DPDK builds
In reply to Bruce RichardsonQuoted 13 lines · Bruce Richardson
To make it easier to build and test DPDK on 32-bit x86 add a set of cross-compile ini files for a number of common linux distributions. This avoids the user having to remember strange meson incantations with '-m32' in various args values and with the
PKG_CONFIG_LIBDIRoverridden in the environment.Bruce Richardson (4):
config: add 32-bit x86 debian cross-compilation file
config: add fedora 32-bit x86 cross-compile file
config: add arch 32-bit cross-compilation file devtools/test-meson-builds: use cross files for 32bit build
Quoted 8 lines
config/x86/cross-32bit-arch.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-debian.ini | 22 ++++++++++++++++++++++ config/x86/cross-32bit-fedora.ini | 22 ++++++++++++++++++++++ devtools/test-meson-builds.sh | 13 +++++-------- 4 files changed, 71 insertions(+), 8 deletions(-) create mode 100644 config/x86/cross-32bit-arch.ini create mode 100644 config/x86/cross-32bit-debian.ini create mode 100644 config/x86/cross-32bit-fedora.ini
Thank you, relying on meson feature is better. Series applied, now that meson minimum version is set to 0.57.
I'll post an update to the .ci script for rc2.
Signature · 1 line
David Marchand