Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[solved] 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
  How to upgrade from 4.0 to a newer version via any convenient way? Himyorange 2 247 07-02-2019, 12:57 AM
Last Post: Himyorange
  OP Zero Plus 2 H5 version? Mangy_Dog 16 1,833 04-20-2019, 12:50 AM
Last Post: alexkidd
  OrangePi 3 Version (not available, no GPU drivers) KenSuenobu 28 4,479 03-31-2019, 03:55 PM
Last Post: alexkidd
  [Solved] Broken system start (boot) laguna 12 3,732 01-28-2019, 10:45 AM
Last Post: alexkidd
  [SOLVED] USB causes issue at boot effelle 3 902 12-14-2018, 11:51 PM
Last Post: effelle
  New Sega Saturn libretro core : Kronos rtokuda 2 1,063 11-22-2018, 10:48 AM
Last Post: Suttrey
  [solved] Opi PC load ES but freezze RinDim 2 811 11-11-2018, 06:19 AM
Last Post: RinDim
  [solved] Doubt with PSP emulator of libretro laguna 3 1,334 11-10-2018, 06:18 PM
Last Post: retux
Exclamation [solved]Problem with the video in gamelist view style retux 4 1,418 10-28-2018, 02:00 PM
Last Post: retux
  Mame version ash_grey 1 904 10-23-2018, 04:34 PM
Last Post: alexkidd

Forum Jump:


Users browsing this thread: 1 Guest(s)