Update scons script to allow partial builds #52

Closed
opened 2017-02-09 00:47:00 +00:00 by CelticMinstrel · 2 comments
CelticMinstrel commented 2017-02-09 00:47:00 +00:00 (Migrated from github.com)

At the moment, the scons script is all-or-nothing. It compiles all three programs and the test suite, copies all assets over to an install directory (within the build directory), runs the tests, and possibly even builds an install package (I was planning for that, can't remember if it was committed). There's no option to skip the tests, for example. There's no option to build just the scenario editor. There's also no option in the Linux branch to build with GCC instead of clang; I don't think there's an option for GCC or clang when building on Windows.

All of this should be fixed. You should be able to type things like scons scened and get just the scenario editor (and, obviously, anything it depends on, which includes the base scenario and all assets).

At the moment, the scons script is all-or-nothing. It compiles all three programs and the test suite, copies all assets over to an install directory (within the build directory), runs the tests, and possibly even builds an install package (I was planning for that, can't remember if it was committed). There's no option to skip the tests, for example. There's no option to build just the scenario editor. There's also no option in the Linux branch to build with GCC instead of clang; I don't think there's an option for GCC _or_ clang when building on Windows. All of this should be fixed. You should be able to type things like `scons scened` and get just the scenario editor (and, obviously, anything it depends on, which includes the base scenario and all assets).
retropipes commented 2017-02-13 15:38:06 +00:00 (Migrated from github.com)

Related, the scons build script fails on macOS with a resource temporarily unavailable error; restarting the script results in a successful build. This happens after the disk image gets created, during what I assume is the finishing up phase of building.

Related, the scons build script fails on macOS with a resource temporarily unavailable error; restarting the script results in a successful build. This happens after the disk image gets created, during what I assume is the finishing up phase of building.
CelticMinstrel commented 2017-02-13 16:58:47 +00:00 (Migrated from github.com)

I've seen these errors on Travis too. No idea what to make of them. Googling suggests it might be something to do with non-blocking IO or something, but I don't really know. Since it's only temporary and doesn't even happen on my computer, and I managed to find a way to avoid it on Travis, I don't really feel motivated to track down the cause.

I've seen these errors on Travis too. No idea what to make of them. Googling suggests it might be something to do with non-blocking IO or something, but I don't really know. Since it's only temporary and doesn't even happen on my computer, and I managed to find a way to avoid it on Travis, I don't really feel motivated to track down the cause.
Sign in to join this conversation.
No description provided.