All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wei Liu <wei.liu2@citrix.com>
To: Kevin Buckley <kevin.buckley.ecs.vuw.ac.nz@gmail.com>
Cc: xen-devel@lists.xenproject.org, Wei Liu <wei.liu2@citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: Xen commit 9b0bc91b3 possibly removed too much info from README
Date: Mon, 15 Apr 2019 10:23:58 +0100	[thread overview]
Message-ID: <20190415092358.GM30543@zion.uk.xensource.com> (raw)
In-Reply-To: <CABwOO=cOxxk7sbscGRzZ1LuiH8JJnCoBJ2d19ZmaSeu5DBi6iw@mail.gmail.com>

On Sat, Apr 13, 2019 at 11:17:48AM +0800, Kevin Buckley wrote:
> On Thu, 11 Apr 2019 at 18:29, Wei Liu <wei.liu2@citrix.com> wrote:
> >
> > ...
> > Sure. I will write a patch.
> >
> > Wei.
> 
> Couple of other things I noticed after posting the original observation,
> that might be of use in patching the documentation
> 
> 1)
> 
> The tools/Makefile has a bare PYTHON EnvVar that isn't seemingly
> replaced by the PYTHON= value supplied to configure, so I also
> needed to specify the
> 
> PYTHON=/path/to/interpreter
> 
> as an argument to the "make world" as well as to the configure.

The only appearance of PYTHON in tools/Makefile is in the qemu build.
It already has the right form.

I tested the following:

    $ PYTHON=/usr/bin/python3 ./configure
    $ make -j8 world 2>&1 | tee log # broken atm unfortunately
    $ make -C tools subdir-all-qemu-xen-dir # the rune which has PYTHON in it

And then I looked for the relevant bits in log:

PKG_CONFIG_PATH=/local/work/xen.git/tools/../tools/pkg-config${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}} \
$source/configure --enable-xen --target-list=i386-softmmu \
        ....
        --python=python3 \

Not sure which bare PYTHON EnvVar you referred to. Can you clarify?

> 
> 
> 2)
> 
> In the top-level INSTALL file, we read
> 
> ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
> SMBIOS_REL_DATE=mm/dd/yyyy
> VGABIOS_REL_DATE="dd Mon yyyy"
> 
> During tools build external repos will be cloned into the source tree.
> This variable can be used to point to a different git binary to be used.
> GIT=
> 
> During tools build external repos will be cloned into the source tree.
> During stubdom build external packages will be downloaded into the
> source tree. These variables can be used to point to a different
> locations.
> XEN_EXTFILES_URL=
> OVMF_UPSTREAM_URL=
> ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
> 
> Is that second
> 
>    During tools build external repos will be cloned into the source tree.
> 
> above the
> 
>    During stubdom build

This is a bit xen specific -- we consider stubdom and tools two separate
components inside xen.git because they have their own directories.

That sentence can indeed be simplified. I will submit a patch for that.

Wei.


> 
> required ?
> 
> FWIW, I noticed (2)  because I didn't have Git in my LFS system at
> point that I was trying to build Xen inside it.
> 
> Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

WARNING: multiple messages have this Message-ID (diff)
From: Wei Liu <wei.liu2@citrix.com>
To: Kevin Buckley <kevin.buckley.ecs.vuw.ac.nz@gmail.com>
Cc: xen-devel@lists.xenproject.org, Wei Liu <wei.liu2@citrix.com>,
	Andrew Cooper <andrew.cooper3@citrix.com>
Subject: Re: [Xen-devel] Xen commit 9b0bc91b3 possibly removed too much info from README
Date: Mon, 15 Apr 2019 10:23:58 +0100	[thread overview]
Message-ID: <20190415092358.GM30543@zion.uk.xensource.com> (raw)
Message-ID: <20190415092358.ESZRpsFJ8YKy-vtI1OL_9oGfFfWS5Q13eCIhhi7prbQ@z> (raw)
In-Reply-To: <CABwOO=cOxxk7sbscGRzZ1LuiH8JJnCoBJ2d19ZmaSeu5DBi6iw@mail.gmail.com>

On Sat, Apr 13, 2019 at 11:17:48AM +0800, Kevin Buckley wrote:
> On Thu, 11 Apr 2019 at 18:29, Wei Liu <wei.liu2@citrix.com> wrote:
> >
> > ...
> > Sure. I will write a patch.
> >
> > Wei.
> 
> Couple of other things I noticed after posting the original observation,
> that might be of use in patching the documentation
> 
> 1)
> 
> The tools/Makefile has a bare PYTHON EnvVar that isn't seemingly
> replaced by the PYTHON= value supplied to configure, so I also
> needed to specify the
> 
> PYTHON=/path/to/interpreter
> 
> as an argument to the "make world" as well as to the configure.

The only appearance of PYTHON in tools/Makefile is in the qemu build.
It already has the right form.

I tested the following:

    $ PYTHON=/usr/bin/python3 ./configure
    $ make -j8 world 2>&1 | tee log # broken atm unfortunately
    $ make -C tools subdir-all-qemu-xen-dir # the rune which has PYTHON in it

And then I looked for the relevant bits in log:

PKG_CONFIG_PATH=/local/work/xen.git/tools/../tools/pkg-config${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}} \
$source/configure --enable-xen --target-list=i386-softmmu \
        ....
        --python=python3 \

Not sure which bare PYTHON EnvVar you referred to. Can you clarify?

> 
> 
> 2)
> 
> In the top-level INSTALL file, we read
> 
> ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
> SMBIOS_REL_DATE=mm/dd/yyyy
> VGABIOS_REL_DATE="dd Mon yyyy"
> 
> During tools build external repos will be cloned into the source tree.
> This variable can be used to point to a different git binary to be used.
> GIT=
> 
> During tools build external repos will be cloned into the source tree.
> During stubdom build external packages will be downloaded into the
> source tree. These variables can be used to point to a different
> locations.
> XEN_EXTFILES_URL=
> OVMF_UPSTREAM_URL=
> ----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<----
> 
> Is that second
> 
>    During tools build external repos will be cloned into the source tree.
> 
> above the
> 
>    During stubdom build

This is a bit xen specific -- we consider stubdom and tools two separate
components inside xen.git because they have their own directories.

That sentence can indeed be simplified. I will submit a patch for that.

Wei.


> 
> required ?
> 
> FWIW, I noticed (2)  because I didn't have Git in my LFS system at
> point that I was trying to build Xen inside it.
> 
> Kevin

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xenproject.org
https://lists.xenproject.org/mailman/listinfo/xen-devel

  reply	other threads:[~2019-04-15  9:25 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-11  8:09 Xen commit 9b0bc91b3 possibly removed too much info from README Kevin Buckley
2019-04-11  8:09 ` [Xen-devel] " Kevin Buckley
2019-04-11 10:28 ` Wei Liu
2019-04-11 10:28   ` [Xen-devel] " Wei Liu
2019-04-13  3:17   ` Kevin Buckley
2019-04-13  3:17     ` [Xen-devel] " Kevin Buckley
2019-04-15  9:23     ` Wei Liu [this message]
2019-04-15  9:23       ` Wei Liu
2019-04-15  9:36       ` Wei Liu
2019-04-15  9:36         ` [Xen-devel] " Wei Liu
2019-04-16 13:31         ` Kevin Buckley
2019-04-16 13:31           ` [Xen-devel] " Kevin Buckley
2019-05-13 13:40           ` Wei Liu
2019-05-13 13:40             ` [Xen-devel] " Wei Liu
2019-04-16 13:28       ` Kevin Buckley
2019-04-16 13:28         ` [Xen-devel] " Kevin Buckley
2019-04-17  9:56         ` Wei Liu
2019-04-17  9:56           ` [Xen-devel] " Wei Liu
2019-04-17 10:41           ` Hypervisor build can't work without `python` (Was: Re: Xen commit 9b0bc91b3 possibly removed too much info from README) Wei Liu
2019-04-17 10:41             ` [Xen-devel] " Wei Liu
2019-04-17 10:44             ` Andrew Cooper
2019-04-17 10:44               ` [Xen-devel] " Andrew Cooper
2019-04-17 10:57               ` Wei Liu
2019-04-17 10:57                 ` [Xen-devel] " Wei Liu
2019-04-17 10:58                 ` Andrew Cooper
2019-04-17 10:58                   ` [Xen-devel] " Andrew Cooper
2019-04-17 11:01                   ` Juergen Gross
2019-04-17 11:01                     ` [Xen-devel] " Juergen Gross
2019-04-17 11:03                   ` Wei Liu
2019-04-17 11:03                     ` [Xen-devel] " Wei Liu
2019-04-17 11:15                     ` Andrew Cooper
2019-04-17 11:15                       ` [Xen-devel] " Andrew Cooper
2019-04-17 11:16                       ` Wei Liu
2019-04-17 11:16                         ` [Xen-devel] " Wei Liu
2019-04-17 11:23                         ` Andrew Cooper
2019-04-17 11:23                           ` [Xen-devel] " Andrew Cooper
2019-04-17 11:26                           ` Wei Liu
2019-04-17 11:26                             ` [Xen-devel] " Wei Liu
2019-04-17 11:43                             ` Juergen Gross
2019-04-17 11:43                               ` [Xen-devel] " Juergen Gross
2019-04-17 11:53                               ` Andrew Cooper
2019-04-17 11:53                                 ` [Xen-devel] " Andrew Cooper
2019-04-17 12:44                                 ` Juergen Gross
2019-04-17 12:44                                   ` [Xen-devel] " Juergen Gross
2019-04-17 14:51                                   ` Wei Liu
2019-04-17 14:51                                     ` [Xen-devel] " Wei Liu
2019-04-19  6:07                                     ` Kevin Buckley
2019-04-19  6:07                                       ` [Xen-devel] " Kevin Buckley
2019-04-20  4:59                                       ` Kevin Buckley
2019-04-20  4:59                                         ` [Xen-devel] " Kevin Buckley
     [not found]                                     ` <584ACCED020000078E2C01CD@prv1-mh.provo.novell.com>
     [not found]                                       ` <D1DA3F7202000045A293CED3@prv1-mh.provo.novell.com>
     [not found]                                         ` <960CB533020000B48E2C01CD@prv1-mh.provo.novell.com>
     [not found]                                           ` <D1E23F7802000079A293CED3@prv1-mh.provo.novell.com>
     [not found]                                             ` <48D5F043020000E137554D14@prv1-mh.provo.novell.com>
     [not found]                                               ` <14AB34BE020000728E2C01CD@prv1-mh.provo.novell.com>
     [not found]                                                 ` <9A8B94880200008537554D14@prv1-mh.provo.novell.com>
     [not found]                                                   ` <A9FA5B7C02000009A293CED3@prv1-mh.provo.novell.com>
2019-04-25 11:32                                                     ` Jan Beulich
2019-04-25 11:32                                                       ` [Xen-devel] " Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190415092358.GM30543@zion.uk.xensource.com \
    --to=wei.liu2@citrix.com \
    --cc=andrew.cooper3@citrix.com \
    --cc=kevin.buckley.ecs.vuw.ac.nz@gmail.com \
    --cc=xen-devel@lists.xenproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.