Skip to contentSkip to conversation

opnejdk from meta-java for aarm64 ?

DISCUSSION Szczypta, Marek 3 participants 3 messages Apr 9, 2018 – Apr 11, 2018

lore
Share & tools
lore
#0 lore raw

Hi ,

I tried to compile the openjdk from meta-java layer for aarm64 . The master branch claims that is should work for u161b15 . But after I set up the build it tries to build u162b12 for which it fail as there is no support for aarm64 . Do you know if this is working ? or how to set up it up correctly so I can use the u161b15 ? I found there is 162b12.bb file but no 161b15 only openjdk-8_16xbyy.bb ?

#1 lore raw

Hi,

Quoted 3 lines · Marek

Hi ,

I tried to compile the openjdk from meta-java layer for aarm64 . The master branch claims that is should work for u161b15 . But after I set up the build it tries to build u162b12 for which it fail as there is no support for aarm64 . Do you know if this is working ? or how to set up it up correctly so I can use the u161b15 ? I found there is 162b12.bb file but no 161b15 only openjdk-8_16xbyy.bb ?

openjdk-8 was build/run tested on the latest meta-java master branch for qemuarm64. Can you please share the changes made to the local.conf?

Best Regards,
Maxin

#2 lore raw
In reply to Szczypta, Marek
Quoted 8 lines · Marek

Hi ,

I tried to compile the openjdk from meta-java layer for aarm64 . The master branch claims that is should work for u161b15 . But after I set up the build it tries to build u162b12 for which it fail as there is no support for aarm64 . Do you know if this is working ? or how to set up it up correctly so I can use the u161b15 ? I found there is 162b12.bb file but no 161b15 only openjdk-8_16xbyy.bb ?

Are you sure you've checked out the correct commit? What commit (SHA1) are you using?

Have a look here:

https://git.yoctoproject.org/cgit/cgit.cgi/meta-java/tree/recipes-core/openjdk

There is no 162b12.bb file, instead there are openjdk-8_16xbyy.bb and openjre-8_16xbyy.bb. Inside each of these two recipes, PV is set based on the architecture:

PV = "162b12"
PV_aarch64 = "161b15"

and the appropriate .inc file included.

Cheers,
Andre'