Commit graph

263 commits

Author SHA1 Message Date
Eric Warmenhoven 12ab35b2cc Make sure variables based on $PWD are properly quoted
This fixes https://github.com/libretro/docs/issues/889
2024-01-06 00:25:55 -05:00
zoltanvb 5f082fad92 Cmake option for building with libretro-build.sh
Cmake option added and a couple of core rules  updated to use it
for building. At the moment, those were not working at all with
the makefile based method.
2023-09-30 22:23:41 +02:00
libretroadmin 13d573b99b Add samecdi and a5200 build rules 2022-06-21 20:51:13 +02:00
M4xw c64ce0d707 Fix buildbot domains 2019-09-13 11:51:25 +02:00
twinaphex ca3c3df20d Update 2019-05-11 22:13:47 +02:00
orbea 712393c796
Revert "libretro-buildbot-recipe.sh: Remove seemingly unneeded and non-portable bash redirection." 2017-12-21 04:03:30 +00:00
twinaphex dbf2dd9fb3 Revert this - right now cores are not being correctly copied
to dist dirs
2017-12-21 01:24:10 +01:00
orbea 3cf5d25f34 libretro-build-commond.sh: Make build output more verbose again.
Fixes a regression caused by abe440887d
2017-12-20 03:36:41 -08:00
orbea abe440887d libretro-buildbot-recipe.sh: Remove seemingly unneeded and non-portable bash redirection. 2017-12-06 08:33:02 -08:00
hunterk 745bc8f6be move more logging from hastebin to bparker's cloud 2016-12-31 14:36:56 -06:00
radius a724bca33d update status messages 2016-03-05 16:48:24 -05:00
radius 5c168d88fb update status messages 2016-03-05 16:25:20 -05:00
twinaphex 81ef187f5d Add STATIC_LINKING switch 2016-02-05 15:45:48 +01:00
twinaphex 2aa695edda Add platform part too 2015-11-05 21:12:31 +01:00
twinaphex a07d978886 Add post_error_log 2015-11-05 21:09:50 +01:00
athairus e982ec4117 Added ability to pass DEBUG to all makefiles via environment var 2015-10-28 16:41:47 -04:00
twinaphex d94280b812 Create way to copy and rename core properly and
output to dist/android/{ABI}/ dir
2015-08-04 04:08:01 +02:00
twinaphex c742ffadc9 Remove obsolete FBA Cores rules 2015-07-30 03:35:10 +02:00
T. Joseph Carter 571e23d655 Move module processing to a script module 2015-04-27 19:47:44 -07:00
T. Joseph Carter 5e48b01678 MAME's legacy rule is _gone_.
libretro-super.sh now has multi-target, so this isn't needed anymore.
2015-04-27 19:47:44 -07:00
T. Joseph Carter e40e427f86 Fix libretro-build.sh to work with recent changes 2015-04-27 19:47:43 -07:00
T. Joseph Carter 1a30a6a1a1 Implement log truncation, now ready for testing
What (should) work):

 - LIBRETRO_DEVELOPER (default 1) to output all build progress

 - LIBRETRO_LOG_DIR (default $WORKDIR/log) to change WHERE logs get
   written.  Useful for buildbots that have multiple WORKDIRs to put
   logs in roughly the same place.

 - LIBRETRO_LOG_SUPER (default libretro-super.log) to change the name of
   libretro-build.sh's log file.  No log would be written if unset, but
   script-modules/log.sh sets it if unset for now.

 - LIBRETRO_LOG_CORE (default %s.log) to change the name pattern for a
   core log file.  The %s is replaced with the "safe" core name used by
   libretro-super's rules.

 - LIBRETRO_LOG_APPEND (default ""), if set, would not clobber the log
   files the next time you ran libretro-super.  Caution: mame's output
   is 34 megabytes on its own for a single successful build

What doesn't work yet:

 - You should be able to unset LIBRETRO_LOG_SUPER and LIBRETRO_LOG_CORE
   and have your decision mean something.  This is the #1 thing I must
   change, and I will do so in the next day or so.

 - We assume that if you want output to screen and log, you'll have the
   tee command.  What if you don't?  We choose log over screen in that
   case, but tee is such a trivial tool to implement, perhaps we should?

 - Currently logs lack date stamps.  Bash's built-in printf has a way to
   do this, but Apple STUPIDLY disables it because Apple.  Turns out
   that bash 2.05a didn't have the feature anyway.  You may not have the
   UNIX date command on Windows if you're somehow running bash from
   cmd.exe.  Worse, you have a command of the same name that requires a
   /t argument to do half of what date does on UNIX.  Running into
   limits of bash here, easily solved using most anything else.
2015-03-27 19:31:19 -07:00
T. Joseph Carter 0e6150d4af More logging improvements 2015-03-27 18:31:51 -07:00
T. Joseph Carter 647130333e Clean up libretro_build_core using default var expansion 2015-03-27 16:54:35 -07:00
T. Joseph Carter 910a8010f8 Start of logging subsystem 2015-03-27 16:45:38 -07:00
T. Joseph Carter 12c13eb55d POC of logging per-core 2015-03-26 10:50:29 -07:00
T. Joseph Carter 22e3e07d42 Changed how build summary is produced, start of new logging 2015-03-25 20:09:42 -07:00
T. Joseph Carter 714dfc97f5 Remove an include that isn't ready 2015-03-24 10:49:46 -07:00
T. Joseph Carter a4f6abd1f3 Stupid mistake probably keeps mess and ume from working 2015-03-24 09:43:50 -07:00
T. Joseph Carter 46dc279788 Fix (harmless) errors about MAME_GIT_TINY 2015-03-23 14:41:09 -07:00
T. Joseph Carter fd43fdb70c Rewrite mame's compile rule 2015-03-22 23:32:18 -07:00
T. Joseph Carter 44644035af We shouldn't be trying to pass PTR64 from the outside normally 2015-03-20 07:17:59 -07:00
T. Joseph Carter 0028984d86 Remove radius's legacy mame rules, modify the one we use to work right 2015-03-19 18:09:29 -07:00
T. Joseph Carter 2486c83688 Remove trailing whitespace 2015-03-18 03:36:32 -07:00
T. Joseph Carter a8f0f88a34 Support MAME_GIT_TINY=1 ./libretro-build.sh mame to build tiny build-testing mame 2015-03-17 18:35:15 -07:00
T. Joseph Carter 9e26f63cf7 Make sure to partial clean between mame/mess/ume 2015-03-17 16:56:29 -07:00
T. Joseph Carter f60e902d7c MAME is now the _only_ legacy rule. If fixed for iOS, magic happens. 2015-03-13 11:56:06 -07:00
T. Joseph Carter 7edfef7b58 Fix a stupid bug in rule script fragments 2015-03-13 11:53:56 -07:00
T. Joseph Carter e42c31666c Mupen64plus is now supported by modern rules 2015-03-12 07:57:03 -07:00
T. Joseph Carter 2e20e35b31 Fix function variables to be empty when functions aren't defined 2015-03-12 07:54:52 -07:00
T. Joseph Carter 99d254e7c2 Change per-core functions a bit 2015-03-12 07:41:03 -07:00
T. Joseph Carter e710942f0d Call per-core shell functions pre and post build and clean (if defined) 2015-03-12 07:29:09 -07:00
T. Joseph Carter 63c9674f6c Added rules for core output dir and extra make args 2015-03-12 06:53:41 -07:00
T. Joseph Carter 607d1560d7 Modern rules now understand building multiple cores, emux is no longer legacy 2015-03-12 06:09:49 -07:00
T. Joseph Carter 1c391164f3 The legacy rules are now safe to delete :) 2015-03-12 05:41:03 -07:00
T. Joseph Carter 9a612eeffc Revert to legacy rule for PCSX ReARMed (requires http://git.io/pPfR) 2015-03-12 05:13:57 -07:00
T. Joseph Carter 377fb5edb3 Add the fba subcores to "not done", convert scripts to use new rules 2015-03-12 03:35:54 -07:00
T. Joseph Carter 40d4d0584b Everything but pcsx_rearmed_interpreter now uses libretro_build_core 2015-03-12 01:14:21 -07:00
T. Joseph Carter 696489556e Added a "legacy" rule for cores not yet ported to modern libretro-super 2015-03-11 23:24:09 -07:00
T. Joseph Carter 0143866764 Everything now uses copy_core_to_dist 2015-03-10 11:21:54 -07:00