* meson issue in romulus SDK
@ 2019-05-01 15:40 Zane Shelley
2019-05-01 20:39 ` Brad Bishop
0 siblings, 1 reply; 3+ messages in thread
From: Zane Shelley @ 2019-05-01 15:40 UTC (permalink / raw)
To: openbmc
I'm just getting into meson. The manual for meson at mesonbuild.com
indicates the command syntax is 'meson [command] [arguments] [options]',
which is consistent with the version of meson I have installed on Ubuntu
18.04 ('meson -v' returns 0.45.1). However, when I source the romulus
SDK that I built this morning ('meson -v' returns 0.49.2), it doesn't
understand the [command] argument. For example:
$ meson init
ERROR: Neither directory contains a build file meson.build.
$ ls
init
I think this version of meson tried to build what is in ./ and put it in
init/. Could anyone explain why this behavior is different?
--
- Zane
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meson issue in romulus SDK
2019-05-01 15:40 meson issue in romulus SDK Zane Shelley
@ 2019-05-01 20:39 ` Brad Bishop
2019-05-01 21:11 ` Zane Shelley
0 siblings, 1 reply; 3+ messages in thread
From: Brad Bishop @ 2019-05-01 20:39 UTC (permalink / raw)
To: Zane Shelley; +Cc: openbmc
On Wed, May 01, 2019 at 10:40:35AM -0500, Zane Shelley wrote:
>I'm just getting into meson. The manual for meson at mesonbuild.com
>indicates the command syntax is 'meson [command] [arguments]
>[options]', which is consistent with the version of meson I have
>installed on Ubuntu 18.04 ('meson -v' returns 0.45.1). However, when I
>source the romulus SDK that I built this morning ('meson -v' returns
>0.49.2), it doesn't understand the [command] argument. For example:
>
>$ meson init
>
>ERROR: Neither directory contains a build file meson.build.
>$ ls
>init
>
>I think this version of meson tried to build what is in ./ and put it
>in init/. Could anyone explain why this behavior is different?
>
>--
>- Zane
Hi Zane
For getting your feet wet with OpenBMC + meson could you forgo the SDK
and cross compiling and use the docker CI environment?...SDK support for
meson is missing a few minor things right now. Are you able to install
docker somewhere? Then you can do something like this:
export WORKSPACE=/home/andrewg/Code/ && \
export UNIT_TEST_PKG=obmc-ikvm && \
./openbmc-build-scripts/run-unit-test-docker.sh
thx - brad
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: meson issue in romulus SDK
2019-05-01 20:39 ` Brad Bishop
@ 2019-05-01 21:11 ` Zane Shelley
0 siblings, 0 replies; 3+ messages in thread
From: Zane Shelley @ 2019-05-01 21:11 UTC (permalink / raw)
To: openbmc
On 2019-05-01 15:39, Brad Bishop wrote:
> On Wed, May 01, 2019 at 10:40:35AM -0500, Zane Shelley wrote:
>> I'm just getting into meson. The manual for meson at mesonbuild.com
>> indicates the command syntax is 'meson [command] [arguments]
>> [options]', which is consistent with the version of meson I have
>> installed on Ubuntu 18.04 ('meson -v' returns 0.45.1). However, when I
>> source the romulus SDK that I built this morning ('meson -v' returns
>> 0.49.2), it doesn't understand the [command] argument. For example:
>>
>> $ meson init
>>
>> ERROR: Neither directory contains a build file meson.build.
>> $ ls
>> init
>>
>> I think this version of meson tried to build what is in ./ and put it
>> in init/. Could anyone explain why this behavior is different?
>>
>> -- - Zane
>
> Hi Zane
>
> For getting your feet wet with OpenBMC + meson could you forgo the SDK
> and cross compiling and use the docker CI environment?...SDK support
> for
> meson is missing a few minor things right now. Are you able to install
> docker somewhere? Then you can do something like this:
>
> export WORKSPACE=/home/andrewg/Code/ && \ export
> UNIT_TEST_PKG=obmc-ikvm && \
> ./openbmc-build-scripts/run-unit-test-docker.sh
>
> thx - brad
Thanks, I will check it out.
--
- Zane
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-05-01 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-01 15:40 meson issue in romulus SDK Zane Shelley
2019-05-01 20:39 ` Brad Bishop
2019-05-01 21:11 ` Zane Shelley
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.