automation: enable building rombios with clang
PATCH 1/1 automation: enable building rombios with clang
Previously it is disabled because the embedded ipxe can't be built with clang. Now that ipxe is split out we can use --with-system-ipxe to work around the issue.
---
Depends on the ipxe series just committed.
--- automation/scripts/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
automation/scripts/build +2 -2
@@ -16,8 +16,8 @@ cfgargs+=("--enable-docs") if [[ "${CC}" == "clang" ]]; then # SeaBIOS cannot be built with clang cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin") - # iPXE cannot be built with clang so we cannot build rombios - cfgargs+=("--disable-rombios") + # iPXE cannot be built with clang + cfgargs+=("--with-system-ipxe=/usr/share/ipxe/ipxe.bin") # newlib cannot be built with clang so we cannot build stubdoms cfgargs+=("--disable-stubdom") fi
Signature · 7 lines
2.11.0 _______________________________________________ Xen-devel mailing list [email protected] https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 16 lines · Wei Liu
Previously it is disabled because the embedded ipxe can't be built with clang. Now that ipxe is split out we can use --with-system-ipxe to work around the issue.
Signed-off-by Wei Liu <[email protected]>---
Depends on the ipxe series just committed.--- automation/scripts/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)automation/scripts/build +0
-0
automation/scripts/build cfgargs+=("--enable-docs") · line 20
Quoted 7 lines
automation/scripts/build +2
-2@@ -16,8 +16,8 @@ cfgargs+=("--enable-docs") if [[ "${CC}" == "clang" ]]; then # SeaBIOS cannot be built with clang cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin") - # iPXE cannot be built with clang so we cannot build rombios - cfgargs+=("--disable-rombios") + # iPXE cannot be built with clang + cfgargs+=("--with-system-ipxe=/usr/share/ipxe/ipxe.bin")
This file doesn't exist on the Ubuntu containers I've tried. Even after installing ipxe and ipxe-qemu. What distro provided iPXE file can we use?
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel
Quoted 12 lines · Doug Goldstein
Quoted 11 lines · Wei Liu
Previously it is disabled because the embedded ipxe can't be built with clang. Now that ipxe is split out we can use --with-system-ipxe to work around the issue.
Signed-off-by Wei Liu <[email protected]>---
Depends on the ipxe series just committed.--- automation/scripts/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
Quoted 16 lines
automation/scripts/build cfgargs+=("--enable-docs") · line 20
Quoted 12 lines
automation/scripts/build +2
-2@@ -16,8 +16,8 @@ cfgargs+=("--enable-docs") if [[ "${CC}" == "clang" ]]; then # SeaBIOS cannot be built with clang cfgargs+=("--with-system-seabios=/usr/share/seabios/bios.bin") - # iPXE cannot be built with clang so we cannot build rombios - cfgargs+=("--disable-rombios") + # iPXE cannot be built with clang + cfgargs+=("--with-system-ipxe=/usr/share/ipxe/ipxe.bin")This file doesn't exist on the Ubuntu containers I've tried. Even after installing ipxe and ipxe-qemu. What distro provided iPXE file can we use?
The effect of --with-system-ipxe only puts that path into libxl and that's it. That is just a random path I put in.
Wei.
_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xenproject.org/mailman/listinfo/xen-devel