Commit Graph

243 Commits

Author SHA1 Message Date
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
T. Joseph Carter
de0382d2c7 Make theos build products hack a little less hacky 2015-03-10 07:46:19 -07:00
T. Joseph Carter
63cbb06d1d I dunno how this has been missed so long—fixed mednafen/beetle builds 2015-03-10 05:40:57 -07:00
T. Joseph Carter
2b53df7057 This got missed in libretro-build-common.sh 2015-03-10 02:46:30 -07:00
T. Joseph Carter
3c5128f0fa This got left out of my last commit 2015-03-05 20:50:49 -08:00
T. Joseph Carter
c5dba10034 Make cores without a build rule actually not try to build 2015-03-04 17:33:49 -08:00
T. Joseph Carter
d9cd94cd5f SOME color in the scripts, can be disabled in libretro-config{,-user}.sh 2015-03-03 00:13:02 -08:00
T. Joseph Carter
94cd2a586d Make mame iOS build fail gracefully in the mame_modern function as well 2015-03-02 16:32:43 -08:00
T. Joseph Carter
0e4520e891 Make the iOS prerule a little smarter about failing. 2015-03-02 16:04:26 -08:00
Carl Melville
097f6890d1 add Lutro 2015-03-02 11:00:01 -06:00
Twinaphex
69befa3e03 Merge pull request #218 from iKarith/master
Working toward a rule for mame, and trying to fix ios builds of it
2015-03-02 16:22:51 +01:00
T. Joseph Carter
a2f7a1deeb Working toward a rule for mame, and trying to fix ios builds of it 2015-03-02 07:19:07 -08:00
twinaphex
8a736def82 Add build rule for gw 2015-03-02 05:11:52 +01:00
T. Joseph Carter
c0bf950b79 Remove debug echo 2015-03-01 18:46:36 -08:00
T. Joseph Carter
bad8ba3f94 Added rules for OpenGL (optional and required) 2015-03-01 14:46:25 -08:00
T. Joseph Carter
8e471f8519 Rules based fetch = DONE. Twinaphex read devkit-rules.sh 2015-03-01 03:42:45 -08:00
T. Joseph Carter
2138b2b882 Put back legacy functions—non libretro-build.sh scripts need them for now 2015-02-26 15:12:14 -08:00
T. Joseph Carter
5842f48f00 Stage 1 of building with core-rules 2015-02-26 14:43:29 -08:00
T. Joseph Carter
82a87696d4 Some cleanups of the fetch rules a bit, move echo_cmd to script-modules 2015-02-26 00:14:56 -08:00
T. Joseph Carter
2a35b32016 check_opengl now returns a value we can use 2015-02-25 19:38:52 -08:00
T. Joseph Carter
98725f497e Make test cores compile better for buildbots 2015-02-24 00:21:22 -08:00