Commit Graph

155 Commits

Author SHA1 Message Date
David Ludwig
7e19b826ab 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.
2014-11-03 13:07:51 -05:00
David Ludwig
0dfd8a0db4 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
2014-11-03 08:58:49 -05:00
Ryan C. Gordon
88981cee60 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!
2014-08-20 01:21:45 -04:00
Sam Lantinga
8c76c1efb7 Fixed indentation for pnacl configuration 2014-07-07 11:13:19 -07:00
Sam Lantinga
a1d23d0ca8 Removed references to Raspberry Pi 2014-06-21 11:16:26 -07:00
Ryan C. Gordon
edaaaebbb3 Added script for buildbot to use on NaCl target. 2014-06-20 22:38:36 -04:00
Gabriel Jacobo
b97431cd83 Fix another NaCl warning 2014-06-20 11:50:31 -03:00
Gabriel Jacobo
fa3bf63b5c 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
c9de793322 Adds missing Makefile for NACL test and a couple of smaller fixes 2014-06-06 18:33:17 -03:00
Gabriel Jacobo
01a18871e3 Chrome's Native Client backend implementation 2014-06-06 15:45:59 -03:00
Ryan C. Gordon
d53d73b139 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
77d8abca8f Raspberry Pi builds should upload as .tar.xz instead of .tar.bz2.
Makes the archive about 40-50% smaller!
2014-03-28 09:59:32 -04:00
Ryan C. Gordon
9566f222dc Minor comment cleanups in checker-buildbot.sh 2014-03-19 22:43:30 -04:00
Ryan C. Gordon
1a43e1cd11 Don't overwrite SDL_dynapi.h in checker-buildbot.sh. 2014-03-19 16:02:25 -04:00
Ryan C. Gordon
474e5b8972 Make checker-buildbot.sh work just about anywhere Clang is installed. 2014-03-19 15:25:27 -04:00
Ryan C. Gordon
948cac24ff Reenable static builds for now with static analysis. 2014-03-19 13:22:09 -04:00
Ryan C. Gordon
6ccba1adab Buildbot static analysis script: use configure script instead of cmake. 2014-03-19 03:29:14 -04:00
Ryan C. Gordon
be388fc3c6 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
5c1d79d19e Added a script to let buildslaves run Clang static analysis. 2014-03-19 00:58:32 -04:00
Ryan C. Gordon
9930d2d448 Turn off Mir support in the buildbot Raspberry Pi script. 2014-03-10 00:26:40 -04:00
Ryan C. Gordon
73e4d65994 Enable ccache for Raspberry Pi buildbot script. 2013-12-15 00:21:42 -05:00
Gabriel Jacobo
002125434c Fixes building for RPi using --no-undefined 2013-11-17 11:07:55 -03:00
Gabriel Jacobo
43196cb6a4 Updated androidbuild.sh to enable parallel builds and ndk-build parameters 2013-11-13 09:41:21 -03:00
Gabriel Jacobo
515ee991e4 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
dac38675a7 Do a full sysroot for the Raspberry Pi buildbot.
This gets us ALSA and X11, etc.
2013-10-11 10:58:05 -04:00
Ryan C. Gordon
71d755447b Raspberry Pi build script: let caller specify final tarball name. 2013-10-10 02:37:36 -04:00
Ryan C. Gordon
f1448d2dc0 Fixed tarball name in Raspberry Pi build script. 2013-10-10 02:06:14 -04:00
Ryan C. Gordon
a53f9320fc Added script that the buildbot will use for cross-compiling to Raspberry Pi. 2013-10-10 01:46:39 -04:00
Gabriel Jacobo
4eb9f2adce Adds test framework to Android.mk and a simple utility to build Android projects 2013-10-09 10:29:01 -03:00
Gabriel Jacobo
dd33e35895 Raspberry Pi support (also unified UDEV and EVDEV support) 2013-09-28 13:28:19 -03:00
Jørgen P. Tjernø
e1bbdec6b8 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
c6349e124a The standard fat gcc scripts work well with SDL 2.0 2013-06-01 12:53:06 -07:00
Sam Lantinga
34b782c94c Better mingw32-x64 linker flag fix, which doesn't require libtool patch 2013-05-26 22:16:42 -07:00
Sam Lantinga
dd1dfc7c6e Removed dependency on libgcc_s_sjlj-1.dll when building with mingw64 2013-05-26 16:29:57 -07:00
Andreas Schiffler
e7e059a046 Fix bug 1574 - updaterev.sh fails when path contains spaces 2013-03-10 16:28:20 -07:00
Sam Lantinga
fe9e22362c 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
49b2605ee5 Added the test library to fatbuild 2012-12-22 17:24:02 -08:00
Sam Lantinga
5e30e6ba30 The SDK path is no longer needed (and no longer correct) 2012-09-25 20:48:26 -07:00
Sam Lantinga
7c086b08b8 Whoops, that wasn't supposed to be a symlink. 2012-09-20 22:19:11 -07:00
Sam Lantinga
3c718d524e Updated to the latest versions of autotools and config.guess/config.sub
autoconf-2.69
automake-1.12
libtool-2.4.2
2012-09-20 21:13:10 -07:00
Gabriel Jacobo
192f284bdd small improvements in the iosbuild.sh script 2012-06-19 20:16:45 -03:00
Gabriel Jacobo
aaaf916145 Adds a simple command line utility (iosbuild.sh) to create iOS binaries for armv6, armv7 and i386 2012-06-19 18:25:04 -03:00
Sam Lantinga
96b1c69db7 Fixed bug 1410 - fatbuild.sh is broken
Martin Gerhardy 2012-02-03 23:04:45 PST

after the name change from SDL to SDL2 the fatbuild.sh got broken. The attached
patch should fix this.
2012-02-04 10:40:04 -05:00
Sam Lantinga
9a81a7fa24 No man pages for SDL 1.3 2011-11-23 13:25:45 -05:00
Sam Lantinga
cf218dc428 Get the full path for the src directory so auxdir works correctly 2011-10-19 20:23:24 -04:00
Ryan C. Gordon
7cf73953bb Updated fatbuild.sh to match 1.2 version. 2011-09-19 01:49:29 -04:00
Sam Lantinga
19fc9bc29c Removed some extra ppc scaffolding 2011-08-14 17:21:21 -04:00
Sam Lantinga
8f4efe2e53 Fat build doesn't support PPC anymore. 2011-08-14 17:17:34 -04:00
Sam Lantinga
a0a3c805a2 Added a revision number for easy compile-time tests. 2011-02-20 10:42:51 -08:00
Sam Lantinga
6ec7646870 Added a better way to include build rules in the Makefile
Cleaned up dependencies on generating SDL_revision.h
Fixed 'make install' if you are not building from a Mercurial repository
2011-02-18 11:19:34 -08:00
Sam Lantinga
307a90d292 Made it possible to build SDL from a fresh checkout without any additional steps.
The trick is that if you're using configure and you don't want to have SDL_config.h and SDL_revision.h to show up as modified, you need to configure and build from a separate directory.

You also need to include SDL_revision.h directly if you want to use the SDL_REVISION constant, as a side effect of these changes.
2011-02-16 02:37:09 -08:00
Sam Lantinga
46fea0e925 Ozkan Sezer to slouken
The attached small patch updates SDL's libtoolized files for
pe-x86_64 magic, ie win/x64.
2011-01-26 12:23:32 -08:00
Sam Lantinga
9f1db64d7f Updated the snapshot script for Mercurial 2011-01-18 14:21:10 -08:00
Sam Lantinga
aa5a16bfef Don't overwrite SDL_revision.h with a bad revision if Mercurial isn't installed 2010-12-31 08:42:47 -08:00
Sam Lantinga
3297160f92 Return an error code if Mercurial isn't installed 2010-12-31 08:40:09 -08:00
Sam Lantinga
9e7d4065f1 Fixed the gcc include path when building on Mac OS X 10.5 2010-12-01 12:52:48 -08:00
Sam Lantinga
6e365537c9 Allow the SDK path to be rebased
Fixed bug compiling on Mac OS X 10.5
2010-12-01 12:22:29 -08:00
Sam Lantinga
9a5b4a1a84 Add a default revision string if we can't find hg 2010-05-09 19:55:28 -07:00
Ryan C. Gordon
0b60050ea1 Changed revision details to be a string (an hg changeset) instead of an int. 2010-02-28 02:07:40 -05:00
Ryan C. Gordon
d93ecf6a7c Merge r5179:5180 from branches/SDL-1.2: fatbuild.sh Xcode 3.2 fix. 2010-01-10 08:15:25 +00:00
Ryan C. Gordon
b2a30cdcb1 Merged r3808:3809 from branches/SDL-1.2: install_name_tool fix for fatbuild.sh. 2010-01-06 06:44:23 +00:00
Sam Lantinga
489e0472a0 Allow overriding the number of build jobs 2009-12-05 19:46:24 +00:00
Sam Lantinga
806d6e3c33 Update config.guess and config.sub 2009-10-08 07:08:45 +00:00
Sam Lantinga
698d5c125f Updated libtool to version 2.2.6a 2009-10-04 22:21:17 +00:00
Sam Lantinga
5d0a2fec8c Use gcc's built-in dependency generation, thanks to Adam Strzelecki 2009-10-04 03:38:01 +00:00
Sam Lantinga
47ac2f57c8 Oh yeah, need this option for PPC as well now. 2009-09-20 04:13:23 +00:00
Sam Lantinga
95c8f7a517 Merged a cleaned up version of Jiang's code changes from Google Summer of Code 2009 2009-09-19 13:29:40 +00:00
Sam Lantinga
be1f71543b Fix build on native 64-bit architecture 2009-09-05 14:22:12 +00:00
Sam Lantinga
76d691c292 Added 64-bit architectures to the fat build script 2009-09-05 10:39:18 +00:00
Sam Lantinga
31355602c4 Updated fatbuild.sh to build for 10.4u SDK 2009-09-05 09:51:39 +00:00
Sam Lantinga
988ff74920 Updated config.guess and config.sub 2009-03-04 09:35:32 +00:00
Sam Lantinga
1bc362b160 Updated libtool from version 1.5.22 to 2.2.6a, so it works on current QNX 2009-03-04 08:57:30 +00:00
Sam Lantinga
e5150da328 Updated for older versions of subversion 2009-01-19 07:35:52 +00:00
Sam Lantinga
60bcfb1334 Updated the snapshot script for use on the website 2009-01-04 06:32:01 +00:00
Sam Lantinga
76975e844e Make the current revision number available 2009-01-04 05:08:12 +00:00
Sam Lantinga
d3b0c22d33 Updated config scripts 2008-01-03 06:07:30 +00:00
Sam Lantinga
761de03cec Fixed fatbuild.sh script for building on Mac OS X 10.5 2007-12-28 20:42:06 +00:00
Sam Lantinga
fc16af50b2 Removed hermes since it's LGPL and not compatible with a commercial license.
Prepping for using MMX and SSE intrinsics instead of inline assembly.
.. except for memcpy equivalents which only get faster if they can
   exploit the parallelism of loading into multiple SIMD registers. :)
2007-08-15 08:21:10 +00:00
Sam Lantinga
4c2ff36986 Added support for building version.rc in Windows build. 2007-07-16 03:28:48 +00:00
Ryan C. Gordon
2079011aae Merged r2962:2963 from branches/SDL-1.2: wrong SDK path in fatbuild.sh. 2007-02-13 09:58:58 +00:00
Sam Lantinga
c7e5b9cf89 Whoops. :) 2006-10-01 16:07:32 +00:00
Sam Lantinga
1e3df63f46 Almost added Mac OS X nasm support 2006-06-26 05:27:15 +00:00
Sam Lantinga
17a4d6b1d7 Fixed X11 support on Mac OS X Universal build 2006-05-10 05:17:58 +00:00
Sam Lantinga
6fcf0ad85a Fixed execv warning when libtool creates wrapper executables 2006-05-03 16:35:29 +00:00
Sam Lantinga
f1a9e1bc50 [From Sam]
> BTW, when setting up parallel make, I usually use # cpus + 1, so a compile is
> running while disk access is going for another.

[From Ryan]
My experience is that this works well on Linux, but is actually slower on
PowerPC Mac OS X...not sure if that's an architecture issue or a scheduler
issue, though, and haven't tried it on Intel Mac OS X.
2006-04-28 05:46:07 +00:00
Sam Lantinga
0e85088dbf Future proof C++ code 2006-04-28 05:43:58 +00:00
Sam Lantinga
ac89c28826 Fixed bug #206, fatbuild.sh works flawlessly on Intel Macs 2006-04-28 05:38:06 +00:00
Ryan C. Gordon
4845d174e1 fatbuild fixes:
- A change to define CXX in fatbuild, which comforts the configure script a little, even if we don't use C++ anywhere.
- Some code to see how many CPU cores exist and parallelize make across them.
- CFLAGS that apply to both archs are specified seperately (-O3, -pipe, etc)
- -fvisibility=hidden for the gcc4 builds
- a "clean", "clean-ppc" and "clean-x86" command
- Fix to SDL_config_macosx.h for the HAVE_ALLOCA_H thing.

Now builds on an Intel Mac.
2006-04-27 11:18:03 +00:00
Sam Lantinga
4c271db358 Trying to fix fatbuild.sh on intel 2006-04-27 10:21:54 +00:00
Sam Lantinga
791ead7bbf Mac OS X fat build works! :) 2006-04-22 19:17:14 +00:00
Sam Lantinga
8c16f464ea I think this is it... 2006-04-19 03:49:57 +00:00
Sam Lantinga
e4cfa5a25d *** empty log message *** 2006-04-17 14:27:47 +00:00
Sam Lantinga
6bb3137545 Whoops, need the actual flags here 2006-04-17 03:37:30 +00:00
Sam Lantinga
62356dc030 A script to build a fat version of the SDL library... completely untested! 2006-04-14 05:43:04 +00:00
Sam Lantinga
3ca6badbcf Don't hardcode the output directory 2006-04-14 03:56:31 +00:00
Sam Lantinga
c4cb7306d5 Fixed bug #177
The attached patch changes configure.in to use "-framework FOO" instead of
"-Wl,-framework,FOO".

This avoid some issues with certain versions of libtool that do not handle
-framework properly.
Some versions of libtool will try to reorder the two parts of the option, or
render the 2nd part of the argument to the relative path of a non-existent
library.

Note: It is not enough if SDL uses a version of libtool that does this
correctly, because these -framework options show up in "sdl-config --libs".
Hence, some 3rd party apps which still ship with an old libtool have troubles
compiling under Mac OS X.
2006-03-24 05:11:51 +00:00
Sam Lantinga
1bb14e405b Updated to libtool-1.5.22 2006-03-21 10:20:44 +00:00
Sam Lantinga
84f5e115fd CFLAGS are separate from EXTRA_CFLAGS
Fixed iconv.h detection on Cygwin32
2006-03-14 02:46:26 +00:00
Sam Lantinga
5b4e4f9c01 Clean up temporary files. I'm not sure how this got removed, but whatever... 2006-03-11 20:16:20 +00:00
Sam Lantinga
26df4ca527 Date: Wed, 01 Mar 2006 10:14:31 +0000
From: "alan buckley"
Subject: Re: Updating SDL for RISC OS

I've attached a zip file with three diffs to get SDL to build on RISC OS.

configure.in.diff and makedeps.sh.diff have been modified so that they
can build the assembler file in video/riscos. You may want to double
check these as I don't know a lot about unix shell programming.
(I've tested them cross-compiling on cygwin).

sdlsysthread.diff is the changes required to SDL_systhread.c for RISC
OS. As you suspected with these changes in place you can delete the
RISC OS specific threading code in thread/riscos.

I've also renamed SDL_riscosASM.s to SDL_riscosASM.S, but I'm never
quite sure how to rename files in CVS, so if you could to this it would
be appreciated.
2006-03-02 03:24:20 +00:00