Commit Graph

1621 Commits

Author SHA1 Message Date
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
a395d977b1 Use .log extension instead of .txt (for clobbering) 2015-03-27 19:10:01 -07:00
T. Joseph Carter
0e6150d4af More logging improvements 2015-03-27 18:31:51 -07:00
T. Joseph Carter
a2633e0198 Avoid use of wc command 2015-03-27 18:07:29 -07:00
T. Joseph Carter
c2ba909533 Add log dir to .gitignore 2015-03-27 16:56:23 -07:00
T. Joseph Carter
6855c57f2c Updated .gitignore for libretro-mgba 2015-03-27 16:55:37 -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
radius
13d2d0fbbd patch for mame in radius bot 2015-03-25 15:24:38 -04:00
radius
ab4061cd68 add suffixes 2015-03-25 00:39:49 -04:00
radius
461d8c7276 stop renaming cores before packaging 2015-03-24 22:15:09 -04: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
875c7cce1a Add -marm to iOS compilers 2015-03-24 02:53:09 -07:00
radius
f3b6b0b71d add mess, ume 2015-03-24 00:45:33 -04:00
radius
6b1416237a fix some stuff with mame recipey 2015-03-24 00:44:28 -04:00
radius
b3413ffd3d fix derp 2015-03-24 00:14:05 -04:00
radius
52f9eb0675 rename standalone toolchain recipes 2015-03-24 00:12:23 -04:00
T. Joseph Carter
46dc279788 Fix (harmless) errors about MAME_GIT_TINY 2015-03-23 14:41:09 -07:00
T. Joseph Carter
470a1c9d60 Updated .gitignore 2015-03-23 01:06:12 -07:00
T. Joseph Carter
d9a6c24860 Revert e712e5f for now. It's not right, but right takes time and this works now. 2015-03-23 01:03:15 -07:00
T. Joseph Carter
5426f17e7a Enable mame-2015—still WIP, but suitable for testing 2015-03-22 23:32:18 -07:00
T. Joseph Carter
fd43fdb70c Rewrite mame's compile rule 2015-03-22 23:32:18 -07:00
T. Joseph Carter
117112bfdf Revert some hard-coded stuff that I won't be using 2015-03-22 23:32:18 -07:00
T. Joseph Carter
e712e5fe19 Hard-coding iOS 5.0 minimum doesn't work for mame (and likely others) 2015-03-22 23:32:18 -07:00
radius
09e54d730d android buildfix 2015-03-23 02:19:56 -04:00
radius
ad97629bf7 cleanup the android assets copy prodedure 2015-03-21 17:34:02 -04:00
radius
43465902ae add mupen64 to linux portable 2015-03-21 16:26:40 -04:00
radius
90ba80f986 add fuse recipes for windows, cleanup 2015-03-20 21:28:29 -04:00
radius
a50736392e sort 2015-03-20 21:22:18 -04:00
radius
c039afebb4 Merge branch 'master' of github.com:libretro/libretro-super 2015-03-20 21:21:10 -04:00
radius
98acd00e76 add fuse 2015-03-20 21:20:53 -04:00
Andrés
af6ce6c890 remove hack
remove hack
2015-03-20 20:08:56 -05:00
radius
614008b20c add mgba for windows, fix a few issues witht he recipe script 2015-03-20 20:58:39 -04:00
radius
9731e65a3f add mgba for linux 2015-03-20 20:50:41 -04: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
7e5103ebb9 Add iscpu_64bit(), recognize "amd64" as uname -m 2015-03-20 07:17:59 -07:00
twinaphex
1aebba7881 Add mgba 2015-03-20 06:53:35 +01: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
Radius
0287681e85 win32 socket build fix **hack** 2015-03-19 16:35:37 -05:00
T. Joseph Carter
0af586aa40 MingW-w64/MSYS2 uses "mingw32-make" for uname -s of "MINGW64_NT-6.1" 2015-03-19 07:31:27 -07:00
T. Joseph Carter
d77b85cc24 Merge branch 'master' of https://github.com/libretro/libretro-super
Conflicts:
	libretro-build-common.sh
2015-03-18 03:38:03 -07:00
T. Joseph Carter
2486c83688 Remove trailing whitespace 2015-03-18 03:36:32 -07:00
radius
422675b1e1 yet another fix 2015-03-18 03:33:28 -07:00
radius
4b5944b5f8 fix 2015-03-18 03:33:28 -07:00
radius
2b690d6883 fix building separate fba cores 2015-03-18 03:33:28 -07:00
T. Joseph Carter
92bc8937ae Support MAME_GIT_TINY=1 ./libretro-build.sh mame to build tiny build-testing mame 2015-03-18 03:29:12 -07:00
T. Joseph Carter
66f1fe8cf7 Disabled mame in libretro-build.sh (should've done this at the start) 2015-03-18 03:29:12 -07:00