[v1,21/24] tests/tcg: enable building for ppc64

Message ID 20180410193919.28026-22-alex.bennee@linaro.org
State Superseded
Headers show
Series
  • fix building of tests/tcg
Related show

Commit Message

Alex Bennée April 10, 2018, 7:39 p.m.
Currently this just enables building the multiarch tests.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

---
 tests/tcg/ppc64/Makefile.include | 2 ++
 1 file changed, 2 insertions(+)
 create mode 100644 tests/tcg/ppc64/Makefile.include

-- 
2.16.2

Comments

Philippe Mathieu-Daudé April 16, 2018, 1:36 a.m. | #1
Hi Alex,

On 04/10/2018 04:39 PM, Alex Bennée wrote:
> Currently this just enables building the multiarch tests.

> 

> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>


"make tcg-tests-ppc64-linux-user" works indeed.

Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>


Do we care about ppc[32]?

> ---

>  tests/tcg/ppc64/Makefile.include | 2 ++

>  1 file changed, 2 insertions(+)

>  create mode 100644 tests/tcg/ppc64/Makefile.include

> 

> diff --git a/tests/tcg/ppc64/Makefile.include b/tests/tcg/ppc64/Makefile.include

> new file mode 100644

> index 0000000000..d71cfc9aa7

> --- /dev/null

> +++ b/tests/tcg/ppc64/Makefile.include

> @@ -0,0 +1,2 @@

> +DOCKER_IMAGE=debian-ppc64el-cross

> +DOCKER_CROSS_COMPILER=powerpc64le-linux-gnu-gcc
Alex Bennée April 16, 2018, 8:54 a.m. | #2
Philippe Mathieu-Daudé <f4bug@amsat.org> writes:

> Hi Alex,

>

> On 04/10/2018 04:39 PM, Alex Bennée wrote:

>> Currently this just enables building the multiarch tests.

>> 

>> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>

>

> "make tcg-tests-ppc64-linux-user" works indeed.

>

> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

> Tested-by: Philippe Mathieu-Daudé <f4bug@amsat.org>

>

> Do we care about ppc[32]?


Yes, certainly I'll get anything working that we can reasonably do with
our docker images.

>

>> ---

>>  tests/tcg/ppc64/Makefile.include | 2 ++

>>  1 file changed, 2 insertions(+)

>>  create mode 100644 tests/tcg/ppc64/Makefile.include

>> 

>> diff --git a/tests/tcg/ppc64/Makefile.include b/tests/tcg/ppc64/Makefile.include

>> new file mode 100644

>> index 0000000000..d71cfc9aa7

>> --- /dev/null

>> +++ b/tests/tcg/ppc64/Makefile.include

>> @@ -0,0 +1,2 @@

>> +DOCKER_IMAGE=debian-ppc64el-cross

>> +DOCKER_CROSS_COMPILER=powerpc64le-linux-gnu-gcc



-- 
Alex Bennée

Patch

diff --git a/tests/tcg/ppc64/Makefile.include b/tests/tcg/ppc64/Makefile.include
new file mode 100644
index 0000000000..d71cfc9aa7
--- /dev/null
+++ b/tests/tcg/ppc64/Makefile.include
@@ -0,0 +1,2 @@ 
+DOCKER_IMAGE=debian-ppc64el-cross
+DOCKER_CROSS_COMPILER=powerpc64le-linux-gnu-gcc