summaryrefslogtreecommitdiff
path: root/build.sh
diff options
context:
space:
mode:
authorOz Linden <oz@lindenlab.com>2012-07-24 13:11:14 -0400
committerOz Linden <oz@lindenlab.com>2012-07-24 13:11:14 -0400
commitef37311e9e47c26b370a61bb61361ed60f8d878a (patch)
treeea4cb7c83d7ea5e0b328ea3595fd87942bd17c89 /build.sh
parent42cc602732824df9af239de3b5d7ba05b5797106 (diff)
parent8df36196215131cbac961f47bfbd4a1b925548cb (diff)
merge up to latest viewer-pathfinding (including 3.3.4)
Diffstat (limited to 'build.sh')
-rwxr-xr-xbuild.sh20
1 files changed, 19 insertions, 1 deletions
diff --git a/build.sh b/build.sh
index bd71de762c..b5876738e6 100755
--- a/build.sh
+++ b/build.sh
@@ -15,6 +15,12 @@
# * The basic convention is that the build name can be mapped onto a mercurial URL,
# which is also used as the "branch" name.
+check_for()
+{
+ if [ -e "$2" ]; then found_dict='FOUND'; else found_dict='MISSING'; fi
+ echo "$1 ${found_dict} '$2' " 1>&2
+}
+
build_dir_Darwin()
{
echo build-darwin-i386
@@ -59,6 +65,8 @@ pre_build()
&& [ -r "$master_message_template_checkout/message_template.msg" ] \
&& template_verifier_master_url="-DTEMPLATE_VERIFIER_MASTER_URL=file://$master_message_template_checkout/message_template.msg"
+ check_for "Before 'autobuild configure'" ${build_dir}/packages/dictionaries
+
"$AUTOBUILD" configure -c $variant -- \
-DPACKAGE:BOOL=ON \
-DRELEASE_CRASH_REPORTING:BOOL=ON \
@@ -67,7 +75,10 @@ pre_build()
-DGRID:STRING="\"$viewer_grid\"" \
-DLL_TESTS:BOOL="$run_tests" \
-DTEMPLATE_VERIFIER_OPTIONS:STRING="$template_verifier_options" $template_verifier_master_url
- end_section "Pre$variant"
+
+ check_for "After 'autobuild configure'" ${build_dir}/packages/dictionaries
+
+ end_section "Pre$variant"
}
package_llphysicsextensions_tpv()
@@ -99,6 +110,8 @@ build()
if $build_viewer
then
begin_section "Viewer$variant"
+ check_for "Before 'autobuild build'" ${build_dir}/packages/dictionaries
+
"$AUTOBUILD" build --no-configure -c $variant
viewer_build_ok=$?
end_section "Viewer$variant"
@@ -110,6 +123,8 @@ build()
else
echo false >"$build_dir"/build_ok
fi
+ check_for "After 'autobuild configure'" ${build_dir}/packages/dictionaries
+
fi
}
@@ -199,7 +214,10 @@ eval "$("$AUTOBUILD" source_environment)"
# dump environment variables for debugging
env|sort
+check_for "Before 'autobuild install'" ${build_dir}/packages/dictionaries
+
+check_for "After 'autobuild install'" ${build_dir}/packages/dictionaries
# Now run the build
succeeded=true
build_processes=