AZO234 / NP2kai

Neko Project II kai
http://domisan.sakura.ne.jp/article/np2kai/np2kai.html
MIT License
265 stars 62 forks source link

Libretro Buildbot and recipes #8

Open Tatsuya79 opened 7 years ago

Tatsuya79 commented 7 years ago

I tried to make the recipes for the Libretro Buildbot to have np2kai there for several systems. I just copied what was done before for nekop2 and went with "np2kai" as everything is lower case. I suppose it needs to be changed in the makefiles too. (NP2kai -> np2kai)

You can also check the logs here for build problems.

Sorry I can't be more helpful as I don't have much knowledge about building and recipes.

AZO234 commented 7 years ago

I changed makefile's filename to lower case. I forward to success on buildbot.

Tatsuya79 commented 7 years ago

Makefiles should stay Makefile (not makefile, with minus m).

AZO234 commented 7 years ago

Yes. 'Makefile' file stay as it is.

Tatsuya79 commented 7 years ago

I mean it's looking for "Makefile.libretro" while it is "makefile.libretro" now in your repository.

AZO234 commented 7 years ago

Ah, I got it. I had renamed an extra file. Makefile's name are restored them.

Tatsuya79 commented 7 years ago

I'm pushing this that is perhaps needed?

AZO234 commented 7 years ago

By libretro-super building, I need your pushing setting. I'll change my source, if build proccess different to I think.

AZO234 commented 7 years ago

I changed Makefile.libretro. Because unix build failed on buildbot.

I see buildbot runnning with now source.

But I afraid to occur link errors 'sigsetjmp' and 'siglongjmp'.

Tatsuya79 commented 7 years ago

🎊 Great progress! 🎊 I can get it on windows x64, and I see it for OSX, IOS, Linux x64... So Android is missing and some others...

AZO234 commented 7 years ago

I test for Android, I didn't occur link errors. I use Android Studio (newer Android SDK renamed) and NDK.

Buildbot's NDK version is 13b. I use one is 15b.

AZO234 commented 7 years ago

I saw 2017-09-12's log. It seems that the link works well in Android ARM. (but not good x86) I also care about copy failed, since the file name is 'libretro.so'.

Tatsuya79 commented 7 years ago

I'm asking around and comparing with nekop2, I did not find anything relevant... 😕 Except that the NDK would need to be updated for the buildbot... but is that the problem? I don't know.

AZO234 commented 7 years ago

I had set wrong target name to Android.mk.
I fixed it. (np2kai -> retro)

Please, retry buildbot.

AZO234 commented 7 years ago

I saw 2017-09-13's log.
It seems that copied Android ARM's core files.
...x86 ;-(

Tatsuya79 commented 7 years ago

Nice that you found the solution. :) The buildbot is building automatically when you do a new commit. It can happen in the hour, or later if it is busy building other things (when there is a new MAME version to build for every system it can take a lot of time).

AZO234 commented 7 years ago

The buildbot is building automatically when you do a new commit.

Wow, I'll commit more careful. Thanks.

I just hope that Android x86's link error will be resolved.

AZO234 commented 7 years ago

Can I set build target ARM64 v8? And can I set building for other minor platform (PSP, PSVita, Wii, WiiU, XBOX360, XBOX ONE)? Adding something code need to libretro-super?

edit: Probably ARM64v8 can run ARMv7 binary. Where are other minor platform users getting core? :no_mouth:

Tatsuya79 commented 7 years ago

I don't know for minor platforms. I think people who care about them build them and then share them.

AZO234 commented 7 years ago

Thanks. I want to see core driving on any environments as far as I can see it. Because it is strange and interesting. :smile: I am amazed at the versatility of libretro!

gingerbeardman commented 7 years ago

I just wanted to say thanks for making this core available!

I'm excited to try some of my old favourites on Nintendo New 3DS which is my little libretro/RetroArch machine