Commit Graph

133 Commits

Author SHA1 Message Date
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
Radius 4912848884 add psp recipes and scripts 2014-12-07 03:08:27 -05:00
AndresSM ea0ddaa702 Add extra arguments to generic makefiles so it can cover most cases 2014-11-05 19:40:39 -08:00
Andrés Suárez 00a63fa942 Separate WIN32 from WIN64 builds 2014-10-30 16:19:10 -05:00
l3iggs eea6562291 (Android) Drop MIPS builds 2014-08-22 16:23:41 -07:00
l3iggs a71d0c6e8f (Android) add armeabi back
Let's add armeabi back and see how it goes now.
Also I'm not sure why we're BUILD_LIBRETRO_GL=1 only when libretro-config-user.sh is absent.
2014-08-21 23:01:46 -07:00
l3iggs d9206ce6a9 Move user defines down
Including the user config script should come last to allow for the possibility of redefining/undefining any default variable
2014-08-20 11:14:33 -07:00
l3iggs 6ee5866baf (Android) add API level variables for RetroArch build 2014-08-20 11:03:40 -07:00
twinaphex ead9dfb899 Fix l3iggs' syntax errors in libretro-config.sh 2014-08-19 11:55:24 +02:00
Twinaphex fbd8e53ce0 Merge pull request #100 from l3iggs/master
[Android] allow variable ABI targets
2014-08-19 07:43:46 +02:00
l3iggs 4096a8f582 (Android) typo fix for NDK_NO_GL_HEADER_VER 2014-08-18 10:32:26 -07:00
l3iggs 339197a620 allow for variable NDK header version 2014-08-17 21:24:40 -07:00
l3iggs 5678899c6d [Android] allow variable ABI targets 2014-08-17 21:19:31 -07:00
l3iggs 73523fd55f use 1 core by default 2014-07-26 19:03:50 -07:00
l3iggs 4c8301b6c0 detect cores available for build 2014-07-26 19:03:21 -07:00
TroggleMonkey 4540e8d6a6 Fix x86_64 detection in Git Bash on Windows, along with this error:
libretro-config.sh: line 20: AMD64=AMD64: command not found
2014-05-16 13:54:50 -04:00
twinaphex 84e0921f8d Bash build fix - unary operator expected 2014-03-23 17:14:54 +01:00
lordashram ea7ddb54ec Build MAME/MESS/UME 32bit & 64bit for Linux and WIndows 2014-03-21 17:44:24 -05:00
Josh Johnson c9c9c93850 Convert all shebangs to use Bash 2013-12-08 17:10:42 -08:00
Themaister 6364f45aed Add ARCH override. Needed for cross compiling. 2013-10-30 08:54:58 +01:00
Hans-Kristian Arntzen 84ee23bb0f Merge pull request #16 from HalosGhost/master
Reduce redundant code in platform assignment
2013-08-07 23:06:46 -07:00
twinaphex 0935a5a1a3 Add instancingviewer to Android build 2013-08-04 22:59:05 +02:00
HalosGhost 5ac11b8af9 Reduce redundant code in platform assignment 2013-07-21 14:54:23 -05:00
HalosGhost 55e434ae7d Move platform/architecture detection into libretro-config.sh 2013-07-21 11:55:37 -05:00
twinaphex 005022695d (libretro-config.sh) Add default exports for when libretro-config-user.sh
has not been made
2013-07-13 22:25:06 +02:00
twinaphex e037718864 (libretro-config.sh) Messy ARMPLATFORM define can go now 2013-07-13 22:22:55 +02:00
twinaphex 91a949ff92 Further clarification on BUILD_LIBRETRO_GL/ENABLE_GLES in libretro-config.sh 2013-07-13 22:21:55 +02:00
twinaphex 1ce6a85ea6 Override FORMAT_COMPILER_TARGET for optimized ARM build flags 2013-07-13 22:09:41 +02:00
twinaphex 3b79a2ebf5 ARM params can be bilt up properly now 2013-07-13 18:31:10 +02:00
twinaphex fbf62c0b08 Dynamically build up ARMVERSION depending on params passed 2013-07-13 18:25:03 +02:00
twinaphex 8006f8c0e9 Will have to define user flags for ARM systems now in libretro-config-user.sh 2013-07-13 17:32:29 +02:00
twinaphex 2020f84a7c Define user defines for building/fetching in local libretro-config-user.sh,
and include this if it exists from libretro-config.sh
2013-06-30 18:23:26 +02:00
twinaphex 9724b24788 Add ModelViewer and SceneWalker build targets for iOS, QNX and
PC
2013-05-18 02:53:55 +02:00
twinaphex 9790f8ef4e Do chmod +x on libretro-config.sh 2013-05-01 23:26:06 +02:00
twinaphex 2f2dbbc544 Add libretro-config.sh for setting certain configuration variables 2013-05-01 04:11:22 +02:00