Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compile a core of libretro to a specific commit version
#1
Hello good day,

Would it be possible to compile a core of libretro to a desired commit version ??

I need to modify this script:
https://github.com/retr0rangepi/RetroPie...codrive.sh
to compile this commit:
https://github.com/libretro/picodrive/co...b76f86515e

Anyone who knows how to write the code, can I pass the modified lr-picodrive.sh file to replace it with mine?

Thank you very much, greetings !!!!!
Reply
#2
you dont need to change it, the script (line 19) pulls from the master branch of https://github.com/libretro/picodrive.git , which includes the given commit. Just run RetroPie-Setup and select to update the lr-picodrive core
Reply
#3
(10-02-2018, 06:48 PM)alexkidd Wrote: you dont need to change it, the script (line 19) pulls from the master branch of https://github.com/libretro/picodrive.git , which includes the given commit. Just run RetroPie-Setup and select to update the lr-picodrive core

The goal would be to have the same core version of a friend to play online with him ... he has the picodrive version of the commit that I quoted before, and I would need to compile that version. since he has not connected the raspberry to the network and can not update picodrive to the last source.

Thank you!!
Reply
#4
with user pi, try this:

sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive sources
sudo sh -c "echo eaac037a9e331e8b26a77239d8dd96b76f86515e > ~/RetroPie-Setup/tmp/build/lr-picodrive/.git/refs/heads/master"
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive build
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive install

i can confirm the core is built with "-DGIT_VERSION=\"" eaac037"\" flag
Reply
#5
(10-03-2018, 01:29 PM)alexkidd Wrote: with user pi, try this:

sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive sources
sudo sh -c "echo eaac037a9e331e8b26a77239d8dd96b76f86515e > ~/RetroPie-Setup/tmp/build/lr-picodrive/.git/refs/heads/master"
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive build
sudo ~/RetroPie-Setup/retropie_packages.sh lr-picodrive install

i can confirm the core is built with "-DGIT_VERSION=\"" eaac037"\"  flag


the second line to me has not worked me ... it has failed me saying an error as well as "the directory was not found ... etc"

I thought you could add the commit version to the ir -picodrive.sh compiler itself, here is some information ... could you?


[Image: Captura.png]
Reply
#6
on the second line, change '~/' to '/home/pi/'

i can test later if the commit part works, not now
Reply
#7
(10-03-2018, 07:36 PM)alexkidd Wrote: on the second line, change '~/' to '/home/pi/'

i can test later if the commit part works, not now

incredible, it has worked! I already have picodrive in the commit eaac037, thanks !!!!!!!!!!!!!!!!!
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  v4.2 version no lr-fba-plus emulator? neworange 4 41 Yesterday, 07:40 AM
Last Post: neworange
  Doubt with PSP emulator of libretro laguna 2 123 09-18-2018, 10:27 AM
Last Post: laguna
  Dead USB Ports. Retrorangepi 4.2 Full Version Robocop 5 283 09-05-2018, 02:07 PM
Last Post: alexkidd
  Dosbox does not compile. tomrev 3 146 09-01-2018, 10:10 AM
Last Post: alexkidd

Forum Jump:


Users browsing this thread: 1 Guest(s)