* [PATCH] automation: enable building rombios with clang
@ 2018-07-17 8:39 Wei Liu
2018-07-17 21:54 ` Doug Goldstein
0 siblings, 1 reply; 3+ messages in thread
From: Wei Liu @ 2018-07-17 8:39 UTC (permalink / raw)
To: Xen-devel; +Cc: Wei Liu, Doug Goldstein
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 <wei.liu2@citrix.com>
---
Depends on the ipxe series just committed.
---
automation/scripts/build | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/automation/scripts/build b/automation/scripts/build
index 054226bd73..4dcaabf4bd 100755
--- a/automation/scripts/build
+++ b/automation/scripts/build
@@ -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
--
2.11.0
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] automation: enable building rombios with clang
2018-07-17 8:39 [PATCH] automation: enable building rombios with clang Wei Liu
@ 2018-07-17 21:54 ` Doug Goldstein
2018-07-18 6:47 ` Wei Liu
0 siblings, 1 reply; 3+ messages in thread
From: Doug Goldstein @ 2018-07-17 21:54 UTC (permalink / raw)
To: Wei Liu; +Cc: Xen-devel
On Tue, Jul 17, 2018 at 09:39:35AM +0100, Wei Liu wrote:
> 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 <wei.liu2@citrix.com>
> ---
> Depends on the ipxe series just committed.
> ---
> automation/scripts/build | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/automation/scripts/build b/automation/scripts/build
> index 054226bd73..4dcaabf4bd 100755
> --- a/automation/scripts/build
> +++ b/automation/scripts/build
> @@ -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
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] automation: enable building rombios with clang
2018-07-17 21:54 ` Doug Goldstein
@ 2018-07-18 6:47 ` Wei Liu
0 siblings, 0 replies; 3+ messages in thread
From: Wei Liu @ 2018-07-18 6:47 UTC (permalink / raw)
To: Doug Goldstein; +Cc: Xen-devel, Wei Liu
On Tue, Jul 17, 2018 at 04:54:33PM -0500, Doug Goldstein wrote:
> On Tue, Jul 17, 2018 at 09:39:35AM +0100, Wei Liu wrote:
> > 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 <wei.liu2@citrix.com>
> > ---
> > Depends on the ipxe series just committed.
> > ---
> > automation/scripts/build | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
> > diff --git a/automation/scripts/build b/automation/scripts/build
> > index 054226bd73..4dcaabf4bd 100755
> > --- a/automation/scripts/build
> > +++ b/automation/scripts/build
> > @@ -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
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-07-18 6:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-17 8:39 [PATCH] automation: enable building rombios with clang Wei Liu
2018-07-17 21:54 ` Doug Goldstein
2018-07-18 6:47 ` Wei Liu
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.