Commit Graph

1648 Commits

Author SHA1 Message Date
T. Joseph Carter 7a58a77f0d Kind of an early POC on new --platform
libretro-super.sh works, but you currently need to set platform and ARCH
in your environment before running it as you do with libretro-build.sh
now (see libretro-build-ios.sh wrapper for what I mean).  The major work
left here is the --platform argument and a bunch of little things that
will mostly fall into place when that's done.  Also need to settle on a
license for this.

My habit for scripts is public domain, but it could be argued that
libretro-super is no longer "a script".  Still, I want people to use
this if it's useful to them, so I'd prefer a totally unencumbered
license in the vein of MIT/BSD/CC-BY.  I've tentatively selected CC-BY
as a RFC on it vs. MIT, mostly because it tries to explain things in
plain language and unlike MIT/BSD is reviewed in the context of
(d)evolving international laws to ensure that it still does what is
intended.
2015-04-09 18:18:27 -07:00
radius 41c136672e add missing cores 2015-04-08 01:01:55 -04:00
Radius 3030b0be5a windows order fix 2015-04-06 23:57:26 -05:00
T. Joseph Carter 0e0f20338a MAME's legacy rule is _gone_.
libretro-super.sh now has multi-target, so this isn't needed anymore.
2015-04-06 02:07:15 -07:00
T. Joseph Carter c26d473061 New script libretro-super.sh
This script will replace libretro-build.sh and libretro-fetch.sh (and
probably others), but it's not quite ready yet.  It's also completely
undocumented outside of the source code.  _I_ know what it does, but you
shouldn't use it just yet.  ;)
2015-04-06 01:30:40 -07:00
T. Joseph Carter 557a82576c Multi-make for bsnes! (Only in libretro-super.sh) 2015-04-06 01:29:39 -07:00
T. Joseph Carter d447f63567 Update core rules
This is mostly for libretro-super.sh, but libretro-build-common.sh has
already been updated to work with them.  Getting very close to ready to
commit libretro-super.sh now—it just needs to learn to do something with
the devkits and players.
2015-04-05 23:25:51 -07:00
T. Joseph Carter b626d15b2d Update devkit rules for new libretro-fetch.sh 2015-04-05 23:25:11 -07:00
T. Joseph Carter 1e478fd4c6 Missed with last commit 2015-04-05 23:24:21 -07:00
T. Joseph Carter 918943213a Merge branch 'master' of https://github.com/libretro/libretro-super 2015-04-05 23:23:44 -07:00
T. Joseph Carter 803f23ee3a Fully fix libretro-fetch.sh (mostly --devkit) 2015-04-05 23:23:06 -07:00
T. Joseph Carter 6a9f434636 Remove the mgit fetch rule 2015-04-05 22:57:13 -07:00
T. Joseph Carter 84b949f791 Fix libretro-build.sh to work with recent changes 2015-04-05 22:55:22 -07:00
T. Joseph Carter f92c7cde4e New bits for libretro-super.sh 2015-04-05 22:53:51 -07:00
T. Joseph Carter afb0bab33c The stuff that would've broken libretro-fetch.sh 2015-04-05 22:47:49 -07:00
T. Joseph Carter 81a44fdfa9 Remove conditional fetching from libretro-fetch.sh
The partially-finished use of can_build_module() had to be pulled from
libretro-fetch because how it works has changed a little bit.  Don't
worry too much though because libretro-super.sh already fetches using
the new setup.  It's just not quite ready yet.
2015-04-05 22:43:15 -07:00
T. Joseph Carter 0a1f95a089 Add a do_nothing function 2015-04-05 22:24:57 -07:00
T. Joseph Carter 094be73b66 Logging changes 2015-04-05 22:21:28 -07:00
T. Joseph Carter 0e94fea288 nproc is Linux-specific, but you can do the same with sysctl on a Mac 2015-04-05 22:17:32 -07:00
radius 05c3a00135 fix build failure message for android targets 2015-04-04 15:07:45 -04:00
Twinaphex d595b636b8 Merge pull request #243 from Monroe88/patch-1
(Info) Add info file for image viewer core
2015-03-31 04:17:42 +02:00
Monroe88 15d921324c (Info) Add info file for image viewer core 2015-03-30 21:09:31 -05:00
Radius e5038c7464 tiny fix to make sure the 3 mercury profiles build 2015-03-29 14:44:31 -05:00
Radius 06c9db6d80 tiny fix to make sure the 3 mercury profiles build 2015-03-29 14:34:25 -05:00
Radius f720be6f60 move dosbox y prboom to use the seh toolchain 2015-03-29 00:20:45 -05:00
T. Joseph Carter 3cf6d9e4ff Make sure log dir exists before trying to write into it 2015-03-28 20:42:47 -07:00
T. Joseph Carter a540056414 ./libretro-build.sh --nologs to disable logging 2015-03-28 20:30:22 -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 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