Skip to contentSkip to conversation

SNAFU build system fixes for 2023-06-07

GIT PULL Applied Paolo Bonzini 2 participants 5 messages Jun 7, 2023 – Jun 8, 2023 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

The following changes since commit f5e6786de4815751b0a3d2235c760361f228ea48:

Merge tag 'pull-target-arm-20230606' of https://git.linaro.org/people/pmaydell/qemu-arm into staging (2023-06-06 12:11:34 -0700)

are available in the Git repository at:

https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 45904b56d5321be5f6e2c9e12bd143fb3b871ca8:

tests: fp: remove unused submodules (2023-06-07 11:05:09 +0200)

----------------------------------------------------------------
Build system snafus.

----------------------------------------------------------------
Michal Privoznik (1):
configure: check for $download value properly

Paolo Bonzini (2):
meson: fix "static build" entry in summary
tests: fp: remove unused submodules

 configure                     | 2 +-
 meson.build                   | 2 +-
 tests/fp/berkeley-softfloat-3 | 1 -
 tests/fp/berkeley-testfloat-3 | 1 -
 4 files changed, 2 insertions(+), 4 deletions(-)
 delete mode 160000 tests/fp/berkeley-softfloat-3
 delete mode 160000 tests/fp/berkeley-testfloat-3
Signature · 1 line
2.40.1
#1 lore raw

[PULL 3/3] tests: fp: remove unused submodules

tests/fp/berkeley-softfloat-3 and tests/fp/berkeley-testfloat-3 have been replaced by subprojects, so remove the now-unnecessary submodules.

---
 tests/fp/berkeley-softfloat-3 | 1 -
 tests/fp/berkeley-testfloat-3 | 1 -
 2 files changed, 2 deletions(-)
 delete mode 160000 tests/fp/berkeley-softfloat-3
 delete mode 160000 tests/fp/berkeley-testfloat-3
tests/fp/berkeley-softfloat-3 deleted +0 -1
deleted file mode 160000
index b64af41c327..00000000000
@@ -1 +0,0 @@
-Subproject commit b64af41c3276f97f0e181920400ee056b9c88037
tests/fp/berkeley-testfloat-3 deleted +0 -1
deleted file mode 160000
index 40619cbb3bf..00000000000
@@ -1 +0,0 @@
-Subproject commit 40619cbb3bf32872df8c53cc457039229428a263
Signature · 1 line
2.40.1
#2 lore raw

[PULL 2/3] configure: check for $download value properly

In reply to Paolo Bonzini

From: Michal Privoznik <[email protected]>

If configure was invoked with --disable-download and git submodules were not checked out a warning is produced and the configure script fails. But the $download variable (which reflects the enable/disable download argument) is checked for in a weird fashion:

test -f "$download" = disabled

Drop the '-f' to check for the actual value of the variable.

Fixes 2019cabfee0 ("meson: subprojects: replace submodules with wrap files", 2023-06-06)
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure +1 -1
index 8765b88e12f..8a638dd82ae 100755
@@ -767,7 +767,7 @@ if test "$plugins" = "yes" -a "$tcg" = "disabled"; then
 fi
 
 if ! test -f "$source_path/subprojects/keycodemapdb/README" \
-    && test -f "$download" = disabled
+    && test "$download" = disabled
 then
     echo
     echo "ERROR: missing subprojects"
Signature · 1 line
2.40.1
#3 lore raw

[PULL 1/3] meson: fix "static build" entry in summary

In reply to Paolo Bonzini
Fixes a0cbd2e8496 ("meson: use prefer_static option", 2023-05-18)
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meson.build +1 -1
index 553c8e0b9c5..c03326c922e 100644
@@ -4088,7 +4088,7 @@ summary_info += {'QEMU_LDFLAGS':      ' '.join(qemu_ldflags)}
 summary_info += {'profiler':          get_option('profiler')}
 summary_info += {'link-time optimization (LTO)': get_option('b_lto')}
 summary_info += {'PIE':               get_option('b_pie')}
-summary_info += {'static build':      config_host.has_key('CONFIG_STATIC')}
+summary_info += {'static build':      get_option('prefer_static')}
 summary_info += {'malloc trim support': has_malloc_trim}
 summary_info += {'membarrier':        have_membarrier}
 summary_info += {'debug graph lock':  get_option('debug_graph_lock')}
Signature · 1 line
2.40.1
#4 lore raw
In reply to Paolo Bonzini
Quoted 6 lines · Paolo Bonzini

The following changes since commit f5e6786de4815751b0a3d2235c760361f228ea48:

   Merge tag 'pull-target-arm-20230606' ofhttps://git.linaro.org/people/pmaydell/qemu-arm  into staging (2023-06-06 12:11:34 -0700)

are available in the Git repository at:

Quoted 8 lines

https://gitlab.com/bonzini/qemu.git tags/for-upstream

for you to fetch changes up to 45904b56d5321be5f6e2c9e12bd143fb3b871ca8:

tests: fp: remove unused submodules (2023-06-07 11:05:09 +0200)

----------------------------------------------------------------
Build system snafus.

Applied, thanks. Please update https://wiki.qemu.org/ChangeLog/8.1 as appropriate.

r~