Commit graph

116 commits

Author SHA1 Message Date
David Ludwig
6f1fc0d165 WinRT: made sure build script generates Release-built binaries, by default
winrtbuild.bat/.ps1 were generating Debug-built binaries, in some cases.
This change makes sure that Release mode is the default.
2015-06-14 20:15:36 -04:00
Sam Lantinga
85c40e45b7 Script from Sylvain to automate updating the copyright year 2015-05-26 06:27:12 -07:00
Ryan C. Gordon
64accce776 Some Raspberry Pi build fixes (including Raspberry Pi 2 support).
Fixes Bugzilla #2879.

--HG--
extra : rebase_source : b9b8a69e971e5bf910c0dc592b5d9bf3c15e13ca
2015-04-11 05:58:37 +00:00
Ryan C. Gordon
038a4f862a Actually fix Unix scripts this time. :) 2014-12-24 13:23:48 -05:00
Ryan C. Gordon
1d6b450b2c I don't know if Unix scripts are useful at all on Emscripten, but fix them up. 2014-12-24 13:13:19 -05:00
Ryan C. Gordon
eab9145ae3 A little more work on the Emscripten buildbot script.
Should upload tarballs now, etc.
2014-12-24 13:03:20 -05:00
Ryan C. Gordon
79012b522c Added buildbot script for Emscripten port. 2014-12-24 12:49:35 -05:00
Ryan C. Gordon
de88474dda Initial merge of Emscripten port!
With this commit, you can compile SDL2 with Emscripten
( http://emscripten.org/ ), and make your SDL-based C/C++ program
into a web app.

This port was due to the efforts of several people, including: Charlie Birks,
Sathyanarayanan Gunasekaran, Jukka Jylänki, Alon Zakai, Edward Rudd,
Bruce Mitchener, and Martin Gerhardy. (Thanks, everyone!)

--HG--
extra : rebase_source : 97af74c8a5121e926ebe89f123536b5dd6681695
2014-12-18 00:19:52 -05:00
Ryan C. Gordon
b9aeac24fd Fixed some paths in the new buildbot windows zipper script. 2014-12-04 02:24:22 -05:00
Ryan C. Gordon
b612510fb2 Added a script to handle packing up Windows builds for the buildbot. 2014-12-04 02:09:07 -05:00
Ryan C. Gordon
241c43fac3 Fixed gcc-fat.sh failing to build Objective-C sources correctly.
This would fail if the compiler was given a .m file _and_ no "-o" option; it
would fail to automatically calculate the correct .o filename in this
situation.

Thanks to Ethan Lee for the help tracking this one down!

--HG--
extra : rebase_source : 3620d161d8c52613e864e156379837db5b8b0be6
2014-11-14 11:21:15 -05:00
David Ludwig
f21e739e93 WinRT: removed '-' from build script file names
Most of the other build scripts don't include a '-' in their file names.  This
change makes the WinRT build scripts use the same convention.

--HG--
rename : build-scripts/winrt-build.bat => build-scripts/winrtbuild.bat
rename : build-scripts/winrt-build.ps1 => build-scripts/winrtbuild.ps1
2014-11-03 13:07:51 -05:00
David Ludwig
9358dcf12b WinRT: added scripts to build Release copies of SDL for all WinRT variants
These variants include:
 - Windows 8.0 for x86
 - Windows 8.0 for x64
 - Windows 8.0 for ARM
 - Windows 8.1 for x86
 - Windows 8.1 for x64
 - Windows 8.1 for ARM
 - Windows Phone 8.0 for x86 (for use with the Windows Phone emulator)
 - Windows Phone 8.0 for ARM
 - Windows Phone 8.1 for x86 (for use with the Windows Phone emulator)
 - Windows Phone 8.1 for ARM

--HG--
extra : rebase_source : 776b8a3680350369ed85c7769540211274bf204e
2014-11-03 08:58:49 -05:00
Ryan C. Gordon
9efa4ff286 Fixed the cmake-guided static analysis and use it by default.
The configure script fails on it on Mac OS X, now, for whatever reason.

Hopefully gets our static analysis buildslave running again!

--HG--
extra : rebase_source : 57f2c5512c5be3b7233132c9ec5d0bb1cbd86c6c
2014-08-20 01:21:45 -04:00
Sam Lantinga
81a400cd0c Fixed indentation for pnacl configuration 2014-07-07 11:13:19 -07:00
Sam Lantinga
c3369ca83e Removed references to Raspberry Pi 2014-06-21 11:16:26 -07:00
Ryan C. Gordon
8ebcced17a Added script for buildbot to use on NaCl target. 2014-06-20 22:38:36 -04:00
Gabriel Jacobo
664169ab4b Fix another NaCl warning 2014-06-20 11:50:31 -03:00
Gabriel Jacobo
e278ae7eb0 Initialize nacl_io, removes SDL_NaClMount/Umount
It's just easier to use nacl_io's mount/umount directly.
2014-06-20 10:59:51 -03:00
Gabriel Jacobo
c6434e2416 Adds missing Makefile for NACL test and a couple of smaller fixes 2014-06-06 18:33:17 -03:00
Gabriel Jacobo
c330e8e9e2 Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
Ryan C. Gordon
2f4bc4e5c3 Turn off Wayland support for Raspberry Pi on the buildbot.
It's picking up the system headers instead of the RPi build files.

Theoretically, we _can_ support Wayland on this platform, though, as there
 _is_ a Raspberry Pi port out there...
2014-04-19 02:26:12 -04:00
Ryan C. Gordon
ee2b15aebc Raspberry Pi builds should upload as .tar.xz instead of .tar.bz2.
Makes the archive about 40-50% smaller!

--HG--
extra : rebase_source : adac7393b54fb8c05cb868858c968da87f3d7199
2014-03-28 09:59:32 -04:00
Ryan C. Gordon
4dd6e749db Minor comment cleanups in checker-buildbot.sh 2014-03-19 22:43:30 -04:00
Ryan C. Gordon
e66b7588ad Don't overwrite SDL_dynapi.h in checker-buildbot.sh. 2014-03-19 16:02:25 -04:00
Ryan C. Gordon
c40596908d Make checker-buildbot.sh work just about anywhere Clang is installed. 2014-03-19 15:25:27 -04:00
Ryan C. Gordon
1adad7a85d Reenable static builds for now with static analysis. 2014-03-19 13:22:09 -04:00
Ryan C. Gordon
4e85b2db83 Buildbot static analysis script: use configure script instead of cmake. 2014-03-19 03:29:14 -04:00
Ryan C. Gordon
c02d339a3b Just build shared libraries for static analysis.
Building the static libs just does the same work twice.
2014-03-19 03:04:04 -04:00
Ryan C. Gordon
d728e934bf Added a script to let buildslaves run Clang static analysis. 2014-03-19 00:58:32 -04:00
Ryan C. Gordon
da923dad2b Turn off Mir support in the buildbot Raspberry Pi script. 2014-03-10 00:26:40 -04:00
Ryan C. Gordon
7137e0c2e8 Enable ccache for Raspberry Pi buildbot script. 2013-12-15 00:21:42 -05:00
Gabriel Jacobo
12551ee8d0 Fixes building for RPi using --no-undefined 2013-11-17 11:07:55 -03:00
Gabriel Jacobo
f2f5160c17 Updated androidbuild.sh to enable parallel builds and ndk-build parameters 2013-11-13 09:41:21 -03:00
Gabriel Jacobo
7075ece4a5 Adds Joystick support for Android
This bumps the build SDK level to 12 (up from 10). Runtime requirements remain
the same (at API level < 12 joystick support is disabled).

Also enables building SDL for armv7 and x86.
2013-11-05 20:07:39 -03:00
Ryan C. Gordon
08c4ea17ef Do a full sysroot for the Raspberry Pi buildbot.
This gets us ALSA and X11, etc.

--HG--
extra : rebase_source : ddc88cb2db83afe6bbecf793f37fec87ac2b7fa8
2013-10-11 10:58:05 -04:00
Ryan C. Gordon
0631b5a7a8 Raspberry Pi build script: let caller specify final tarball name. 2013-10-10 02:37:36 -04:00
Ryan C. Gordon
c0ea35c354 Fixed tarball name in Raspberry Pi build script. 2013-10-10 02:06:14 -04:00
Ryan C. Gordon
e1f08f5661 Added script that the buildbot will use for cross-compiling to Raspberry Pi. 2013-10-10 01:46:39 -04:00
Gabriel Jacobo
3e171ab36e Adds test framework to Android.mk and a simple utility to build Android projects 2013-10-09 10:29:01 -03:00
Gabriel Jacobo
c7f38347b7 Raspberry Pi support (also unified UDEV and EVDEV support) 2013-09-28 13:28:19 -03:00
Jørgen P. Tjernø
b01b128353 Mac: Codify SDK and OS requirements, and clean up.
This #errors if you're using an SDK or deployment target that is less
than 10.6 and 10.5, respectively, and cleans up uses of
MAC_OS_X_VERSION_MIN_REQUIRED and MAC_OS_X_VERSION_MAX_ALLOWED according
to those requirements.
2013-07-23 17:38:59 -07:00
Sam Lantinga
226679f4bb The standard fat gcc scripts work well with SDL 2.0 2013-06-01 12:53:06 -07:00
Sam Lantinga
21512a77b7 Better mingw32-x64 linker flag fix, which doesn't require libtool patch 2013-05-26 22:16:42 -07:00
Sam Lantinga
1990b00614 Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64 2013-05-26 16:29:57 -07:00
Andreas Schiffler
5bffed4b32 Fix bug 1574 - updaterev.sh fails when path contains spaces 2013-03-10 16:28:20 -07:00
Sam Lantinga
8ec12be05a Workaround for NVIDIA bug in glXSwapIntervalEXT.
This works around a bug in NVIDIA's implementation of
       glXSwapIntervalEXT, where it ignores updates to what it *thinks* is the
       current value, even though glXQueryDrawable returns a different value.

       Bug reported to NVIDIA and will hopefully be a part of 319.xx.

       Also a fix for invalidly treating glXSwapIntervalEXT as having an int
       return value (it's void).
2013-02-11 17:02:13 -08:00
Sam Lantinga
a7b1d9f530 Added the test library to fatbuild 2012-12-22 17:24:02 -08:00
Sam Lantinga
144d68b081 The SDK path is no longer needed (and no longer correct) 2012-09-25 20:48:26 -07:00
Sam Lantinga
de7a72dcb2 Whoops, that wasn't supposed to be a symlink. 2012-09-20 22:19:11 -07:00