Commit Graph

84 Commits

Author SHA1 Message Date
T. Joseph Carter
7555e60856 Nothing uses these iOS version vars, kill them off… 2015-06-30 19:33:30 -07:00
T. Joseph Carter
8142fb5cb3 Ensure DIST_DIR includes the CPU for OS X in libretro-config as well 2015-06-17 03:45:15 -07:00
T. Joseph Carter
4fb98b4c22 nproc is Linux-specific, but you can do the same with sysctl on a Mac 2015-04-27 19:47:42 -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
910a8010f8 Start of logging subsystem 2015-03-27 16:45:38 -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
T. Joseph Carter
875c7cce1a Add -marm to iOS compilers 2015-03-24 02:53:09 -07:00
radius
52f9eb0675 rename standalone toolchain recipes 2015-03-24 00:12:23 -04: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
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
1b0a50438f fixes 2015-03-10 23:06:21 -04:00
T. Joseph Carter
7948e54625 Stray B 2015-03-10 12:33:14 -07:00
T. Joseph Carter
f494a26f81 Canonicalize $platform a bit 2015-03-10 07:17:44 -07:00
T. Joseph Carter
fd62341c9c Merge branch 'master' of https://github.com/libretro/libretro-super
Conflicts:
	libretro-buildbot-recipe.sh
	libretro-config.sh
2015-03-09 05:41:06 -07:00
T. Joseph Carter
d02ff168c6 Getting ready for theos merge into libretro-build.sh 2015-03-09 05:33:41 -07:00
radius
32c3bfd069 add wii target 2015-03-07 15:58:02 -05: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
67c1d7b292 This makes iOS builds possible on Xcode < 5. 2015-02-27 17:34:37 -08:00
T. Joseph Carter
88f9dfeb1b Massively clean up mupen64plus rule 2015-02-22 23:00:15 -08:00
T. Joseph Carter
9bdf8cf641 Make the message for not building UBs on the Mac more clear in the unsupported case. 2015-02-21 20:36:50 -08:00
T. Joseph Carter
0fdedeb663 iOS build cleanup (use platform=ios ./libretro-build.sh now) 2015-02-19 10:14:22 -08:00
T. Joseph Carter
94275bac9a Change default build revisions dir and make it configurable 2015-02-18 22:45:23 -08:00
T. Joseph Carter
ff274a137c SKIP_UNCHANGED=1 causes libretro-build.sh to not build cores that didn't change since last fetch. Not enabled by default because it interferes with development. 2015-02-18 22:31:02 -08:00
T. Joseph Carter
b8c896e3ee May as well do the shell quoting changes to other scripts 2015-02-17 23:17:47 -08:00
Carl Melville
42b9ad08b1 Remove extra newline from most files 2015-02-17 18:49:59 -08:00
T. Joseph Carter
80191787a9 Fix for work paths with spaces in them. *sigh* 2015-02-17 16:04:25 -08:00
T. Joseph Carter
4955cee0cc Make my build summary work without using files (we lose pretty formatting for now) 2015-02-17 12:03:38 -08:00
T. Joseph Carter
498bc87f9a Try to make whitespace consistently 3 space tabs in shell scripts, also use env for bash 2015-02-16 19:22:50 -08:00
T. Joseph Carter
1ecbde6860 This should fix iOS (and other platforms) 2015-02-06 03:30:20 -08:00
T. Joseph Carter
b892137c59 JOBS is always set before libretro-build-common.sh 2015-02-02 23:08:12 -08:00
T. Joseph Carter
b7542c454b Changes associated with ${WORKDIR} 2015-02-02 10:07:25 -08:00
T. Joseph Carter
e3f874cb11 Build host report is now a function 2015-02-02 07:37:45 -08:00
T. Joseph Carter
158bde99b8 Platform detection is now a function 2015-02-02 07:28:24 -08:00
T. Joseph Carter
a74687bfc1 Bashism, coding style consistency 2015-02-02 07:20:38 -08:00
T. Joseph Carter
52756be36a Turned CPU detection into a function 2015-02-02 07:13:01 -08:00
T. Joseph Carter
2c6e9e1a31 Fix a couple of bashisms in libretro-config.sh 2015-02-02 06:19:21 -08:00
T. Joseph Carter
f176a81d18 Clean up and document OS X univeral build stuff 2015-02-01 00:42:43 -08:00
T. Joseph Carter
948e743d64 Comment temporary UB stuff for OSX 2015-01-31 20:43:57 -08:00
T. Joseph Carter
3e5f43a7bd Start of proper UB support on OS X 2015-01-31 12:31:51 -08:00
T. Joseph Carter
da66ca7437 Re-did build summary (and you can now turn it off) 2015-01-30 19:01:14 -08:00
twinaphex
50806e43a3 Add logging 2015-01-30 11:38:19 +01:00
radius
c8a6441890 add standalone toolchain target 2015-01-17 00:37:59 -05:00
radius
6a0dac5027 add theos buildbot 2014-12-23 18:11:56 -05:00
Twinaphex
340ca84ac3 Merge pull request #152 from fr500/master
Android buildbot
2014-12-18 05:12:07 +01:00
Radius
318651f683 add android cores 2014-12-17 22:39:09 -05:00
Michael Lelli
6f3f4f11c4 detect MSYS2 as windows 2014-12-12 18:21:51 -06:00